classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view


ratheesh kannoth

I am trying to pass explicit IV during TLS 1.2 encryption.  I copied
explicit IV to "ivec" before below function call. But IV on the
encrypted output is totally different.  Can any one help ?

void aesni_cbc_encrypt(const unsigned char *in,
                       unsigned char *out,
                       size_t length,
                       const AES_KEY *key, unsigned char *ivec, int enc);