EVP_EncryptUpdate output buffer length

2013-03-22 Thread steveRX04
I'm very new to using OpenSSL so I'm hoping someone could please confirm whether my understanding of how the EVP_encryptUpdate() and EVP_EncryptFinal() methods work in relation to the required size of the output buffer. I'm using DES so the cipher block size is 8 bytes. Padding is enabled. I

Re: EVP_EncryptUpdate output buffer length

2013-03-22 Thread Matt Caswell
On 21 March 2013 21:04, steveRX04 srh...@hotmail.com wrote: I'm using DES so the cipher block size is 8 bytes. Padding is enabled. DES? Really? Are you sure you want to use that? It is no longer considered secure. I know that if the input buffer is 14 bytes, then by calling