On Tue, May 08, 2012, Bin Lu wrote: > > How do you solve the problem like the following without directly accessing to > this object: > > I have one EVP_PKEY contains the ECDSA private key and another EVP_PKEY > contains the public key, and I need to determine if the public key and the > private key are the right pair. What is the API should I use to achieve that? >
EVP_PKEY_cmp(), see the manual page for details. 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