0 for encryption or decryption?
On 7 January 2013 21:19, Ken Goldman <kgold...@us.ibm.com> wrote: > I don't think it's documented. I pass in 0 and it works. > > My notes also say that ivec is altered, so make a copy if you have to > preserve the original value. > > > On 1/7/2013 10:26 AM, jeetendra gangele wrote: >> >> Hi All, >> >> If I use the below function >> >> void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out, >> size_t length, const AES_KEY *key, >> unsigned char *ivec, int *num) >> >> What will be the value for num (last parameter) for encryption and >> decryption >> >> 0 = decryptio >> 1=encryption >> Anybody has any idea? > > > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org