SM3: Add SM3 hash function
authorJack Lloyd <jack.lloyd@ribose.com>
Wed, 25 Oct 2017 17:19:02 +0000 (13:19 -0400)
committerRonald Tse <ronald.tse@ribose.com>
Sun, 5 Nov 2017 23:21:11 +0000 (07:21 +0800)
commita0c3e4fa9089f571ff4b406cb914d0a504847b10
tree46bc0fccfcc317d2572145d3a13acf029523973d
parentcf72c7579201086cee303eadcb60bd28eff78dd9
SM3: Add SM3 hash function

SM3 is a secure hash function which is part of the Chinese
"Commercial Cryptography" suite of algorithms which use is
required for certain commercial applications in China.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4616)
20 files changed:
CHANGES
Configure
INSTALL
config
crypto/evp/build.info
crypto/evp/c_alld.c
crypto/evp/m_sm3.c [new file with mode: 0644]
crypto/objects/obj_dat.h
crypto/objects/obj_mac.num
crypto/objects/objects.txt
crypto/sm3/build.info [new file with mode: 0644]
crypto/sm3/sm3.c [new file with mode: 0644]
crypto/sm3/sm3_locl.h [new file with mode: 0644]
doc/man3/SM3.pod [new file with mode: 0644]
include/openssl/evp.h
include/openssl/obj_mac.h
include/openssl/sm3.h [new file with mode: 0644]
test/recipes/30-test_evp_data/evpdigest.txt
util/libcrypto.num
util/mkdef.pl