diff options
author | Richard Levitte <levitte@openssl.org> | 2020-05-02 13:25:52 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-05-14 12:16:35 +0200 |
commit | 36a2a551d7dd5628a3533f7f23b1f3827f9535f7 (patch) | |
tree | 1ff09f9dc5a1728e760a7d4b9f451e3db2a3535b /providers/common/der/der_rsa.h.in | |
parent | 2275ff656c6d2043b40663686ec6627613d68318 (diff) | |
download | openssl-new-36a2a551d7dd5628a3533f7f23b1f3827f9535f7.tar.gz |
PROV: Refactor the RSA DER support
We separate out the NIST arc OIDs to a separate file, so it can be
re-used, and also the DIGEST OIDs.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11710)
Diffstat (limited to 'providers/common/der/der_rsa.h.in')
-rw-r--r-- | providers/common/der/der_rsa.h.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/providers/common/der/der_rsa.h.in b/providers/common/der/der_rsa.h.in index 3f7cc0e029..53f6227825 100644 --- a/providers/common/der/der_rsa.h.in +++ b/providers/common/der/der_rsa.h.in @@ -7,15 +7,20 @@ * https://www.openssl.org/source/license.html */ +#include "crypto/rsa.h" #include "internal/der.h" /* Well known OIDs precompiled */ {- - $OUT = oids_to_c::process_leaves('providers/common/der/RSA.asn1', + $OUT = oids_to_c::process_leaves('providers/common/der/NIST.asn1', + 'providers/common/der/DIGESTS.asn1', + 'providers/common/der/RSA.asn1', { dir => $config{sourcedir}, filter => \&oids_to_c::filter_to_H }); -} +int DER_w_RSASSA_PSS_params(WPACKET *pkt, int tag, + const RSA_PSS_PARAMS_30 *pss); int DER_w_algorithmIdentifier_RSA(WPACKET *pkt, int tag, RSA *rsa); int DER_w_algorithmIdentifier_RSA_with(WPACKET *pkt, int tag, RSA *rsa, int mdnid); |