From 6c571bfda6409d7d668f5d44cea0c6c31e2688be Mon Sep 17 00:00:00 2001 From: Jussi Kivilinna Date: Sun, 14 Jun 2020 00:49:46 +0300 Subject: doc: add GCRY_MD_SM3, GCRY_MAC_HMAC_SM3 and GCRY_MAC_GOST28147_IMIT * doc/gcrypt.texi: add GCRY_MD_SM3, GCRY_MAC_HMAC_SM3 and GCRY_MAC_GOST28147_IMIT. -- Signed-off-by: Jussi Kivilinna --- doc/gcrypt.texi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi index ad5ada87..4eaf6d8d 100644 --- a/doc/gcrypt.texi +++ b/doc/gcrypt.texi @@ -3157,6 +3157,7 @@ are also supported. @cindex MD2, MD4, MD5 @cindex TIGER, TIGER1, TIGER2 @cindex HAVAL +@cindex SM3 @cindex Whirlpool @cindex BLAKE2b-512, BLAKE2b-384, BLAKE2b-256, BLAKE2b-160 @cindex BLAKE2s-256, BLAKE2s-224, BLAKE2s-160, BLAKE2s-128 @@ -3324,6 +3325,9 @@ See RFC 7693 for the specification. This is the BLAKE2s-128 algorithm which yields a message digest of 16 bytes. See RFC 7693 for the specification. +@item GCRY_MD_SM3 +This is the SM3 algorithm which yields a message digest of 32 bytes. + @end table @c end table of hash algorithms @@ -3703,6 +3707,7 @@ provided by Libgcrypt. @cindex HMAC-RIPE-MD-160 @cindex HMAC-MD2, HMAC-MD4, HMAC-MD5 @cindex HMAC-TIGER1 +@cindex HMAC-SM3 @cindex HMAC-Whirlpool @cindex HMAC-Stribog-256, HMAC-Stribog-512 @cindex HMAC-GOSTR-3411-94 @@ -3816,6 +3821,10 @@ algorithm. This is HMAC message authentication algorithm based on the BLAKE2s-128 hash algorithm. +@item GCRY_MAC_HMAC_SM3 +This is HMAC message authentication algorithm based on the SM3 hash +algorithm. + @item GCRY_MAC_CMAC_AES This is CMAC (Cipher-based MAC) message authentication algorithm based on the AES block cipher algorithm. @@ -3904,6 +3913,9 @@ key and one-time nonce. This is Poly1305-SEED message authentication algorithm, used with key and one-time nonce. +@item GCRY_MAC_GOST28147_IMIT +This is MAC construction defined in GOST 28147-89 (see RFC 5830 Section 8). + @end table @c end table of MAC algorithms -- cgit v1.2.1