Re: 4 pgcrypto regressions failures - 1 unsolved

Marko Kreen <marko@l-t.ee>

From: Marko Kreen <marko@l-t.ee>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2005-07-12T19:51:58Z
Lists: pgsql-hackers

Attachments

Seems like down mail server ate first mail.

Here it is again.

On Tue, Jul 12, 2005 at 12:51:44PM +0300, Marko Kreen wrote:
> 
> Hopefully the last regression failure.
> 
> - openssl.c used EVP_MAX_KEY_LENGTH / EVP_MAX_IV_LENGTH
>   constants for buffers, which are small in case of
>   OpenSSL 0.9.6x and internal AES.  (I tested it with
>   0.9.7 only, so I didn't notice...)
> - Also I noticed that the wrapper macros for CBC mode
>   do not update IV buffer.
> - As the previous mistake was not picked up by current
>   regression tests, I added a 'longer than a block'
>   test to all ciphers.
> 
> -- 
> marko