[openssl.org #330] Abuse of assert() in crypto/aes/

2002-11-12 Thread Richard Levitte via RT

I just committed a change for this, can you try it please?

[bodo - Mon Nov  4 12:59:15 2002]:

 The AES library (0.9.7-dev, 0.9.8-dev) abuses assert() to check
 for invalid function parameters.
 
 For aes_cbc.c, this includes the case where 'length' is not
 a multiple of AES_BLOCK_SIZE.  For consistency with other ciphers,
 the library should not require 'length' to be a multiple
 of the block size.


-- 
Richard Levitte
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



[openssl.org #330] Abuse of assert() in crypto/aes/

2002-11-04 Thread Bodo Moeller via RT

The AES library (0.9.7-dev, 0.9.8-dev) abuses assert() to check
for invalid function parameters.

For aes_cbc.c, this includes the case where 'length' is not
a multiple of AES_BLOCK_SIZE.  For consistency with other ciphers,
the library should not require 'length' to be a multiple
of the block size.
__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]