<div dir="ltr">Thanks Genghis Khan</div><div class="gmail_extra"><br><div class="gmail_quote">On 17 October 2017 at 03:24, Jia Zhang <span dir="ltr"><<a href="mailto:qianyue.zj@alibaba-inc.com" target="_blank">qianyue.zj@alibaba-inc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<br>
<br>
<br>
于 2017/10/17 上午9:03, NIIBE Yutaka 写道:<br>
> "张佳(乾越)" <<a href="mailto:qianyue.zj@alibaba-inc.com">qianyue.zj@alibaba-inc.com</a>> wrote:<br>
>> Hi Werner,<br>
><br>
> Sorry, I'm not Werner, but another (old 老头儿) developer of<br>
> libgcrypt.<br>
<br>
Thanks for your great comments!<br>
<br>
><br>
>> This is the review request for SM3 hash algorithm. Plz see the<br>
>> commit header and patch for more details.<br>
><br>
> To track this, I created a ticket at: <a href="https://dev.gnupg.org/T3454" rel="noreferrer" target="_blank">https://dev.gnupg.org/T3454</a><br>
><br>
><br>
> Could you please send the patch to gcrypt-devel?  Or, you can<br>
> upload your patch to:<br>
><br>
> <a href="https://dev.gnupg.org/differential/" rel="noreferrer" target="_blank">https://dev.gnupg.org/<wbr>differential/</a><br>
<br>
I just created it. See <a href="https://dev.gnupg.org/D449" rel="noreferrer" target="_blank">https://dev.gnupg.org/D449</a>.<br>
<br>
><br>
>> SM3 hash algorithm is already accepted and supported by TPM 2.0<br>
>> spec. So it is necessary to implement this algorithm in a famous<br>
>> open source software for checking the digest value computed by<br>
>> TPM.<br>
><br>
> Out of curiosity, is it mandated by the goverment?  If so, how<br>
> about SM2?<br>
><br>
> When I read FIDO U2F document in this April, I learned about<br>
> optional SM2 and SM3.<br>
<br>
To be honest, I'm not quite sure it. But at least we are seeing it is<br>
also for civil use. I don't want to see the thing gets complicated,<br>
cause my original intention is quite simple. I see my TPM supports SM3<br>
but there is no sm3sum program in coreutils to verify the hash value.<br>
Just contribute SM3 hash function to the famous open source community<br>
and make it easy to use.<br>
<br>
I'm not familiar with SM2, but I confirm I will submit it if SM3 is<br>
approved.<br>
<br>
><br>
>> Plz refer to this PR (<a href="https://github.com/gpg/libgcrypt/pull/2" rel="noreferrer" target="_blank">https://github.com/gpg/<wbr>libgcrypt/pull/2</a>)<br>
>> for code review.<br>
><br>
> We don't have a practice to use GitHub, which might require<br>
> non-free JavaScript.<br>
><br>
> Please read libgcrypt/doc/HACKING, the "How to contribute"<br>
> section, especially the "License policy" subsection.<br>
<br>
I'm doing this. Copyright assignment is fine to me.<br>
<br>
Jia<br>
<br>
><br>
-----BEGIN PGP SIGNATURE-----<br>
<br>
iQIzBAEBCAAdFiEEoCC9pk5gdr326J<wbr>drPMRi5TbAeCkFAlnladYACgkQPMRi<wbr>5TbA<br>
eCmnnQ//<wbr>fmPvCtzNOSaUSX3i87rvWz9fbk6Ohv<wbr>FNz4xKKryHbe2wsEXAiuhTtFxo<br>
KQrRgrKBC1cKq5VN6MgCE59i5jYn2s<wbr>CBOST/<wbr>KeQr8esVwR1QyZBs8hlVi0lGn9Gr<br>
mC8C/<wbr>GSKcqLVNuoHjfYk6iFkEx3Zh7oA5xE<wbr>fC1Yq1bbAmnlIbkEQWaUJA85ZeADJ<br>
4BFsb1bUvZzc0YhBKtmV0FdxN5pOpz<wbr>Zaww81mXhNdxaTH8yAc1nJ6rpo4VQg<wbr>Fs5d<br>
0xkmB5qeFRtToA7HKK8zUsyT1FlOJ3<wbr>KYnL3bHoGIN5rJafKUcS17HziHS2on<wbr>b42c<br>
RUgzdbvtRThBC/<wbr>yE6sc95qGXrmM4dRJn5AdNFpXCUmHT<wbr>K29V7gmp5t3DjJgtoSV+<br>
Es/nPps2WTI+2Zp+<wbr>i5chwPGGrljq73LcuCPE9sijEVfqmT<wbr>V1rgsFmqy13Qk0vdQX<br>
MrkRGvG6M6dRAi4MJx6HFIgtcONlgB<wbr>yaFBvdamfpRHso4rdFzKA4Cy/S6+<wbr>fHEngl<br>
uitJmxnqHQYCXG0dDzUJfvrCtkaxKP<wbr>WDgd+<wbr>KmdDN9lVtMlEkeVVA6Zbay2tjB6f8<br>
FjHataRSyj+zy+cp9vLAz8jIzI+<wbr>EN6/yvDr6JOz/<wbr>w2fCI1pLwQSAtsepoLuawAMz<br>
ogHPXvC0jnh8483eHIjcSva0aRAKAH<wbr>/b9P1FVChd4Sx/hQ3VzpA=<br>
=xk8n<br>
-----END PGP SIGNATURE-----<br>
<br>
______________________________<wbr>_________________<br>
Gcrypt-devel mailing list<br>
<a href="mailto:Gcrypt-devel@gnupg.org">Gcrypt-devel@gnupg.org</a><br>
<a href="http://lists.gnupg.org/mailman/listinfo/gcrypt-devel" rel="noreferrer" target="_blank">http://lists.gnupg.org/<wbr>mailman/listinfo/gcrypt-devel</a><br>
</blockquote></div><br></div>