Re: [PATCH 0/4] Introduce OSCCA SM3 hash algorithm

2021-11-29 Thread Tianjia Zhang
Hi Niels, On 11/28/21 6:03 PM, Niels Möller wrote: Tianjia Zhang writes: You can refer to the ISO specification here: https://www.iso.org/standard/67116.html Or PDF version: https://github.com/alipay/tls13-sm-spec/blob/master/sm-en-pdfs/sm3/GBT.32905-2016.SM3-en.pdf I see that RFC 8998

Re: [PATCH 0/4] Introduce OSCCA SM3 hash algorithm

2021-11-28 Thread Niels Möller
Tianjia Zhang writes: > You can refer to the ISO specification here: > https://www.iso.org/standard/67116.html > Or PDF version: > https://github.com/alipay/tls13-sm-spec/blob/master/sm-en-pdfs/sm3/GBT.32905-2016.SM3-en.pdf I see that RFC 8998 refers to

Re: [PATCH 0/4] Introduce OSCCA SM3 hash algorithm

2021-11-25 Thread Tianjia Zhang
Hi Niels, SM2/3/4 is a series of algorithms, which are all standards formulated by the China Cryptography Administration. They are widely used in China. At present, they are all ISO international standards. We will also consider supporting SM2 and SM4 algorithms in the future. On 11/26/21

Re: [PATCH 0/4] Introduce OSCCA SM3 hash algorithm

2021-11-25 Thread Niels Möller
Tianjia Zhang writes: > Add OSCCA SM3 secure hash generic hash algorithm, described > in OSCCA GM/T 0004-2012 SM3. Thanks, I've had a first quick look, and it looks nice. I don't know much about this hash function, though. A few questions: * Is there some reasonably authoritative English

[PATCH 0/4] Introduce OSCCA SM3 hash algorithm

2021-11-23 Thread Tianjia Zhang
Add OSCCA SM3 secure hash generic hash algorithm, described in OSCCA GM/T 0004-2012 SM3. Tianjia Zhang (4): Add OSCCA SM3 hash algorithm testsuite: add test for SM3 hash function hmac: add support for SM3 hash function nettle-benchmark: bench SM3 hashes Makefile.in |