Tianjia Zhang <[email protected]> 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
http://www.gmbz.org.cn/upload/2018-07-24/1532401392982079739.pdf, which
looks like the same pdf file. I find it a bit odd that the document
carries no information on author or organization.

> The specification does not define the reference implementation of the
> algorithm. This series of patches mainly refers to the SM3
> implementation in libgcrypt and gnulib.

It looks like the gcrypt implementation is licensed under LGPLv2.1 or
later (see https://github.com/gpg/libgcrypt/blob/master/cipher/sm3.c),
so should be fine to copy into nettle (in contrast to gnulib code, which
appears to be GPLv3, and would need explicit permission from copyright
holder before relicensing). But if it is a derived work of libgcrypt, in
the sense of copyright law, the copyright header needs to acknowledge
that, ie,

   Copyright (C) 2017 Jia Zhang
   Copyright (C) 2021 Tianjia Zhang <[email protected]>

Or did you write both versions, with Jia being an alternate form of
your name?

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to