Add new constant GCRY_MD_SM3 for crypto hash SM3.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 24 Oct 2017 06:43:41 +0000 (15:43 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 24 Oct 2017 06:43:41 +0000 (15:43 +0900)
* src/gcrypt.h.in (GCRY_MD_SM3): New.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
src/gcrypt.h.in

index 76d9b1d..b55657f 100644 (file)
@@ -1244,7 +1244,8 @@ enum gcry_md_algos
     GCRY_MD_BLAKE2S_256   = 322,
     GCRY_MD_BLAKE2S_224   = 323,
     GCRY_MD_BLAKE2S_160   = 324,
-    GCRY_MD_BLAKE2S_128   = 325
+    GCRY_MD_BLAKE2S_128   = 325,
+    GCRY_MD_SM3           = 326,
   };
 
 /* Flags used with the open function.  */