Commit Graph

123 Commits

Author SHA1 Message Date
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
Zhi Guan
13e6f5138f Update SM2 key sharing 2022-11-07 13:42:18 +08:00
Zhi Guan
603e24ca9c Update dylib.h 2022-11-06 20:26:00 +08:00
Zhi Guan
57a3c9682d Update Pederson Commitment 2022-11-03 16:48:59 +08:00
Zhi Guan
9dfc5e5d80 Re-arrange SM2 2022-11-02 22:01:23 +08:00
Zhi Guan
d72866b28e Update SM2 Blind Signature 2022-11-02 21:40:10 +08:00
Zhi Guan
562ba9bb74 Add dl wrapper 2022-11-02 12:21:02 +08:00
Zhi Guan
86a5f4a257 Add Public API 2022-11-01 18:12:48 +08:00
Zhi Guan
bae6721afa Add socket wrapper 2022-11-01 17:57:31 +08:00
Zhi Guan
87081c4ca4 Revert "Add socket wrapper"
This reverts commit 85e745121f.
2022-11-01 17:51:26 +08:00
Zhi Guan
85e745121f Add socket wrapper 2022-11-01 17:49:48 +08:00
Zhi Guan
085a4d1310 Add SM2 ElGamal 2022-10-19 21:31:48 +08:00
Zhi Guan
f906d1c44f Add SM2RECOVER 2022-10-19 21:12:11 +08:00
Zhi Guan
8177f87d84 Add SM4 GPU implementation 2022-10-18 14:32:27 +08:00
Zhi Guan
dbc5b316b5 Remove warnings 2022-10-13 16:16:42 +08:00
Zhi Guan
e25f8b945e Fix MSVC warnings 2022-10-12 18:05:05 +08:00