Modify i2d_PublicKey() so it can get an EC public key as a blob
authorRichard Levitte <levitte@openssl.org>
Tue, 23 Feb 2021 21:39:39 +0000 (22:39 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 27 Feb 2021 15:14:09 +0000 (16:14 +0100)
commit8ab9c4ddc41830a9bd1be36a8e37ee2abc57e886
treea5ecac48f22731b8c5a4405749d5a6f483bb5b62
parent3d364726606424f760211b5015920410ea9c8f0d
Modify i2d_PublicKey() so it can get an EC public key as a blob

This introduces the encoder output type "blob", to be used for
anything that outputs an unstructured blob of data.

Fixes #14258

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/14291)
crypto/asn1/i2d_evp.c