On Thu, Jul 07, 2005, Ladar Levison wrote:

> 
> 
> The code below works when I use the RSA key generation functions, but when 
> I try
> to generate an ECC key, and use it, it doesn't work. I am using 0.9.8 beta 
> 6.
> 
>       EVP_SealInit(&ctx, EVP_aes_256_cbc(), ek, &out_len, &iv[0], &pkey, 
>       npubk);
>       

That's your problem there. Key transport (which EVP_SealInit uses) can only be
done with RSA 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
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to