Commit Graph

62 Commits

Author SHA1 Message Date
Zhi Guan
677d2bd721 Update tls12_recv_server_certificate 2026-06-11 21:42:08 +08:00
Zhi Guan
475d29bbd3 Update tls12.c 2026-06-11 21:19:46 +08:00
Zhi Guan
94279854f8 Update tls12.c 2026-06-11 20:55:06 +08:00
Zhi Guan
c534f58e7e Update TLS 1.2 to support ec_point_formats 2026-06-11 20:39:54 +08:00
Zhi Guan
1dd920c198 Update tls12.c 2026-06-11 20:28:49 +08:00
Zhi Guan
a5a1abe7a3 Update tls12.c 2026-06-01 15:44:46 +08:00
Zhi Guan
0dd8d64dec Update tls12.c 2026-05-31 21:27:22 +08:00
Zhi Guan
a1f5ef42eb Update TLS 1.2
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 passed
2026-05-30 21:34:40 +08:00
Zhi Guan
48d1a0e079 Update TLS 1.2
master_secret is correct, but Finished ciphertext is invalid.
2026-05-30 08:05:44 +08:00
Zhi Guan
1b8a57c4da Update TLS12 2026-05-29 22:17:09 +08:00
Zhi Guan
164561ee94 Clean code 2026-05-28 10:00:53 +08:00
Zhi Guan
2aa476004b Remove Windows warnings 2026-05-27 22:24:04 +08:00
Zhi Guan
efddfc5ac5 Update tls12.c 2026-05-27 21:55:14 +08:00
Zhi Guan
711da7985a Fix tls_init bug 2026-05-27 18:17:43 +08:00
Zhi Guan
2309ea6169 Update TLS 1.3 2026-05-27 08:43:37 +08:00
Zhi Guan
290d699336 Update TLS 1.3
KeyUpdate passed.
2026-05-17 11:44:43 +08:00
Zhi Guan
bb94f96fcd Update TLS 1.3
CertificateVerify passed
2026-05-10 15:56:35 +08:00
Zhi Guan
2c72cf84b3 Update TLS 1.3
All tls13_server examples passed.
2026-05-09 13:17:36 +08:00
Zhi Guan
b548e98d34 Update TLS 1.3 2026-04-28 11:50:15 +08:00
Zhi Guan
34698ddc6f Update TLS 1.3 2026-04-21 11:18:25 +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
3322a5fc7b Update TLS 1.3 2026-02-27 11:02:22 +08:00
Zhi Guan
ee2fa409f2 Update TLCP to state machine 2026-02-27 09:11:49 +08:00
Zhi Guan
8eb0d3b572 x509_key all tests passed 2026-02-05 20:26:40 +08:00
Zhi Guan
9c58806408 Rewrite TLS 1.2 as a state machine 2026-02-01 20:38:13 +08:00
Zhi Guan
a15e0f34c7 Add ECDSA with curve P-256
for TLS testing
2026-01-24 12:27:12 +08:00
Zhi Guan
47639a9e23 Add X509_KEY to support different public key algos 2026-01-16 17:25:17 +08:00
Zhi Guan
cffee1dd9f Fix tls12, tls13 bug
目前TLS 1.2, 1.3的握手过程中使用了SM2_Z256_POINT,应该改为使用SM2_POINT,可以兼容其他曲线类型,只在做ECDH的时候才判断点的正确性。
2024-06-02 10:19:24 +08:00
Zhi Guan
e9bbcf5490 Use z256 and jacobian coordinates as inner presentation of SM2 point 2024-04-18 21:27:00 +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
9cfc64d34b Change tls_named_curve_name to tls_curve_name 2024-02-04 11:40:58 +08:00
Zhi Guan
fd88d8cad6 Update SM2 ecdh api 2023-01-13 09:40:32 +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
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
a9c5e99192 Remove warnings 2022-10-14 17:39:17 +08:00
Zhi Guan
5e38788659 Add Windows and Visual Studio support 2022-10-03 11:36:03 +08:00
Simon
60c3c33116 license 2022-08-28 19:12:50 +08:00
Simon
4e5880e2ea Revert "修改License"
This reverts commit 0b4308b948.
2022-08-26 13:44:26 +08:00
Simon
0b4308b948 修改License 2022-08-25 22:42:11 -07:00
Simon
36f6a6d4d3 COPYRIGHT 2022-08-08 05:46:54 -07:00
zhaoxiaomeng
c2dacaae46 修改copyright
This reverts commit 7de8e1d83d.
2022-08-08 20:14:44 +08:00
Simon
7de8e1d83d 修改copyright 2022-08-08 05:11:52 -07:00
Zhi Guan
ec94c930b3 Add TLCP demos 2022-08-01 15:58:39 +08:00
Zhi Guan
801d896d5a Fix tls_do_recv bug and update SSL clients 2022-07-29 17:13:10 +08:00