Commit Graph

441 Commits

Author SHA1 Message Date
Zhi Guan
5c67b5963d Clean code 2026-06-14 15:11:06 +08:00
Zhi Guan
ec5705ae29 Update TLS crypto 2026-06-14 10:15:05 +08:00
Zhi Guan
545e6a56f0 Add CCM cipher suites 2026-06-14 00:12:10 +08:00
Zhi Guan
5d12858d41 Clean TLS code 2026-06-13 23:52:29 +08:00
Zhi Guan
a73c303339 Clean cipher local vars 2026-06-13 22:57:20 +08:00
Zhi Guan
c12edeb7b1 Fix SM4 API bugs and change behavior 2026-06-13 22:14:56 +08:00
Zhi Guan
8fded4abc7 Update sm4.c
Prevent sm4_cbc_decrypt_blocks in == out
2026-06-13 20:12:33 +08:00
Zhi Guan
54d9cba0ec Update aes.c 2026-06-13 17:30:45 +08:00
Zhi Guan
9ec15f6012 Merge pull request #1893 from wangtsiao/master
修复 PEM 读取没有限制 base64 解码输出长度的问题
2026-06-13 17:29:42 +08:00
Zhi Guan
19725f3c54 Update socket wrapper 2026-06-13 15:09:45 +08:00
wangtsiao
c5674af7f5 fix: bound PEM base64 decoding output 2026-06-12 18:47:07 -10:00
Zhi Guan
23375d1fa3 Unify connection established print 2026-06-13 09:10:09 +08:00
Zhi Guan
99cc3c634b Update CMakeLists.txt 2026-06-13 08:46:26 +08:00
Zhi Guan
81752e910c Update cmake tests with new options 2026-06-13 08:35:24 +08:00
Zhi Guan
211c07eb3e Add tls_init checks 2026-06-13 08:34:55 +08:00
Zhi Guan
dd870b2e59 Update tls_ctx_add_certificate_list_and_key 2026-06-13 08:22:43 +08:00
Zhi Guan
2e0b145342 Unify TLS capabilities 2026-06-13 08:04:20 +08:00
Zhi Guan
d8a9f446b3 Update tls.c 2026-06-13 07:38:55 +08:00
Zhi Guan
99fabca0cb Unify tlcp/tls12/tls13_client behavior 2026-06-13 07:26:51 +08:00
Zhi Guan
b3bc3bb803 Fix TLS shutdown and error output 2026-06-13 07:03:35 +08:00
Zhi Guan
1ed2cfdcc4 Update version scheme 2026-06-12 22:52:53 +08:00
Zhi Guan
2c6ea95cec Fix TLS 1.3 middlebox 2026-06-12 17:03:49 +08:00
Zhi Guan
c56d7edfab Update TLS -verbose options 2026-06-12 14:23:56 +08:00
Zhi Guan
8b586d4299 Update TLS/TLCP shutdown 2026-06-12 14:09:42 +08:00
Zhi Guan
6f42fdf31f Update TLS state machine 2026-06-12 13:28:10 +08:00
Zhi Guan
fb93fba5ff Clean TLS_CTX/CONNECT 2026-06-12 12:01:30 +08:00
Zhi Guan
30bc6a2a4c Update TLS commands 2026-06-12 10:55:29 +08:00
Zhi Guan
dbbee6dbe0 Add trusted_ca_keys to TLS1.2/TLCP 2026-06-12 10:24:32 +08:00
Zhi Guan
d4be17a01f Update TLCP ServerKeyExchange 2026-06-12 09:40:35 +08:00
Zhi Guan
f37938991c Move TLS1.2/TLCP common functions to tls.c 2026-06-12 09:24:27 +08:00
Zhi Guan
8a90eb9c91 Update TLCP to support SNI 2026-06-12 09:08:49 +08:00
Zhi Guan
d999e8879c Update TLS 1.2 GCM 2026-06-11 23:53:42 +08:00
Zhi Guan
0c974eaa25 Add renegotiation_info and SCSV support 2026-06-11 23:46:16 +08:00
Zhi Guan
6ff18acae3 Add GCM cipher suite to TLS 1.2 2026-06-11 23:19:48 +08:00
Zhi Guan
40e00284a2 Fix tls.c 2026-06-11 21:03:14 +08:00
Zhi Guan
c534f58e7e Update TLS 1.2 to support ec_point_formats 2026-06-11 20:39:54 +08:00
Zhi Guan
b48f2c3772 Update TLS SCT 2026-06-10 23:44:31 +08:00
Zhi Guan
cc1c716635 Update Copyright info 2026-06-10 22:51:36 +08:00
Zhi Guan
5e9724cd93 Update BLOCK_CIPHER 2026-06-10 22:30:51 +08:00
Zhi Guan
626fe43980 Update hmac.h 2026-06-10 22:12:01 +08:00
Zhi Guan
852a2ebe6e Add SCT verification 2026-06-10 17:25:11 +08:00
Zhi Guan
5ce74f3534 Update OCSP verify 2026-06-10 12:33:26 +08:00
Zhi Guan
6e2b587d0a Update OCSP 2026-06-09 23:52:22 +08:00
Zhi Guan
d001ead11e Update PBKDF2 2026-06-09 17:17:12 +08:00
Zhi Guan
fb12b78227 Update DIGEST_MAX_BLOCK_SIZE to support SHA-3 2026-06-09 15:20:45 +08:00
Zhi Guan
d1d75a3109 Update HMAC to support key == NULL or keylen == 0 2026-06-09 15:14:37 +08:00
Zhi Guan
87f5111760 Add ocspreq command 2026-06-08 19:34:04 +08:00
Zhi Guan
f26781f2b1 Update OCSP 2026-06-08 12:32:38 +08:00
Zhi Guan
fb58da67e8 Add OCSP 2026-06-07 00:00:53 +08:00
Zhi Guan
dbe0251872 Add ALPN extension 2026-06-06 15:45:07 +08:00