Commit Graph

73 Commits

Author SHA1 Message Date
Zhi Guan
732a77c3a4 Clean TLS code 2026-06-16 12:20:20 +08:00
Zhi Guan
b90587668c Clean TLCP code 2026-06-15 21:33:57 +08:00
Zhi Guan
8652450c42 Update cmake 2026-06-15 18:22:59 +08:00
Zhi Guan
477480d199 Update tlcp.c 2026-06-15 14:47:33 +08:00
Zhi Guan
3465d79c55 Update tlcp.c 2026-06-15 14:41:54 +08:00
Zhi Guan
2093f5ad4f Check PreMasterSecret.protocol 2026-06-15 14:36:39 +08:00
Zhi Guan
66bd98caa0 Clean TLS code 2026-06-15 14:34:08 +08:00
Zhi Guan
abc37d3090 Update tlcp.c 2026-06-15 12:24:16 +08:00
Zhi Guan
cc8cb67c29 Update TLS alert 2026-06-15 12:21:52 +08:00
Zhi Guan
823fe11897 Clean TLS code 2026-06-15 11:15:33 +08:00
Zhi Guan
808d22e2a5 Refactor TLS 2026-06-14 23:04:39 +08:00
Zhi Guan
ec5705ae29 Update TLS crypto 2026-06-14 10:15:05 +08:00
Zhi Guan
5d12858d41 Clean TLS code 2026-06-13 23:52:29 +08:00
Zhi Guan
23375d1fa3 Unify connection established print 2026-06-13 09:10:09 +08:00
Zhi Guan
2e0b145342 Unify TLS capabilities 2026-06-13 08:04:20 +08:00
Zhi Guan
c56d7edfab Update TLS -verbose options 2026-06-12 14:23:56 +08:00
Zhi Guan
51883c507a Minor TLS fixes 2026-06-12 13:48:45 +08:00
Zhi Guan
473498ad93 Update TLCP/TLS1.2 state machine 2026-06-12 13:39: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
dbbee6dbe0 Add trusted_ca_keys to TLS1.2/TLCP 2026-06-12 10:24:32 +08:00
Zhi Guan
b1f670c6c6 Add TLCP ALPN support 2026-06-12 09:58:47 +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
ee987a6b21 Update tlcp.c 2026-06-12 08:38:51 +08:00
Zhi Guan
40e00284a2 Fix tls.c 2026-06-11 21:03:14 +08:00
Zhi Guan
1b8a57c4da Update TLS12 2026-05-29 22:17:09 +08:00
Zhi Guan
093faec214 Update TLS1.2 2026-05-29 11:04:08 +08:00
Zhi Guan
df63696ade Update tlcp.c 2026-05-28 10:25:37 +08:00
Zhi Guan
3af0fe9ce5 Update TLCP 2026-05-28 10:05:09 +08:00
Zhi Guan
164561ee94 Clean code 2026-05-28 10:00:53 +08:00
Zhi Guan
2e550edc35 Update TLS 1.3 2026-04-12 11:48:15 +08:00
Zhi Guan
ead4caecb7 Update TLS 1.3 state machine 2026-03-17 16:51:12 +08:00
Zhi Guan
ee2fa409f2 Update TLCP to state machine 2026-02-27 09:11:49 +08:00
Zhi Guan
9c58806408 Rewrite TLS 1.2 as a state machine 2026-02-01 20:38:13 +08:00
Zhi Guan
47639a9e23 Add X509_KEY to support different public key algos 2026-01-16 17:25:17 +08:00
Zhi Guan
f8fbeddd4f Add SM2_VERIFY_CTX 2024-04-25 08:40:39 +08:00
Zhi Guan
69ffa88037 Fix TLS Alert
Alert, ChangeCipherSpec record should be encrypted after handshake
2024-02-06 20:57:27 +08:00
Zhi Guan
9f2bfb5ad0 Add more options to TLS
add `-get` and `-quiet` option to `tlcp_client`
2024-02-05 17:01:09 +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
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
49962a267f Fix return value and secret clean bug 2022-12-28 16:46:55 +08:00
Zhi Guan
6ef810f51f Fix last commit bug in TLS cert_verify 2022-12-28 16:26:43 +08:00
Zhi Guan
218b82e3fa Fix tlcp bug of last commit 2022-12-28 12:26:26 +08:00
mawei
b25c2ae245 support connect demo.gmssl.cn:1443 2022-11-15 18:17:24 +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