Stephen Durdin wrote:

I admit that I'm new to this technology so please bear with me.
> We want to use FIPS OpenSSL for all of our "over-the-wire" security
> and the AES_encrypt and AES_decrypt APIs for local password security.
> I created an AES256 key using "openssl genrsa -aes256 -out aes256key.pem",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This does *not* generate an AES256 key, but, as "genrsa" says, an RSA key.

> thus the PEM file.  I want to get this file into an AES_KEY structure so I
> can use it to encrypt/decrypt passwords, etc.  Any suggestions?

Ciao,
Richard
--
Dr. Richard W. Könning
Fujitsu Siemens Computers GmbH
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to