> I'm having trouble duplicating the decryption in Crypto++. I suspect
> the problem is with the Key and IV dervied in EVP_KeyToBytes.
Found it... I was overwriting the existing IV with the IV produced in
EVP_KeyToBytes.
For those interested, the call of interest is in PEM_ASN1_write_bio
(from pem
I have an encrypted private key in PEM format created with `openssl
genrsa -aes128 -out key.pem` (using a password of 'test' when
prompted).
According to http://www.openssl.org/docs/crypto/pem.html (under PEM
ENCRYPTION FORMAT):
The encryption key is determined using EVP_bytestokey(),
u