Commit Graph

288 Commits

Author SHA1 Message Date
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
Zhi Guan
218b82e3fa Fix tlcp bug of last commit 2022-12-28 12:26:26 +08:00
Zhi Guan
c8c8bef8bd Merge pull request #1361 from movie0125/TLS1.1-addlen
support connect demo.gmssl.cn:1443
2022-12-28 12:16:13 +08:00
Zhi Guan
17e48d3649 Update sm9.h 2022-12-28 10:43:06 +08:00
Zhi Guan
616b5ecb06 Support DLL in MSVC 2022-12-27 17:23:56 +08:00
Zhi Guan
27e9c56bc1 Update ASN.1 Time 2022-12-27 13:55:32 +08:00
Zhi Guan
0eb4bd9c1d Fix export symbol bug in MSVC 2022-12-24 10:50:44 +08:00
Zhi Guan
9ce7a54649 Update rand_bytes() 2022-12-22 17:08:50 +08:00
Zhi Guan
950ef49fb6 Add SM3 AVX2 2022-12-22 14:38:02 +08:00
Zhi Guan
d48b7d916b Add SM4 RNG 2022-12-22 14:31:23 +08:00
Zhi Guan
462b7c2f69 Add SM3 RNG 2022-12-22 14:30:35 +08:00
Zhi Guan
868f197f09 Update SM2-ElGamal 2022-12-13 11:54:02 +08:00
mawei
b25c2ae245 support connect demo.gmssl.cn:1443 2022-11-15 18:17:24 +08:00
Zhi Guan
48de342b22 Update SM2 Ring Signature 2022-11-07 21:18:25 +08:00
Zhi Guan
ae1f044d32 Merge branch 'master' of https://github.com/guanzhi/GmSSL 2022-11-07 13:42:29 +08:00