322 Commits

Author SHA1 Message Date
Zhi Guan
2c893d797b Update soft_sdf 2024-01-31 21:10:30 +08:00
Zhi Guan
31efcb5d87 Add encrypt/decrypt to sm2_ctx.c 2024-01-07 17:26:29 +08:00
Zhi Guan
b0c5208a68 Support SM3 third-party implementation 2024-01-04 09:37:12 +08:00
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
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
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
6ed99b4ee5 Update sm3.h 2023-12-13 20:49:47 +08:00
Zhi Guan
257ba6bcdb Update SM4
Simple SM4 cipher implementation in `sm4.c`
2023-12-13 20:26:57 +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
1d6c763afb Update version to 3.1.2-Dev 2023-12-13 20:02:27 +08:00
Zhi Guan
d655c06b3a Update version 2023-12-12 16:05:31 +08:00
Zhi Guan
01ade02dfa Update Versions 2023-10-24 08:57:16 +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
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
ac61cfae02 Update CMake options of RDRND
Separate CMake option of rdrand and rdseed. In some CPUs only rdrand is supported.
2023-09-09 16:56:52 +08:00
Zhi Guan
5ca0d60781 Add sm2z256 c implementation 2023-04-22 10:23:57 +08:00
Zhi Guan
b6dc8383c7 Update sm3.h 2023-03-13 15:45:49 +08:00
Zhi Guan
444a431da2 Update version to 3.1.1 Dev 2023-02-25 21:57:01 +08:00
Zhi Guan
f2c5e77255 Update version to 3.1.0 (Release) 2023-02-23 14:10:30 +08:00
Zhi Guan
78175e4385 Add output length of ZUC EEA 2023-02-20 09:02:34 +08:00
Zhi Guan
90c022c803 Add sm2_point_ functions 2023-02-19 08:24:17 +08:00
Zhi Guan
289a9677fe Add SM4_GCM constants 2023-02-19 08:23:20 +08:00
Zhi Guan
dac38a677d Change x509_cert_check args name 2023-02-19 08:22:45 +08:00
Zhi Guan
15f7bc62da Update version.h 2023-02-15 12:07:42 +08:00
Zhi Guan
e77aeffc21 Update CMake 2023-02-15 11:59:05 +08:00
Zhi Guan
14fdc7a5f6 Add export to public functions 2023-02-14 21:32:59 +08:00
Zhi Guan
a9f76d8f62 Update AEAD 2023-02-14 18:56:03 +08:00
Zhi Guan
acd50a83d0 Update SM4 AEAD 2023-02-14 09:06:59 +08:00
Zhi Guan
828da359dc Delete api.h 2023-02-13 23:31:33 +08:00
Zhi Guan
29af4f7f76 Add AEAD and GHASH functions 2023-02-13 23:29:27 +08:00
Zhi Guan
236c6e17cb Add AEAD modes 2023-02-13 11:52:24 +08:00
Zhi Guan
66abb8e528 Update socket wrapper 2023-02-13 09:10:59 +08:00
Zhi Guan
ef4017032c Create aead.h 2023-02-10 08:12:27 +08:00
Zhi Guan
019b767e09 Update X509 header 2023-02-10 08:12:23 +08:00
Zhi Guan
8a0a23f91d Add SM2 AlgorithmIdentifier option
Add option in CMake to support NULL parameters encoding
2023-02-09 11:44:27 +08:00
Zhi Guan
da9ef786eb Update X509 2023-02-08 21:51:05 +08:00
Zhi Guan
d4d2f64aaa Add demos to CMake 2023-02-06 22:14:34 +08:00
Zhi Guan
8a62b91da9 Fix REQ format bug
Attributes not OPTIONAL
2023-02-06 17:07:08 +08:00
Zhi Guan
97d08c956a Update X509 2023-02-06 11:48:33 +08:00
Zhi Guan
58c0bca3a2 Update X509 2023-02-05 23:10:31 +08:00
Zhi Guan
825b074ed1 Update X509 2023-02-05 18:14:41 +08:00
Zhi Guan
1abbd54bb8 Update X509 2023-02-04 23:21:01 +08:00
Zhi Guan
6a02a61c4f Update X509 cert 2023-02-04 21:04:43 +08:00
Zhi Guan
8397280779 Add -check_crl option to certverify 2023-01-31 22:14:41 +08:00