Re: [openssl-users] OpenSSL AES encryption using AES_* functions and EVP_* functions

2015-01-01 Thread Purushotham Nayak
2014 2:45 PM Subject: RE: [openssl-users] OpenSSL AES encryption using AES_* functions and EVP_* functions > From: openssl-users On Behalf Of Purushotham Nayak > Sent: Wednesday, December 31, 2014 12:22 > I have some data that was encrypted using the openssl (`AES_*`) functions. >

Re: [openssl-users] OpenSSL AES encryption using AES_* functions and EVP_* functions

2014-12-31 Thread Dave Thompson
> From: openssl-users On Behalf Of Purushotham Nayak > Sent: Wednesday, December 31, 2014 12:22 > I have some data that was encrypted using the openssl (`AES_*`) functions. > I want update this code to use the newer (EVP_*) functions which are > FIPS compliant. But I should be able to decrypt da

[openssl-users] OpenSSL AES encryption using AES_* functions and EVP_* functions

2014-12-31 Thread Purushotham Nayak
I have some data that was encrypted using the openssl (`AES_*`) functions. I want update this code to use the newer (EVP_*) functions which are FIPS compliant. But I should be able to decrypt data that was encrypted using the old code. I've pasted below both the old and the new code. The encrypt