Skip to content

Migrating i2o_ECPublicKey and o2i_ECPublicKey to OpenSSL 3.x #23820

Answered by t8m
AustinMayerhofer asked this question in Q&A
Discussion options

You must be logged in to vote

The easiest equivalent of i2o_ECPublicKey()/o2i_ECPublicKey() is to use EVP_PKEY_get1_encoded_public_key()/EVP_PKEY_set1_encoded_public_key().

See https://www.openssl.org/docs/manmaster/man3/EVP_PKEY_get1_encoded_public_key.html

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by t8m
Comment options

You must be logged in to vote
4 replies
@t8m
Comment options

@AustinMayerhofer
Comment options

@t8m
Comment options

@t8m
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants