Hi Jia, > > Indeed, we don't have many crypto experts on the gnulib mailing > > lists. Therefore, I too would like the crypto experts on the > > libgcrypt or openssl mailing lists to evaluate the SM3 algorithm > > and your code first, before we can accept it in gnulib. > > libgcrypt has merged SM3 hash function. See > https://dev.gnupg.org/rC4423bf3cc4432b9bfe801ff74cb05e6f0dd3eccd
Or [1]. Thanks. I see it wasn't an easy discussion [2], but now it's over, so I'm awaiting your gnulib patches. > I plan to add addition commits to use SM3 functions exported by > libgcrypt, and current implementation is used as baseline for review. Yes, good. Bruno [1] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=shortlog;h=refs/heads/master [2] https://lists.gnupg.org/pipermail/gcrypt-devel/2017-October/thread.html