Commit Graph

353 Commits

Author SHA1 Message Date
Zhi Guan
8a62b91da9 Fix REQ format bug
Attributes not OPTIONAL
2023-02-06 17:07:08 +08:00
Zhi Guan
97e33d4b9a Update CMakeLists.txt 2023-02-06 13:34:13 +08:00
Zhi Guan
a2e5db88ac Update CMakeLists.txt
Remove http_crl test, failed on GitHub CI environment.
2023-02-06 13:28:39 +08:00
Zhi Guan
a91203b816 Update http_win.c 2023-02-06 13:18:37 +08:00
Zhi Guan
9a6c8d575f Update http.c 2023-02-06 13:17:44 +08:00
Zhi Guan
878ff69114 Update http_win.c 2023-02-06 13:08:09 +08:00
Zhi Guan
bfe3e5999a Update HTTP for WIN 2023-02-06 12:50:28 +08:00
Zhi Guan
97d08c956a Update X509 2023-02-06 11:48:33 +08:00
Zhi Guan
36f9a76d3a Update http_crltest.c 2023-02-05 23:45:45 +08:00
Zhi Guan
5271f84df1 Fix CRL parse error 2023-02-05 23:42:42 +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
1fbdfeee59 Update CRL related code 2023-02-01 11:03:33 +08:00
Zhi Guan
8397280779 Add -check_crl option to certverify 2023-01-31 22:14:41 +08:00
Zhi Guan
b5df2121d3 Add crlget tool 2023-01-31 19:18:46 +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
e3a0f73e0e Remove warnings 2023-01-15 21:02:25 +08:00
Zhi Guan
bcb1fe2e5c Update x509_exttest.c 2023-01-15 20:21:14 +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
167f2c0c33 Update x509_cer.c 2023-01-11 14:20:55 +08:00
Zhi Guan
320df276c8 Update x509_cer.c 2023-01-11 14:19:42 +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
a8dd65cf1c And soft RNG to cmake 2022-12-30 14:53:20 +08:00
Zhi Guan
a7251b7e06 Merge pull request #1387 from Indawn/sm4_rng_edit
SM4_RNG_Update增加异或
2022-12-30 14:38:17 +08:00
Zhi Guan
f89bb40822 Merge pull request #1389 from leonardodalinky/pr
feat: linux packaging
2022-12-30 14:19:19 +08:00
Zhi Guan
dc7b9e68ec Update SM2 Extensions
Arrange source files
2022-12-30 12:46:47 +08:00
Zhi Guan
7be0df2b82 Support PEM with Windows-style newline 2022-12-30 10:37:50 +08:00
leonardodalinky
a30b70807a feat: linux packaging 2022-12-30 01:25:07 +08:00
Zhi Guan
8ff829dbcd Fix a typical error
When call `foo(type *ret)`,always use `type` to receive the return value.
2022-12-29 18:13:57 +08:00
Zhi Guan
eb06a2e200 Fix SM4 AESNI+AVX CTR 2022-12-29 17:51:32 +08:00
Zhi Guan
2aa4f5b747 Enable SM3 AVX+BMI2 2022-12-29 15:06:29 +08:00
Zhi Guan
6ed075868d Update sm4test.c 2022-12-29 14:14:59 +08:00
Zhi Guan
cd232bef6e Update demo scripts 2022-12-29 12:14:57 +08:00