Commit Graph

51 Commits

Author SHA1 Message Date
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
0bcffd3734 Update TLS 1.3 2026-04-13 11:34:16 +08:00
Zhi Guan
2e550edc35 Update TLS 1.3 2026-04-12 11:48:15 +08:00
Zhi Guan
3d29d5066d Update TLS 1.3 PSK-only mode 2026-03-28 11:09:26 +08:00
Zhi Guan
e996e72537 Update TLS 1.3 0-RTT 2026-03-23 20:50:55 +08:00
Zhi Guan
5efe2005d4 Update TLS 1.3 PSK 1-RTT 2026-03-23 10:32:16 +08:00
Zhi Guan
0d1acec6df Update TLS 1.3 handshake
Working on HelloRetryRequest, NewSessionTicket
2026-03-21 18:41:46 +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
47639a9e23 Add X509_KEY to support different public key algos 2026-01-16 17:25:17 +08:00
Zhi Guan
567604210a Update tls13.c, remove warning from clang --analyze 2024-06-18 09:32:30 +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
76312df4d6 Clean code 2024-05-31 21:02:04 +08:00
Zhi Guan
f8fbeddd4f Add SM2_VERIFY_CTX 2024-04-25 08:40:39 +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
b777fbafdb Re-organize SM4/GCM related source files 2024-04-11 22:19:50 +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
dc4c21f4ec Make AES optional and remove "Public API" from headers 2023-12-17 16:52:42 +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
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
49962a267f Fix return value and secret clean bug 2022-12-28 16:46:55 +08:00
Zhi Guan
cce95d613a Revert "Merge pull request #1373 from guanzhi/bug-fix"
This reverts commit 5b5ca85b7b, reversing
changes made to 0485d1bcd5.
2022-12-13 11:35:10 +08:00
zhaoxiaomeng
5f8ef35358 fix tls1.3 bug 2022-11-29 12:50:49 +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
e6c2034c82 Fix TLS 1.3 protocol spec errors 2022-07-31 09:55:48 +08:00
Zhi Guan
801d896d5a Fix tls_do_recv bug and update SSL clients 2022-07-29 17:13:10 +08:00
Zhi Guan
08dd20b70f Update TLS 1.3 2022-07-25 14:15:41 +08:00
Zhi Guan
15fd0dbcd4 TLS 1.3 client auth 2022-07-24 23:35:45 +08:00
Zhi Guan
89f57327aa TLS 1.3 server auth only 2022-07-20 16:42:32 +08:00
Zhi Guan
d1b3816319 expose all functions 2022-05-01 09:46:46 +08:00
Zhi Guan
5ea884ce8f More tests 2022-03-21 13:11:41 +08:00
Zhi Guan
becaed76fa update 2021-09-10 11:33:48 +08:00
Zhi Guan
bcad2eb8dd update 2021-09-10 11:29:16 +08:00
Zhi Guan
ae001fbf15 utf8 + bom 2021-08-04 22:07:50 +08:00
Zhi Guan
a57193836b add sdf and skf 2021-08-03 17:09:35 +08:00
Zhi Guan
2ecba70472 remove old api 2021-07-31 22:07:25 +08:00
Zhi Guan
62d1899760 tls 1.3 init 2021-07-28 16:32:10 +08:00