]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - providers/common/der/der_rsa.h.in
PROV: Add DERlib support for RSA
[thirdparty/openssl.git] / providers / common / der / der_rsa.h.in
diff --git a/providers/common/der/der_rsa.h.in b/providers/common/der/der_rsa.h.in
new file mode 100644 (file)
index 0000000..3f7cc0e
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License").  You may not use
+ * this file except in compliance with the License.  You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#include "internal/der.h"
+
+/* Well known OIDs precompiled */
+{-
+    $OUT = oids_to_c::process_leaves('providers/common/der/RSA.asn1',
+                                     { dir => $config{sourcedir},
+                                       filter => \&oids_to_c::filter_to_H });
+-}
+
+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);