Commit Graph

240 Commits

Author SHA1 Message Date
zhwangzh
6e122a4d2b Update zuc_modes.c
In function zuc_eea_encrypt, modify an operator |= to &=.
2023-02-19 18:08:36 +08:00
Zhi Guan
90c022c803 Add sm2_point_ functions 2023-02-19 08:24:17 +08:00
Zhi Guan
4913f94564 Update pem.c 2023-02-15 12:06:58 +08:00
Zhi Guan
e77aeffc21 Update CMake 2023-02-15 11:59:05 +08:00
Zhi Guan
caa5e8c5c5 Fix memcpy bug in aead.c 2023-02-15 10:58:12 +08:00
Zhi Guan
4466a56ae2 Fix certrevoke bugs 2023-02-14 23:19:18 +08:00
Zhi Guan
094db3bce0 Remove depends on ctype functions 2023-02-14 22:00:03 +08:00
Zhi Guan
247f7bdf07 Update x509_alg.c 2023-02-14 21:32:40 +08:00
Zhi Guan
9e31132a19 Update socket.c 2023-02-14 21:32:36 +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
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
8a0a23f91d Add SM2 AlgorithmIdentifier option
Add option in CMake to support NULL parameters encoding
2023-02-09 11:44:27 +08:00
Zhi Guan
930a359120 Always return -1 on sign/verify failure 2023-02-08 22:44:19 +08:00
Zhi Guan
da9ef786eb Update X509 2023-02-08 21:51:05 +08:00
Zhi Guan
fcb14bbcf9 Fix CRL ext bug 2023-02-07 16:03:44 +08:00
Zhi Guan
d7fcc6f457 Update demos 2023-02-07 14:57:17 +08:00
Zhi Guan
407368347b Update x509_crl.c 2023-02-06 23:42:05 +08:00
Zhi Guan
591db2cc01 Remove WIN32 warnings 2023-02-06 22:36:39 +08:00
Zhi Guan
d4d2f64aaa Add demos to CMake 2023-02-06 22:14:34 +08:00
Zhi Guan
895dbeee5b Fix sign_to_der functions 2023-02-06 17:27:19 +08:00
Zhi Guan
8a62b91da9 Fix REQ format bug
Attributes not OPTIONAL
2023-02-06 17:07:08 +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
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
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