zig/lib/std/crypto
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. 🙏
2023-01-02 16:57:16 -07:00
..
25519 std.crypto.edwards25519: add a rejectLowOrder() function (#13668) 2022-11-28 00:34:13 +01:00
aes crypto.core.aes: process 6 block in parallel instead of 8 on aarch64 (#13473) 2022-11-07 12:28:37 +01:00
Certificate std.crypto.Certificate.Bundle: fix 32-bit build 2023-01-02 16:57:15 -07:00
pcurves update uses of overflow arithmetic builtins 2022-12-27 15:13:14 +02:00
tls std.crypto.tls: avoid heap allocation 2023-01-02 16:57:16 -07:00
aegis.zig std.crypto: make proper use of undefined 2023-01-02 16:57:16 -07:00
aes.zig Revert "std.crypto.aes: use software implementation in comptime context (#13792)" (#13798) 2022-12-07 03:49:20 +00:00
aes_gcm.zig std.crypto: make proper use of undefined 2023-01-02 16:57:16 -07:00
aes_ocb.zig stage2+stage1: remove type parameter from bit builtins 2022-08-22 11:19:20 +03:00
argon2.zig std.crypto: fix invalid pass by value 2022-06-20 15:11:22 +03:00
bcrypt.zig crypto.bcrypt: fix massive speed regression when using stage2 (#13518) 2022-11-14 16:37:19 +01:00
benchmark.zig std.crypto benchmark: don't use a relative path to import std (#13772) 2022-12-05 04:44:14 +00:00
blake2.zig
blake3.zig std: avoid vector usage with the C backend 2022-11-01 20:38:37 -04:00
Certificate.zig std.crypto.tls: avoid heap allocation 2023-01-02 16:57:16 -07:00
chacha20.zig
ecdsa.zig std.sign.ecdsa: add support for incremental signatures (#13332) 2022-10-28 16:25:37 +02:00
errors.zig
ghash_polyval.zig treshold -> threshold 2022-12-05 19:25:10 -05:00
gimli.zig std: avoid vector usage with the C backend 2022-11-01 20:38:37 -04:00
hash_composition.zig std.crypto.hash: allow creating hash functions from compositions (#11965) 2022-07-01 11:37:41 +02:00
hkdf.zig hkdf: add prk_length and extractInit() 2022-12-29 17:56:50 -05:00
hmac.zig
isap.zig
md5.zig
modes.zig
pbkdf2.zig
phc_encoding.zig std.builtin: rename Type.UnionField and Type.StructField's field_type to type 2022-12-17 14:11:33 +01:00
poly1305.zig
salsa20.zig update uses of overflow arithmetic builtins 2022-12-27 15:13:14 +02:00
scrypt.zig std.mem: add first method to SplitIterator and SplitBackwardsIterator 2022-07-25 22:04:30 +03:00
sha1.zig
sha2.zig std.crypto.Tls: add read/write methods 2023-01-02 16:57:15 -07:00
sha3.zig sha3: define block_length as the rate, not as the state size (#14132) 2022-12-30 22:15:25 +00:00
siphash.zig update usages of @call 2022-12-13 13:14:20 +02:00
test.zig
tlcsprng.zig
tls.zig std.crypto.tls.Client: use enums more 2023-01-02 16:57:16 -07:00
utils.zig update uses of overflow arithmetic builtins 2022-12-27 15:13:14 +02:00
xoodoo.zig crypto: add the Xoodoo permutation, prepare for Gimli deprecation (#11866) 2022-07-01 13:18:08 +02:00