summaryrefslogtreecommitdiff
path: root/providers/common/der/der_rsa.h.in
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-05-02 13:25:52 +0200
committerRichard Levitte <levitte@openssl.org>2020-05-14 12:16:35 +0200
commit36a2a551d7dd5628a3533f7f23b1f3827f9535f7 (patch)
tree1ff09f9dc5a1728e760a7d4b9f451e3db2a3535b /providers/common/der/der_rsa.h.in
parent2275ff656c6d2043b40663686ec6627613d68318 (diff)
downloadopenssl-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.in7
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);