zig/lib/std/crypto
Andrew Kelley 7178451d62 std.crypto.tls.Client: make close_notify optional
Although RFC 8446 states:

> Each party MUST send a "close_notify" alert before closing its write
> side of the connection

In practice many servers do not do this. Also in practice, truncation
attacks are thwarted at the application layer by comparing the amount of
bytes received with the amount expected via the HTTP headers.
2023-01-02 18:27:38 -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.tls.Certificate: make the current time a parameter 2023-01-02 16:57:16 -07:00
pcurves update uses of overflow arithmetic builtins 2022-12-27 15:13:14 +02:00
tls std.crypto.tls.Client: make close_notify optional 2023-01-02 18:27:38 -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 std: add writer methods on all crypto.hash types (#10168) 2021-11-20 01:37:17 -08:00
blake3.zig std: avoid vector usage with the C backend 2022-11-01 20:38:37 -04:00
Certificate.zig std.crypto.tls.Certificate: make the current time a parameter 2023-01-02 16:57:16 -07:00
chacha20.zig replace other uses of std.meta.Vector with @Vector (#11346) 2022-03-30 14:12:14 -04:00
ecdsa.zig std.sign.ecdsa: add support for incremental signatures (#13332) 2022-10-28 16:25:37 +02:00
errors.zig std/crypto: use finer-grained error sets in function signatures (#8558) 2021-04-20 19:57:27 +02:00
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 remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
isap.zig std: update usage of std.testing 2021-05-08 15:15:30 +03:00
md5.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
modes.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
pbkdf2.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
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 remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
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 std: add writer methods on all crypto.hash types (#10168) 2021-11-20 01:37:17 -08:00
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 remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
tlcsprng.zig stage1, stage2: rename c_void to anyopaque (#10316) 2021-12-19 00:24:45 -05:00
tls.zig std.crypto.tls: add API for sending close_notify 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