On 3/28/2012 3:01 AM, Prashanth kumar N wrote:
Here is the modified program
[snip]
18 AES_KEY ectx;
19 AES_KEY dectx;
20
21 AES_set_encrypt_key(key, 256, &ectx);
22 AES_encrypt(text, out, &ectx);
23
24 printf("encryp data = %s\n", out);
25
26 AES_set_encrypt_key(key, 256, &dectx);
AES_set_decrypt_key()
27 AES_decrypt(out, decout, &dectx);
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]