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?
On 3/22/07, Gabriel Maganis <[EMAIL PROTECTED]> wrote:
Hello,
I believe using the ECB mode for encryption does not make use of
Hello,
I believe using the ECB mode for encryption does not make use of
an IV but EVP_EncryptUpdate takes an IV as a parameter. Is passing
NULL to it the correct thing to do? i.e.
EVP_EncryptUpdate(&ctx, ciphertext, &ctlen, plaintext, ptlen)
Thanks