Setting a group to an existing EVP_PKEY in OpenSSL 3
amartin at xtec.com
amartin at xtec.com
Mon Oct 24 21:31:42 UTC 2022
Hi,
How can I set a GROUP to an existing EC type EVP_PKEY in OpenSSL 3?
In 1.0.2 I was using this code having the EC_KEY:
EC_KEY_set_group(eckey, EC_GROUP_new_by_curve_name(nid));
In OpenSSL 3 still EC_GROUP_new_by_curve_name(nid) can be used, but I don't
know how to go from that to set it on the existing key.
Thanks,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20221024/914d573e/attachment.htm>
More information about the openssl-users
mailing list