summaryrefslogtreecommitdiffstats
path: root/providers/defltprov.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-08-11 14:54:18 +0100
committerPauli <paul.dale@oracle.com>2020-08-29 17:40:10 +1000
commitb27b31b62846d21a915acfd45c92ba82d3cd5666 (patch)
tree5f8af27467cf8fd638646925980e5218dbf2244a /providers/defltprov.c
parent6f0bd6ca1c675503962e4580e54ceecd078a8331 (diff)
Extend the provider MAC bridge for SIPHASH
The previous commits added support for HMAC into the provider MAC bridge. We now extend that for SIPHASH too. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12637)
Diffstat (limited to 'providers/defltprov.c')
-rw-r--r--providers/defltprov.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c
index c5b3407894..aaf1cfe6b0 100644
--- a/providers/defltprov.c
+++ b/providers/defltprov.c
@@ -365,6 +365,7 @@ static const OSSL_ALGORITHM deflt_signature[] = {
{ "ECDSA", "provider=default", ecdsa_signature_functions },
#endif
{ "HMAC", "provider=default", mac_hmac_signature_functions },
+ { "SIPHASH", "provider=default", mac_siphash_signature_functions },
{ NULL, NULL, NULL }
};
@@ -394,6 +395,7 @@ static const OSSL_ALGORITHM deflt_keymgmt[] = {
{ "HKDF", "provider=default", kdf_keymgmt_functions },
{ "SCRYPT:id-scrypt", "provider=default", kdf_keymgmt_functions },
{ "HMAC", "provider=default", mac_keymgmt_functions },
+ { "SIPHASH", "provider=default", mac_keymgmt_functions },
{ NULL, NULL, NULL }
};