On Sun, Mar 02, 2014, Jeffrey Walton wrote:

> Is there a list of EC curves to NIDs?
> 
> http://www.openssl.org/docs/crypto/EC_KEY_new.html and
> http://www.openssl.org/docs/crypto/EC_GROUP_new.html discuss the
> curves and the NIDs, but don't provide a list.
> 
> Or better, is there a function like EC_CURVE_by_name that returns a
> nid given a curve like "P-521".

In addition to the functions mentioned by others OpenSSL 1.0.2 includes a
function EC_curve_nist2nid() which converts the commonly use NIST names like
"P-256" into the corresponding NID.

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
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to