Re: what happens to the IV for aes-128-ecb

2007-03-23 Thread Gabriel Maganis
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

what happens to the IV for aes-128-ecb

2007-03-22 Thread Gabriel Maganis
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