Tianjia Zhang <[email protected]> writes: > Hi Niels, > >> Would you mind writing a short description of the algorithm for the >> manual? I think it should go under "Miscellaneous hash functions". Would >> be nice with some brief background on this hash function (origin, >> intended applications, when and where it's useful) plus reference docs >> for the defined constants and functions. >> > > SM3 is a cryptographic hash function standard adopted by the > government of the People's Republic of China, which was issued by the > Cryptography Standardization Technical Committee of China on December > 17, 2010. The corresponding standard is "GM/T 0004-2012 "SM3 > Cryptographic Hash Algorithm"". > > SM3 algorithm is a hash algorithm in ShangMi cryptosystems. SM3 is > mainly used for digital signature and verification, message > authentication code generation and verification, random number > generation, etc.
Thanks for the backround. > Its algorithm is public. Combined with the public key > algorithm SM2 and the symmetric encryption algorithm SM4, it can be > used in various data security and network security scenarios such as > the TLS 1.3 protocol, disk encryption, standard digital certificates, > and digital signatures. I think the above two sentences could be removed or shortened. I think the mention of TLS, with reference to RFC 8998, is the part most relevant for the Nettle manual. Besides that I think your text provides right level of detail. > According to the State Cryptography > Administration of China, its security and efficiency are equivalent to > SHA-256. This is relevant too. > Thanks for your reminder, the above is the information I provided. Do > I need to submit it to the document through PATCH? If you can prepare a patch for nettle.texinfo, that would be ideal. 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
