[PATCH] sm3: implement SM3 hash algorithm
andre at amorim.me
Wed Oct 18 02:57:24 CEST 2017
Thanks Genghis Khan
On 17 October 2017 at 03:24, Jia Zhang <qianyue.zj at alibaba-inc.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 于 2017/10/17 上午9:03, NIIBE Yutaka 写道:
> > "张佳(乾越)" <qianyue.zj at alibaba-inc.com> wrote:
> >> Hi Werner,
> > Sorry, I'm not Werner, but another (old 老头儿) developer of
> > libgcrypt.
> Thanks for your great comments!
> >> 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/
> I just created it. See https://dev.gnupg.org/D449.
> >> 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.
> To be honest, I'm not quite sure it. But at least we are seeing it is
> also for civil use. I don't want to see the thing gets complicated,
> cause my original intention is quite simple. I see my TPM supports SM3
> but there is no sm3sum program in coreutils to verify the hash value.
> Just contribute SM3 hash function to the famous open source community
> and make it easy to use.
> I'm not familiar with SM2, but I confirm I will submit it if SM3 is
> >> 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
> > Please read libgcrypt/doc/HACKING, the "How to contribute"
> > section, especially the "License policy" subsection.
> I'm doing this. Copyright assignment is fine to me.
> -----BEGIN PGP SIGNATURE-----
> -----END PGP SIGNATURE-----
> Gcrypt-devel mailing list
> Gcrypt-devel at gnupg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gcrypt-devel