]> Savannah Git Hosting - gnulib.git/commit
New module: crypto/sm3
authorJia Zhang <qianyue.zj@alibaba-inc.com>
Sat, 7 Oct 2017 08:31:27 +0000 (04:31 -0400)
committerBruno Haible <bruno@clisp.org>
Sat, 28 Oct 2017 20:09:39 +0000 (22:09 +0200)
commit12ad1d142313ffcdbe61e33d10b84a51395783b8
tree99ca929027a35336be25aac4394aa8677495b35a
parent038d1385d424bafab4c6e5e8305b6ed3121ef4e9
New module: crypto/sm3

This new module can be used to compute SM3 message digest of files or
memory blocks according to the specification GM/T 004-2012
Cryptographic Hash Algorithm SM3, published by State Cryptography
Administration, China.

The official SM3 cryptographic hash algorithm specification is
available at
http://www.sca.gov.cn/sca/xwdt/2010-12/17/content_1002389.shtml

* lib/sm3.h: Declare the APIs of sm3 module.
* lib/sm3.c: Implement SM3 hash algorithm.
* m4/sm3.m4: m4 file for sm3 module.
* modules/crypto/sm3: Define sm3 module.
* tests/test-sm3.c: Implement SM3 test case.
* modules/crypto/sm3-tests: Define sm3 test module.
* MODULES.html.sh: List sm3 module.
ChangeLog
MODULES.html.sh
lib/sm3.c [new file with mode: 0644]
lib/sm3.h [new file with mode: 0644]
m4/sm3.m4 [new file with mode: 0644]
modules/crypto/sm3 [new file with mode: 0644]
modules/crypto/sm3-tests [new file with mode: 0644]
tests/test-sm3.c [new file with mode: 0644]