]> Savannah Git Hosting - gnulib.git/commitdiff
crypto/sm3: Add overview documentation to the .h file.
authorBruno Haible <bruno@clisp.org>
Sat, 28 Oct 2017 20:25:30 +0000 (22:25 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 28 Oct 2017 20:25:30 +0000 (22:25 +0200)
* lib/sm3.h: Add comments.

ChangeLog
lib/sm3.h

index e66c144a0273aa735dd4dd430e8b31ee5392aafe..ddaa32ccfbb5753216406fe75a77f334c974c5b2 100644 (file)
--- 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
index ae075548616b4988e91d50e9ecd49fbae8bd86eb..a14dc52184c78c1fd4a7d8c9c38b87b8ed7bb54b 100644 (file)
--- a/lib/sm3.h
+++ b/lib/sm3.h
    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