This new module can be used to compute SM3 message digest of
files or memory blocks according to the Standards Press of
China GB/T 32905-2016 and specification SM3 cryptographic hash
algorithm.
The following changes are applied:
modules/crypto/sm3: New file.
lib/sm3.c: Likewise.
lib/sm3.h: Likewise.
m4/sm3.m4: Likewise.
modules/crypto/sm3-tests: Likewise.
tests/test-sm3.c: Likewise.
MODULES.html.sh (Cryptographic computations (low-level)): List them.
This new module can be used to compute SM3 message digest of files or memory blocks according to the Standards Press of China GB/T 32905-2016 and specification SM3 cryptographic hash algorithm.
The following changes are applied:
Signed-off-by: Jia Zhang qianyue.zj@alibaba-inc.com