summaryrefslogtreecommitdiff
path: root/lib/algorithms
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-04-09 13:38:47 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-04-09 13:42:25 +0200
commit31dcbdee67949c93fd0fc58718285c688d24c099 (patch)
treedbd354af1bdcaabc4e5d8f8d74cf64f92a576983 /lib/algorithms
parent43462a722b10c854afa6ff4bc491a9f62f027953 (diff)
downloadgnutls-31dcbdee67949c93fd0fc58718285c688d24c099.tar.gz
hash: corrected the textual description of hashes
Diffstat (limited to 'lib/algorithms')
-rw-r--r--lib/algorithms/mac.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/algorithms/mac.c b/lib/algorithms/mac.c
index ded8e833d4..8a8ea4f312 100644
--- a/lib/algorithms/mac.c
+++ b/lib/algorithms/mac.c
@@ -36,13 +36,13 @@ static const mac_entry_st hash_algorithms[] = {
64},
{"SHA224", HASH_OID_SHA224, GNUTLS_MAC_SHA224, 28, 28, 0, 0, 1,
64},
- {"SHA3_256", HASH_OID_SHA3_256, GNUTLS_MAC_SHA3_256, 32, 32, 0, 0, 1,
+ {"SHA3-256", HASH_OID_SHA3_256, GNUTLS_MAC_SHA3_256, 32, 32, 0, 0, 1,
136},
- {"SHA3_384", HASH_OID_SHA3_384, GNUTLS_MAC_SHA3_384, 48, 48, 0, 0, 1,
+ {"SHA3-384", HASH_OID_SHA3_384, GNUTLS_MAC_SHA3_384, 48, 48, 0, 0, 1,
104},
- {"SHA3_512", HASH_OID_SHA3_512, GNUTLS_MAC_SHA3_512, 64, 64, 0, 0, 1,
+ {"SHA3-512", HASH_OID_SHA3_512, GNUTLS_MAC_SHA3_512, 64, 64, 0, 0, 1,
72},
- {"SHA3_224", HASH_OID_SHA3_224, GNUTLS_MAC_SHA3_224, 28, 28, 0, 0, 1,
+ {"SHA3-224", HASH_OID_SHA3_224, GNUTLS_MAC_SHA3_224, 28, 28, 0, 0, 1,
144},
{"UMAC-96", NULL, GNUTLS_MAC_UMAC_96, 12, 16, 8, 0, 1, 0},
{"UMAC-128", NULL, GNUTLS_MAC_UMAC_128, 16, 16, 8, 0, 1, 0},