Hi Steve,

Thanks for your quick response.

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", 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?

Thanks,

Steve Durdin

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dr. Stephen Henson
Sent: Thursday, May 18, 2006 7:53 PM
To: [email protected]
Subject: Re: Reading AES private key from PEM file


On Thu, May 18, 2006, Stephen Durdin wrote:

> Does anyone know how to read a decrypted AES256 key from a PEM file into an 
> AES_KEY structure.

There is no PEM format that I'm aware of for symmetric keys.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to