Gabriel Maganis wrote:
Correction, the IV is taken as a parameter on init i.e. would

EVP_EncryptInit(&ctx, EVP_aes_128_ecb(), key, NULL)

be the correct thing to do?


ECB mode doesn't need IV. So providing no IV in *_init() wud be the right thing to do. (easier way to find out, just try it in code :)


-jb
--
mathematician, n.:
Some one who believes imaginary things appear right before your i's.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to