What are the limits on PEM_write_RSAPrivateKey and EVP_CIPHER? Is it
possible to use 256-bit security levels with authentication tags?
I could not get "AES-256-HMAC-SHA-256" or "AES-256-CBC-HMAC-SHA1" to
work, and I could not get "AES-256-GCM" to work.
"AES-256-HMAC-SHA-256" and "AES-256-HMAC-SHA-384":
EVP_get_cipherbyname failed.
"AES-256-CBC-HMAC-SHA1", I got error 0x23077006 on PEM_write_RSAPrivateKey :
error:0D0A706C:asn1 encoding routines:PKCS5_pbe2_set_iv:cipher has
no object identifier
"AES-256-GCM", I got error 0x23077006 on PEM_write_RSAPrivateKey:
error:23077006:PKCS12 routines:PKCS12_pbe_crypt:EVP lib
Looking at the PKCS 12 spec, GCM mode is probably not be supported.
But it appears SHA-256 and SHA-1 are supported (Appendix A, p. 13).
Thanks in advance.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]