PROV SERIALIZER: add support for writing RSA keys
authorRichard Levitte <levitte@openssl.org>
Mon, 18 Nov 2019 00:56:22 +0000 (01:56 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 29 Nov 2019 19:55:16 +0000 (20:55 +0100)
commit677add38003b37cab06ebc59260c8d28745bb948
tree18924eb82a179b335bafea3afae640bbf37709aa
parentcb58d81e68c72ab0128e0a5fc6faa007f8632acd
PROV SERIALIZER: add support for writing RSA keys

This also adds the missing accessor RSA_get0_pss_params(), so those
parameters can be included in the PKCS#8 data structure without
needing to know the inside of the RSA structure.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10394)
12 files changed:
crypto/rsa/rsa_lib.c
doc/man3/RSA_get0_key.pod
include/openssl/rsa.h
include/openssl/types.h
providers/defltprov.c
providers/implementations/include/prov/implementations.h
providers/implementations/serializers/build.info
providers/implementations/serializers/serializer_local.h
providers/implementations/serializers/serializer_rsa.c [new file with mode: 0644]
providers/implementations/serializers/serializer_rsa_priv.c [new file with mode: 0644]
providers/implementations/serializers/serializer_rsa_pub.c [new file with mode: 0644]
util/libcrypto.num