Hi, This is the review request for SM3 hash algorithm. SM3 hash algorithm is already accepted and supported by TPM 2.0 spec. See page 284 in TPM 2.0 spec part 1 (https://trustedcomputinggroup.org/wp-content/uploads/TPM-Rev-2.0-Part-1-Ar chitecture-01.38.pdf)
Currently, I only implement SM3 in gnulib. I will implement it in libgcrypt and openssl later. Plz refer to the following PRs for code review. - For the new gnulib module crypto/sm3 https://github.com/coreutils/gnulib/pull/3/commits - For the new program sm3sum https://github.com/coreutils/coreutils/pull/12/commits Thanks, Jia