[PATCH] sm3: implement SM3 hash algorithm

NIIBE Yutaka gniibe at fsij.org
Tue Oct 17 03:03:33 CEST 2017


"张佳(乾越)" <qianyue.zj at alibaba-inc.com> wrote:
> Hi Werner,

Sorry, I'm not Werner, but another (old 老头儿) developer of libgcrypt.

> This is the review request for SM3 hash algorithm. Plz see the commit
> header and patch for more details.

To track this, I created a ticket at: https://dev.gnupg.org/T3454


Could you please send the patch to gcrypt-devel?  Or, you can upload
your patch to:

    https://dev.gnupg.org/differential/

> SM3 hash algorithm is already accepted and supported by TPM 2.0 spec.
> So it is necessary to implement this algorithm in a famous open source
> software for checking the digest value computed by TPM.

Out of curiosity, is it mandated by the goverment?  If so, how about
SM2?

When I read FIDO U2F document in this April, I learned about optional
SM2 and SM3.

> Plz refer to this PR (https://github.com/gpg/libgcrypt/pull/2) for code
> review.

We don't have a practice to use GitHub, which might require non-free
JavaScript.

Please read libgcrypt/doc/HACKING, the "How to contribute" section,
especially the "License policy" subsection.
-- 



More information about the Gcrypt-devel mailing list