summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2017-10-28 22:25:30 +0200
committerBruno Haible <bruno@clisp.org>2017-10-28 22:25:30 +0200
commit9b41ec9be365ebe3065d64ddb4e91f61bd84dc72 (patch)
treedcdb085920c5dd855b83af101502dc70cdfc2055
parent12ad1d142313ffcdbe61e33d10b84a51395783b8 (diff)
downloadgnulib-9b41ec9be365ebe3065d64ddb4e91f61bd84dc72.tar.gz
crypto/sm3: Add overview documentation to the .h file.
* lib/sm3.h: Add comments.
-rw-r--r--ChangeLog5
-rw-r--r--lib/sm3.h9
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e66c144a02..ddaa32ccfb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/lib/sm3.h b/lib/sm3.h
index ae07554861..a14dc52184 100644
--- a/lib/sm3.h
+++ b/lib/sm3.h
@@ -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