diff options
author | Richard Levitte <levitte@openssl.org> | 2019-11-18 01:57:56 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-11-29 20:55:16 +0100 |
commit | 045e51cbf49a0773f7d045180d9d8b8b73d70e90 (patch) | |
tree | 66ecb41fa5c05d8afdba3fa551e5ced5366d683d /providers/defltprov.c | |
parent | 677add38003b37cab06ebc59260c8d28745bb948 (diff) | |
download | openssl-045e51cbf49a0773f7d045180d9d8b8b73d70e90.zip openssl-045e51cbf49a0773f7d045180d9d8b8b73d70e90.tar.gz openssl-045e51cbf49a0773f7d045180d9d8b8b73d70e90.tar.bz2 |
PROV SERIALIZER: add support for writing DH keys and parameters
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10394)
Diffstat (limited to 'providers/defltprov.c')
-rw-r--r-- | providers/defltprov.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c index 84e5803..b8e96f9 100644 --- a/providers/defltprov.c +++ b/providers/defltprov.c @@ -399,6 +399,25 @@ static const OSSL_ALGORITHM deflt_serializer[] = { { "RSA", "default=yes,format=pem,type=public", rsa_pub_pem_serializer_functions }, + { "DH", "default=yes,format=text,type=private", + dh_priv_text_serializer_functions }, + { "DH", "default=yes,format=text,type=public", + dh_pub_text_serializer_functions }, + { "DH", "default=yes,format=text,type=domainparams", + dh_param_text_serializer_functions }, + { "DH", "default=yes,format=der,type=private", + dh_priv_der_serializer_functions }, + { "DH", "default=yes,format=der,type=public", + dh_pub_der_serializer_functions }, + { "DH", "default=yes,format=der,type=domainparams", + dh_param_der_serializer_functions }, + { "DH", "default=yes,format=pem,type=private", + dh_priv_pem_serializer_functions }, + { "DH", "default=yes,format=pem,type=public", + dh_pub_pem_serializer_functions }, + { "DH", "default=yes,format=pem,type=domainparams", + dh_param_pem_serializer_functions }, + { NULL, NULL, NULL } }; |