RE: AES encryption block size

2012-03-28 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of (me) > Sent: Wednesday, 28 March, 2012 20:45 > AES-OFB or AES-CFB or AES-OFB are stream modes [with no padding] Sorry; I meant to write -OFB or -CFB or -CTR. While I'm correcting, -GCM is also a (new) stream mode, implemented in 1.0.1; it d

RE: AES encryption block size

2012-03-28 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Alex Chen > Sent: Wednesday, 28 March, 2012 17:50 > When the padding is disabled by setting the padding size to 0 > in EVP_CIPHER_CTX_set_padding(), is the output data block > size the same as the input block size? > Will this reduce the encry

Re: AES encryption block size

2012-03-28 Thread Jakob Bohm
On 3/28/2012 11:49 PM, Alex Chen wrote: When the padding is disabled by setting the padding size to 0 in EVP_CIPHER_CTX_set_padding(), is the output data block size the same as the input block size? Will this reduce the encryption strength? Padding doesn't change the block size at all. Paddin