zig/lib
Jacob Young 7afb277725 std.crypto.tls: fix x25519_ml_kem768 key share
This is mostly nfc cleanup as I was bisecting the client hello to find
the problematic part, and the only bug fix ended up being

    key_share.x25519_kp.public_key ++
    key_share.ml_kem768_kp.public_key.toBytes()

to

    key_share.ml_kem768_kp.public_key.toBytes() ++
    key_share.x25519_kp.public_key)

and the same swap in `KeyShare.exchange` as per some random blog that
says "a hybrid keyshare, constructed by concatenating the public KEM key
with the public X25519 key".  I also note that based on the same blog
post, there was a draft version of this method that indeed had these
values swapped, and that used to be supported by this code, but it was
not properly fixed up when this code was updated from the draft spec.

Closes #21747
2024-11-07 20:25:26 -05:00
..
compiler Merge pull request #21599 from alexrp/thumb-porting 2024-11-03 14:25:30 +01:00
compiler_rt Merge pull request #21843 from alexrp/callconv-followup 2024-11-03 14:27:09 +01:00
docs Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
fuzzer/web Replace deprecated default initializations with decl literals 2024-09-12 16:01:23 +01:00
include clang: Update compiler-provided C headers to Clang 19.1.0. 2024-09-19 18:20:21 -07:00
init fix init template for new fuzz testing API 2024-09-11 13:41:29 -07:00
libc glibc: Fix an LP_SIZE redefinition warning for gnux32. 2024-11-02 10:42:53 +01:00
libcxx libcxx: Update to LLVM 19.1.0. 2024-09-19 18:20:22 -07:00
libcxxabi libcxxabi: Update to LLVM 19. 2024-09-19 18:20:21 -07:00
libunwind libunwind: Update gcc_personality_v0.c to LLVM 19.1.0. 2024-09-21 01:16:47 +02:00
std std.crypto.tls: fix x25519_ml_kem768 key share 2024-11-07 20:25:26 -05:00
tsan tsan: Update to LLVM 19.1.0. 2024-09-24 23:58:21 -07:00
c.zig handle _fltused in compiler_rt 2024-10-23 16:27:39 -07:00
compiler_rt.zig handle _fltused in compiler_rt 2024-10-23 16:27:39 -07:00
fuzzer.zig fix type of std_options 2024-11-05 23:46:10 +01:00
zig.h zig.h: Improve portability of zig_*_windows_teb() helpers. 2024-11-04 11:59:38 +01:00