changeset 38907:52ddf7a4ff18

crypto/sm3: Add overview documentation to the .h file. * lib/sm3.h: Add comments.
author Bruno Haible <bruno@clisp.org>
date Sat, 28 Oct 2017 22:25:30 +0200
parents 65b2e926ad93
children aa19959eb698
files ChangeLog lib/sm3.h
diffstat 2 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Oct 07 04:31:27 2017 -0400
+++ b/ChangeLog	Sat Oct 28 22:25:30 2017 +0200
@@ -1,3 +1,8 @@
+2017-10-28  Bruno Haible  <bruno@clisp.org>
+
+	crypto/sm3: Add overview documentation to the .h file.
+	* lib/sm3.h: Add comments.
+
 2017-10-28  Jia Zhang  <qianyue.zj@alibaba-inc.com>
 
 	New module: crypto/sm3
--- a/lib/sm3.h	Sat Oct 07 04:31:27 2017 -0400
+++ b/lib/sm3.h	Sat Oct 28 22:25:30 2017 +0200
@@ -15,6 +15,15 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+/* This module can be used to compute SM3 message digest of files or
+   memory blocks according to the specification GM/T 004-2012
+   Cryptographic Hash Algorithm SM3, published by State Cryptography
+   Administration, China.
+
+   The official SM3 cryptographic hash algorithm specification is
+   available at
+   <http://www.sca.gov.cn/sca/xwdt/2010-12/17/content_1002389.shtml>. */
+
 #ifndef SM3_H
 # define SM3_H 1