On Thu, Mar 14, 2013, Leon Brits wrote:

> Hi List,
> 
> I just want to verify: Elliptic curve functions are not encapsulated by the
> EVP functions - correct?  If so, what is the
> EVP_PKEY_CTX_set_ec_paramgen_curve_nid function then used for?  If NOT so,
> then please help with an example since I could only find the normal
> EC_{KEY,GROUP}* type of example code?
> 
> I am required to perform ECDSA and was hoping I could use EVP which is now
> working for DSA and RSA (sans the padding problem).
> 

Yes you can use EVP for EC though not all the functionality is available from
the EVP interface at present.

The only real quirk is that when you generate a key the  named curve ASN1
option isn't set by default for keys and can't be set by a ctrl. You can
extract the key and set that manually though.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to