Skip to content

Commit 03d9cc2

Browse files
committed
fixup! Add SM4 block cipher
Fix the initial comment in src/ciphers/sm4.c
1 parent ab130b3 commit 03d9cc2

File tree

1 file changed

+16
-23
lines changed

1 file changed

+16
-23
lines changed

src/ciphers/sm4.c

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
1-
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2-
*
3-
* LibTomCrypt is a library that provides various cryptographic
4-
* algorithms in a highly modular and flexible manner.
5-
*
6-
* The library is free for all purposes without any express
7-
* guarantee it works.
8-
*/
9-
10-
/*
11-
* @brief SM4 block cipher algorithm
12-
* @date Oct 2018
13-
* @author Chao Wei
14-
*
15-
* SM4 (formerly SMS4) is a block cipher used in the Chinese National
16-
* Standard for Wireless LAN WAPI (Wired Authentication and Privacy
17-
* Infrastructure).
18-
* --from wikipedia:
19-
* https://en.wikipedia.org/wiki/SM4_(cipher)
20-
*
21-
* This implimentation follows Chinese National Standard
22-
* GM/T 0002-2012
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2+
/* SPDX-License-Identifier: Unlicense */
3+
4+
/**
5+
@brief SM4 block cipher algorithm
6+
@date Oct 2018
7+
@author Chao Wei
8+
9+
SM4 (formerly SMS4) is a block cipher used in the Chinese National
10+
Standard for Wireless LAN WAPI (Wired Authentication and Privacy
11+
Infrastructure).
12+
--from wikipedia:
13+
https://en.wikipedia.org/wiki/SM4_(cipher)
14+
15+
This implimentation follows Chinese National Standard
16+
GM/T 0002-2012
2317
*/
2418
#include "tomcrypt_private.h"
2519

@@ -493,4 +487,3 @@ const struct ltc_cipher_descriptor sm4_desc = {
493487
/* ref: $Format:%D$ */
494488
/* git commit: $Format:%H$ */
495489
/* commit time: $Format:%ai$ */
496-

0 commit comments

Comments
 (0)