summaryrefslogtreecommitdiffstats
path: root/providers/defltprov.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2024-07-24 15:37:08 +0200
committerTomas Mraz <tomas@openssl.org>2024-08-30 11:54:13 +0200
commitbb2be4f066b73890207d19ed46f86cfb8e0f3ef0 (patch)
tree9a4755a7f7750760413f58829757cc8476abdc19 /providers/defltprov.c
parentendecode_test.c: Fix !fips v3.0.0 check (diff)
downloadopenssl-bb2be4f066b73890207d19ed46f86cfb8e0f3ef0.tar.xz
openssl-bb2be4f066b73890207d19ed46f86cfb8e0f3ef0.zip
Refactor OpenSSL 'DSA' EVP_SIGNATURE to also include DSA+hash composites
(in the code, "sigalg" is used to refer to these composite algorithms, which is a nod to libcrypto and libssl, where that term is commonly used for composite algorithms) Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24992)
Diffstat (limited to 'providers/defltprov.c')
-rw-r--r--providers/defltprov.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c
index 06c5ae50ff..380db83675 100644
--- a/providers/defltprov.c
+++ b/providers/defltprov.c
@@ -397,6 +397,15 @@ static const OSSL_ALGORITHM deflt_rands[] = {
static const OSSL_ALGORITHM deflt_signature[] = {
#ifndef OPENSSL_NO_DSA
{ PROV_NAMES_DSA, "provider=default", ossl_dsa_signature_functions },
+ { PROV_NAMES_DSA_SHA1, "provider=default", ossl_dsa_sha1_signature_functions },
+ { PROV_NAMES_DSA_SHA224, "provider=default", ossl_dsa_sha224_signature_functions },
+ { PROV_NAMES_DSA_SHA256, "provider=default", ossl_dsa_sha256_signature_functions },
+ { PROV_NAMES_DSA_SHA384, "provider=default", ossl_dsa_sha384_signature_functions },
+ { PROV_NAMES_DSA_SHA512, "provider=default", ossl_dsa_sha512_signature_functions },
+ { PROV_NAMES_DSA_SHA3_224, "provider=default", ossl_dsa_sha3_224_signature_functions },
+ { PROV_NAMES_DSA_SHA3_256, "provider=default", ossl_dsa_sha3_256_signature_functions },
+ { PROV_NAMES_DSA_SHA3_384, "provider=default", ossl_dsa_sha3_384_signature_functions },
+ { PROV_NAMES_DSA_SHA3_512, "provider=default", ossl_dsa_sha3_512_signature_functions },
#endif
{ PROV_NAMES_RSA, "provider=default", ossl_rsa_signature_functions },
#if !defined(OPENSSL_NO_RMD160) && !defined(FIPS_MODULE)