Dr. Stephen Henson wrote:
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.
This might be a dumb question, but what is `key transport` and why doesn't ECC
support it?
Is this is a case where OpenSSL implementation of ECC doesn't support it, or
where ECC isn't a suitable algorithim to use for envelope encryption?
L~
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]