]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add d2i_KeyParams/i2d_KeyParams API's.
authorShane Lontis <shane.lontis@oracle.com>
Mon, 27 May 2019 11:52:37 +0000 (21:52 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Mon, 27 May 2019 11:55:10 +0000 (21:55 +1000)
commit6aa2e59e1c52761cc5ad60170106118d7c1aa090
tree08a30dc60ca00a1c70ae5ed18d6c4888036e0e56
parent324954640e7fcb2b4a26cb5ae7923a6e5e79ee14
Add d2i_KeyParams/i2d_KeyParams API's.

Convert EVP_PKEY Parameters to/from binary.
This wraps the low level i2d/d2i calls for DH,DSA and EC key parameters
in a similar way to Public and Private Keys.
The API's can be used by applications (including openssl apps) that only
want to use EVP_PKEY without needing to access low level key API's.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8903)
12 files changed:
crypto/asn1/asn1_err.c
crypto/asn1/build.info
crypto/asn1/d2i_param.c [new file with mode: 0644]
crypto/asn1/i2d_param.c [new file with mode: 0644]
crypto/err/openssl.txt
doc/man3/d2i_PrivateKey.pod
include/openssl/asn1err.h
include/openssl/evp.h
test/build.info
test/evp_pkey_dparams_test.c [new file with mode: 0644]
test/recipes/30-test_evp_pkey_dparam.t [new file with mode: 0644]
util/libcrypto.num