[PATCH] doc: add GCRY_MD_SM3, GCRY_MAC_HMAC_SM3 and GCRY_MAC_GOST28147_IMIT

Jussi Kivilinna jussi.kivilinna at iki.fi
Sat Jun 13 23:54:56 CEST 2020


* doc/gcrypt.texi: add GCRY_MD_SM3, GCRY_MAC_HMAC_SM3 and
GCRY_MAC_GOST28147_IMIT.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna at iki.fi>
---
 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
+ at 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.
 
+ at 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
+ at 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.
 
+ at 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.
 
+ at 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
 
-- 
2.25.1




More information about the Gcrypt-devel mailing list