Commit Graph
152 Commits
Author SHA1 Message Date
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
Zhi Guan fd88d8cad6 Update SM2 ecdh api 2023-01-13 09:40:32 +08:00
Zhi Guan c932069224 Update SM2 lib
Add more checks
Rename _ex functions to _fixlen
Move extensions to sm2_recover.c
2023-01-13 01:44:55 +08:00
Zhi Guan 2f19fc3067 Update X.509 validation and fix TLS 1.3 chain verify 2023-01-11 15:29:22 +08:00
Zhi Guan adfa3aaf60 Add functions for SEQUENCE OF
SEQUENCE SIZE (1..n) OF <type>
Always check that SEQUENCE OF is not empty.
2023-01-11 14:19:37 +08:00
Zhi Guan 4ac1abb2a6 Add X.509 validation and auto UTF8 DN 2023-01-10 23:47:27 +08:00
Zhi Guan 5c809e0b37 Update X.509 Path
Add basicConstraints and depth validation
2023-01-10 12:10:15 +08:00
Zhi Guan 4dbf32fd6a Update X.509 Path Validation
To be continue ...
2023-01-10 00:08:13 +08:00
Zhi Guan cdd57c6385 Update X509 2023-01-09 18:33:17 +08:00
Zhi Guan 4b100b38d1 Update ASN.1 PrintableString functions 2023-01-09 18:13:59 +08:00
Zhi Guan dc7b9e68ec Update SM2 Extensions
Arrange source files
2022-12-30 12:46:47 +08:00
Zhi Guan 70f6a42561 Remove warnings on WIN32 2022-12-28 23:37:30 +08:00