Zhi Guan
|
92818b3fe5
|
Update SM4_CBC_CTX and SM4_CTR_CTX
To support UADK and other third-party SM4 implementations
|
2024-01-03 10:17:31 +08:00 |
|
Zhi Guan
|
f53f69d1e2
|
Create soft_sdftest.c
|
2023-12-30 22:15:25 +08:00 |
|
Zhi Guan
|
43396395d6
|
Add sm3_xmss command
|
2023-12-28 10:19:53 +08:00 |
|
Zhi Guan
|
39e2f9f657
|
Add software SDF implementation
The soft_sdf will replace sdf_dummy library for buiding testing apps.
|
2023-12-28 10:18:09 +08:00 |
|
Zhi Guan
|
1def752948
|
Update sm4_cbc_mac.h
|
2023-12-25 10:26:20 +08:00 |
|
Zhi Guan
|
81c3538020
|
Add SM3-XMSS post-quantum signature
The current configure is for testing only, the XMSS is configured to use SHA-256, not SM3.
|
2023-12-18 09:56:43 +08:00 |
|
Zhi Guan
|
4d7057b62b
|
Update digest.c
|
2023-12-18 09:54:13 +08:00 |
|
Zhi Guan
|
fc01dd522d
|
Update sm3.c
Fix help message
|
2023-12-17 21:10:41 +08:00 |
|
Zhi Guan
|
34af2f4809
|
Update sm3hmac.c
Add `-in_str` option
|
2023-12-17 21:10:20 +08:00 |
|
Zhi Guan
|
dc4c21f4ec
|
Make AES optional and remove "Public API" from headers
|
2023-12-17 16:52:42 +08:00 |
|
Zhi Guan
|
04cbd81651
|
Update CMakeLists.txt
both CMakeLists.txt and source use ENABLE_XXX
|
2023-12-17 16:33:51 +08:00 |
|
Zhi Guan
|
2c988b008b
|
Update demos
To build demos, run
`cmake .. -DENABLE_DEMOS=ON`
|
2023-12-16 11:42:10 +08:00 |
|
Zhi Guan
|
508206223b
|
Update CMakeLists.txt and make demos optional
|
2023-12-16 10:35:46 +08:00 |
|
Zhi Guan
|
94fc0aacab
|
Update sm4test.c
Fix the memcpy() bug on Windows VMs.
|
2023-12-14 15:29:06 +08:00 |
|
Zhi Guan
|
5814112e22
|
Fix gmssl RPATH issue in Mac
|
2023-12-14 11:48:48 +08:00 |
|
Zhi Guan
|
b3352b8d86
|
Add -in_str option to gmssl sm3 command
|
2023-12-14 11:46:51 +08:00 |
|
Zhi Guan
|
6b358a4dee
|
Update README.md
|
2023-12-13 21:03:13 +08:00 |
|
Zhi Guan
|
6923ffc84c
|
Add sm4_tbox.c as default SM4 C implementation
SM4 TBOX use a larger lookup table.
|
2023-12-13 20:58:40 +08:00 |
|
Zhi Guan
|
6ed99b4ee5
|
Update sm3.h
|
2023-12-13 20:49:47 +08:00 |
|
Zhi Guan
|
85e81d2864
|
Update sm3_kdf.c
Do not use endian.h
|
2023-12-13 20:49:44 +08:00 |
|
Zhi Guan
|
07b077d66b
|
Update sm3_hmac.c
Do not clean `ctx` in `sm3_hmac_finish` by default
|
2023-12-13 20:48:54 +08:00 |
|
Zhi Guan
|
257ba6bcdb
|
Update SM4
Simple SM4 cipher implementation in `sm4.c`
|
2023-12-13 20:26:57 +08:00 |
|
Zhi Guan
|
93a371113f
|
Delete rc4test.c
|
2023-12-13 20:19:21 +08:00 |
|
Zhi Guan
|
8106b9b2b7
|
Delete md5test.c
|
2023-12-13 20:19:18 +08:00 |
|
Zhi Guan
|
ecb7e1c248
|
Remove DES
|
2023-12-13 20:19:16 +08:00 |
|
Zhi Guan
|
687ecb9f49
|
Remove RC4
|
2023-12-13 20:16:05 +08:00 |
|
Zhi Guan
|
908ece9d0a
|
Remove MD5
|
2023-12-13 20:14:19 +08:00 |
|
Zhi Guan
|
7db4991b4d
|
Update sm3.c
Simple C implementation
|
2023-12-13 20:09:47 +08:00 |
|
Zhi Guan
|
1d6c763afb
|
Update version to 3.1.2-Dev
|
2023-12-13 20:02:27 +08:00 |
|
Zhi Guan
|
d655c06b3a
|
Update version
v3.1.1
|
2023-12-12 16:05:31 +08:00 |
|
Zhi Guan
|
7dbf43ec0f
|
Update cmake.yml
|
2023-12-12 14:48:00 +08:00 |
|
Zhi Guan
|
651d9902eb
|
fix cmsencrypt.c mem leak
|
2023-12-12 14:23:46 +08:00 |
|
Zhi Guan
|
10e02215e3
|
Fix cms.c mem leak
|
2023-12-12 14:23:33 +08:00 |
|
Zhi Guan
|
8974e0f2ea
|
Remove unused files
|
2023-10-27 16:24:29 +08:00 |
|
Zhi Guan
|
01ade02dfa
|
Update Versions
v3.1.1-pr1
|
2023-10-24 08:57:16 +08:00 |
|
Zhi Guan
|
5a30e8d878
|
Update pem.c
|
2023-10-23 20:34:04 +08:00 |
|
Zhi Guan
|
117914df09
|
Update CMakeLists.txt
|
2023-10-23 20:33:58 +08:00 |
|
Zhi Guan
|
18d1fcf3a4
|
Update CMakeLists.txt
|
2023-10-18 17:17:07 +08:00 |
|
Zhi Guan
|
6291599307
|
Update pem.c
|
2023-10-18 09:39:31 +08:00 |
|
Zhi Guan
|
0620acae2f
|
Delete sm2_z256.h
|
2023-10-17 23:19:36 +08:00 |
|
Zhi Guan
|
bebb915043
|
Update rand.h
|
2023-10-17 23:19:33 +08:00 |
|
Zhi Guan
|
739c4dbced
|
Update CMakeLists.txt
|
2023-10-17 23:12:47 +08:00 |
|
Zhi Guan
|
9b5a2e6812
|
Do not clean ctx in <digest>_finish
|
2023-10-17 23:12:43 +08:00 |
|
Zhi Guan
|
0da7bbc22d
|
Update CMakeLists.txt
|
2023-10-17 22:43:56 +08:00 |
|
Zhi Guan
|
8148b9ac52
|
Update CMakeLists.txt
Check RDRAND symbols
|
2023-10-16 08:48:19 +08:00 |
|
Zhi Guan
|
71fb469801
|
Update SM4 GCM IV sizes
|
2023-10-13 22:08:17 +08:00 |
|
Zhi Guan
|
06017d23f5
|
Set default _gmssl_export
|
2023-10-13 20:46:19 +08:00 |
|
Zhi Guan
|
326956bbff
|
Remove demos relay on third-party code
|
2023-10-13 17:50:55 +08:00 |
|
Zhi Guan
|
b2a90982d9
|
Fix sha1_digest bug
|
2023-10-13 17:43:54 +08:00 |
|
Zhi Guan
|
87a4477ee9
|
Remove extra code
|
2023-10-12 15:06:35 +08:00 |
|