CESI also publishes a complete white pager documenting OID assignment in details. See http://www.cesi.cn/201612/1688.html and download the pdf. Search "10197" and I see the following info:
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Oct 25 2017
Oct 24 2017
Thanks for your great help! Once merged, I will continue the contributions to coreutils and gnulib in order to make sm3sum program eventually available.
V2 Changelog:
Thanks for your quick response.
It's good that we have the OID already.
I read the Chinese document briefly, I realized that its basically equivalent to the IETF draft.Please update your sm.c so that it includes Example 2 in the document.
Then, I will merge the code into the master of libgcrypt git repo.After that, I will add the code for OID, examining its status. Does it work for you?
IIUC, it's defined by the agency in 2010, and then it was published as the national standard: GM/T 0004-2012 SM3密码杂凑算法
For the implementation, it looks good for me.
I have suggestions and some requests.Suggestions:
- I think that the all test vectors in draft-shen-sm3-hash should be in sm3.c.
If I read your code correctly, the "abc" in Example 1 is there. I think that the vector in Example 2 in the document should be also provided.
Oct 17 2017
This is the updated patch with sm3.c. The others are not touched.
In T3454#104310, @gniibe wrote:This is my note.
If it is intended to be used to OpenPGP, GCRY_MD_SM3 should be assigned in OpenPGP standard.
In T3454#104309, @gniibe wrote:Thank you. The diff doesn't include sm3.c. Could you please update?
This is the review request link: https://dev.gnupg.org/D449