Tianjia Zhang tianjia.zhang@linux.alibaba.com 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 reference for the algorithm? I checked wikipedia, and it only links to an old internet draft, https://tools.ietf.org/id/draft-oscca-cfrg-sm3-02.html
* The name "sm3" is a bit short, would it make sense to add some family-prefix, maybe "oscca_sm3"?
* Do you have some examples of protocols or applications that specify the use of sm3?
* The implementation, it's written from scratch, or is it based on some reference implementation?
Regards, /Niels