Commit Graph

263 Commits

Author SHA1 Message Date
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
Zhi Guan
13eae91d7d Update X.509 Extensions 2023-01-31 15:57:53 +08:00
Zhi Guan
ec7700c17c Update X509 and certgen tool 2023-01-28 22:00:22 +08:00
Zhi Guan
c4c11ffe6b Update CRL functions and tools 2023-01-25 22:39:12 +08:00
Zhi Guan
c6ca4dd37b Add HTTP module 2023-01-18 00:27:35 +08:00
Zhi Guan
0c061e24ae Add CRLDistributionPoints and AuthorityInformationAccess ext 2023-01-17 10:29:00 +08:00
Zhi Guan
dc80fea1f6 Update CRL related
to be continue ...
2023-01-17 00:43:36 +08:00
Zhi Guan
4b75346983 Refine ASN.1 functions 2023-01-15 11:59:53 +08:00
Zhi Guan
b858b01d39 Refine ASN.1 functions 2023-01-14 19:07:03 +08:00
Zhi Guan
e54b4ae182 Add checking to ASN.1 IA5, UTF8, Printable strings 2023-01-13 17:20:09 +08:00