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                    [email protected]
Automated List Manager                           [email protected]

Reply via email to