bignum to evp key

Srinivas, Saketh (c) ssrinivas at rbbn.com
Fri Mar 4 07:28:45 UTC 2022


HI,

i have EvpKeyPair from GenerateEvpKeyPair(dh_p, dh_g, &pEvpKeyPair)

How can I get the public key and priv key from keypair. The below function gives them as bignums but not Evp_pkey.

(EVP_PKEY_get_bn_param(pEvpKeyPair, OSSL_PKEY_PARAM_PUB_KEY, &pubKey)

I want pub key and priv keys as evp_pkey.

Thanks,
Saketh.


Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential and/or proprietary for the sole use of the intended recipient. Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20220304/e33d7922/attachment.htm>


More information about the openssl-users mailing list