> From: [email protected] On Behalf Of Muhammed Shafeek
> Sent: Monday, 02 May, 2011 04:48
> Hi Peter,
> Add padding for CBC mode encryption.
> Or u can use CFB mode. EVB_bf_cfb()
Unnecessary. EVP_bf_cbc (or EVP_*_cbc) already does PKCS5 padding.
(If you directly call e.g. BF_cbc *then* you need to do padding.)
The real fix as diagnosed later is use the correct ciphertext length.
> -Shafeek
> On Sat, Apr 30, 2011 at 7:26 PM, derleader mail <[email protected]>
wrote:
> Error Whilst DecryptFinal
>
19041:error:06065064:lib(6):func(101):reason(100):evp_enc.c:325:
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]