summaryrefslogtreecommitdiff
path: root/include/crypto/dsa.h
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2020-01-12 11:32:12 +1000
committerShane Lontis <shane.lontis@oracle.com>2020-01-12 11:32:12 +1000
commite683582bf37de45a9512aea7ff33b9a3ebdf07f4 (patch)
tree3a8c7e4f3ae908816ef57c15e56b619daa1430ac /include/crypto/dsa.h
parente0e68f9e34585084038fba768fb2eecb5dd1ddf3 (diff)
downloadopenssl-new-e683582bf37de45a9512aea7ff33b9a3ebdf07f4.tar.gz
Add dsa signature alg to fips provider
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/10615)
Diffstat (limited to 'include/crypto/dsa.h')
-rw-r--r--include/crypto/dsa.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/crypto/dsa.h b/include/crypto/dsa.h
new file mode 100644
index 0000000000..efd4acf6fc
--- /dev/null
+++ b/include/crypto/dsa.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright 2019 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 <openssl/dsa.h>
+
+DSA *dsa_new(OPENSSL_CTX *libctx);
+int dsa_sign_int(OPENSSL_CTX *libctx, int type, const unsigned char *dgst,
+ int dlen, unsigned char *sig, unsigned int *siglen, DSA *dsa);