0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib
Andrew Kelley 79b41dbdbf std.crypto.tls: avoid heap allocation
The code we are borrowing from https://github.com/shiguredo/tls13-zig
requires an Allocator for doing RSA certificate verification. As a
stopgap measure, this commit uses a FixedBufferAllocator to avoid heap
allocation for these functions.

Thank you to @naoki9911 for providing this great resource which has been
extremely helpful for me when working on this standard library TLS
implementation. Until Zig has std.crypto.rsa officially, we will borrow
this implementation of RSA. 🙏
History 2023-01-02 16:57:16 -07:00
..
compiler_rt compiler_rt: skip "__udivei4/__umodei4" on cbe due to missing > 128 bit integer support 2023-01-02 13:55:45 -07:00
docs autodoc: Removed BoundFn from indexTypeKinds in main.js 2022-12-11 14:29:48 +01:00
include C backend: improve ergonomics of zig.h a little bit 2022-11-13 16:50:16 -07:00
init-exe init-exe template: add flushing to the buffered writer 2022-08-04 21:12:42 +02:00
init-lib flatten lib/std/special and improve "pkg inside another" logic 2022-05-06 22:41:00 -07:00
libc mingw: add missing vscprintf.c file 2022-12-28 12:33:55 -07:00
libcxx update libcxx to LLVM 15.0.3 2022-10-18 10:18:09 -07:00
libcxxabi update libcxxabi to LLVM 15 2022-08-04 18:02:01 -07:00
libunwind update libunwind to LLVM 15 2022-08-04 18:09:10 -07:00
std std.crypto.tls: avoid heap allocation 2023-01-02 16:57:16 -07:00
tsan update libcxx, libcxxabi, libunwind, and tsan to llvm 13 rc1 2021-08-16 23:32:13 -07:00
build_runner.zig remove -fstage1 option 2022-12-06 12:15:04 -07:00
c.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
compiler_rt.zig compiler-rt: implement __udivei4 and __umodei4 (#14023) 2022-12-22 16:29:19 -05:00
ssp.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
test_runner.zig stage2 AArch64: misc fixes, enable printing in test runner 2022-11-01 20:44:18 +01:00
zig.h cbe: fixups for -Wstrict-prototypes 2023-01-02 13:56:32 -07:00