golang/go

proposal: x/crypto/sm3: new package

Closed this issue · 3 comments

rsc commented

It seems like this is not ready for x/crypto yet: (1) it's still a draft, not an RFC, and (2) it doesn't have widespread use. We are not aiming to collect all possible crypto algorithms in x/crypto, only the ones that have widespread use to justify the Go team maintaining it.

Of course, it would be great to have in the broader Go ecosystem and we encourage you to post it in a different place, perhaps in an appropriate location on GitHub.

That's not true. SM3 is used in current TPM 2.0 devices world wide. It's a chinese hash algorithm which is allowed to use in China. Multiple crypto libraries implement it.

yeasy commented

+1 to let golang support more crypto standards including SM and others.