Commit Graph

1145 Commits

Author SHA1 Message Date
Zhi Guan
19eb9165f3 Update X509 cert chain verify 2026-06-18 22:49:53 +08:00
Zhi Guan
d7c6db0a21 Update X509 cert chain verify 2026-06-18 19:25:34 +08:00
Zhi Guan
055d3fe812 Update X509 cert chain verify 2026-06-18 19:25:15 +08:00
hrimfaxi
e72f183c39 asm: add missing .note.GNU-stack markers
Add .note.GNU-stack section declarations to hand-written assembly
sources so ELF builds do not produce executables or libraries with
an executable stack.

These assembly implementations do not require an executable stack.
Adding the marker restores normal non-executable stack/NX hardening.

Signed-off-by: hrimfaxi <outmatch@gmail.com>
2026-06-18 10:15:13 +08:00
Zhi Guan
c5468b4c1b Fix CMS bug 2026-06-17 18:45:32 +08:00
Zhi Guan
a3dc07db74 Fix bugs 2026-06-17 17:03:49 +08:00
Zhi Guan
cad645da20 Bug fix 2026-06-17 16:55:36 +08:00
Zhi Guan
b0e5c4aa1b Add client_cert_optional to tlcp/tls12 2026-06-17 16:42:29 +08:00
Zhi Guan
765e4d7747 Fix bugs 2026-06-17 16:37:14 +08:00
Zhi Guan
40a62baec7 Bug fix 2026-06-17 16:15:13 +08:00
Zhi Guan
ace325928b Fix bugs 2026-06-17 16:09:06 +08:00
Zhi Guan
f38142d35e Fix bugs 2026-06-17 16:07:18 +08:00
Zhi Guan
ea35a8cea3 Fix return without clean 2026-06-17 16:06:11 +08:00
Zhi Guan
4831f5a549 Fix return without clean 2026-06-17 15:59:55 +08:00
Zhi Guan
7ef784a9fc Update tls13_server.c 2026-06-17 15:58:11 +08:00
Zhi Guan
c44fbf5182 Update tls13_client.c 2026-06-17 15:57:34 +08:00
Zhi Guan
be94ca8268 Fix bound check 2026-06-17 15:56:18 +08:00
Zhi Guan
b0928e7321 Update CMakeLists.txt 2026-06-17 12:01:54 +08:00
Zhi Guan
18a5e5b969 Update tlcp_server.c 2026-06-17 11:22:21 +08:00
Zhi Guan
866b80c918 Fix SM9 bugs 2026-06-17 11:16:37 +08:00
Zhi Guan
1bf47fea14 Add x.509 ext critical check 2026-06-17 09:14:03 +08:00
Zhi Guan
f45919d0f7 Fix bugs 2026-06-17 08:36:58 +08:00
Zhi Guan
8682cecb8f Check before memcpy 2026-06-17 00:30:16 +08:00
Zhi Guan
b4906f1220 Fix client certificate verify 2026-06-17 00:09:39 +08:00
Zhi Guan
cdd43c9610 Add certs length check 2026-06-17 00:00:24 +08:00
Zhi Guan
419eaca762 Update tlcp.c 2026-06-16 23:51:36 +08:00
Zhi Guan
80c754976c Fix sm2_decrypt overflow 2026-06-16 23:27:46 +08:00
Zhi Guan
e180ed8e9b Clean TLS code 2026-06-16 23:03:11 +08:00
Zhi Guan
2758afbddf Clean TLS code 2026-06-16 18:19:07 +08:00
Zhi Guan
6da7e1056a Clean TLCP code 2026-06-16 18:01:54 +08:00
Zhi Guan
171c88bb4c Fix TLCP CertificateRequest 2026-06-16 17:23:15 +08:00
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
3f84d721a6 Update TLS cmake 2026-06-15 15:21:33 +08:00
Zhi Guan
f117eb25ef Fix TLS 1.3 CCM 2026-06-15 14:56:03 +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
40b8d67110 Fix ccm cipher suite 2026-06-15 11:31:51 +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
1d8cf6117c Update GHASH 2026-06-14 16:24:30 +08:00
Zhi Guan
25ce3134f8 Update gf128 2026-06-14 16:09:57 +08:00
Zhi Guan
fc1869ba88 Remove SM2 extensions 2026-06-14 15:55:01 +08:00
Zhi Guan
9549de94f9 Update endian.h 2026-06-14 15:45:45 +08:00
Zhi Guan
f6f049256c Fix ZUC out-of-bounds read 2026-06-14 15:36:02 +08:00