于 2017/10/11 下午5:13, Bruno Haible 写道: > 张佳(乾越) wrote: >>> Currently, I only implement SM3 in gnulib. I will implement it >>> in libgcrypt and openssl later. > > Yes, for a crypto algorjthm to be widely usable in GNU, it needs > to be available both in GNUTLS (via libgcrypt) and openssl. > > Pádraig Brady wrote: >> Being available in gnulib is more plausible, though I'd like to >> see it in the more specific openssl library first. > > 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 I plan to add addition commits to use SM3 functions exported by libgcrypt, and current implementation is used as baseline for review. Is it good for you? Thanks, Jia > > Bruno >