From: Nikos Mavrogiannopoulos Date: Sat, 9 Apr 2016 11:38:47 +0000 (+0200) Subject: hash: corrected the textual description of hashes X-Git-Tag: gnutls_3_5_0~181 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=31dcbdee67949c93fd0fc58718285c688d24c099;p=thirdparty%2Fgnutls.git hash: corrected the textual description of hashes --- 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},