zig/lib/std/crypto
Frank Denis 680fa880d6
std.crypto: handle the top bit in 25519.field.fromBytes64() (#9435)
The only known use case for this is the hash-to-curve operation where the top bit is always cleared.

But the function is public, so let's make it work as one would expect in the general case.

Also fix the comment by the way.
2021-07-22 01:27:42 +02:00
..
25519 std.crypto: handle the top bit in 25519.field.fromBytes64() (#9435) 2021-07-22 01:27:42 +02:00
aes std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
pcurves std.crypto.p256: fix neg function compile error 2021-06-21 17:03:03 -07:00
aegis.zig Run zig fmt on src/ and lib/std/ 2021-05-20 17:14:18 +02:00
aes.zig aes 128-bit key expansion test - properly test the inverse round keys (#9065) 2021-06-10 12:58:50 +02:00
aes_gcm.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
aes_ocb.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
bcrypt.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
benchmark.zig CLI: rename --override-lib-dir to --zig-lib-dir 2021-06-14 11:33:27 -07:00
blake2.zig std: update usage of std.testing 2021-05-08 15:15:30 +03:00
blake3.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
chacha20.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
errors.zig
ghash.zig Run zig fmt on src/ and lib/std/ 2021-05-20 17:14:18 +02:00
gimli.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
hkdf.zig std: update usage of std.testing 2021-05-08 15:15:30 +03:00
hmac.zig std: update usage of std.testing 2021-05-08 15:15:30 +03:00
isap.zig std: update usage of std.testing 2021-05-08 15:15:30 +03:00
md5.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
modes.zig std: remove redundant comptime keyword 2021-04-28 22:58:12 -07:00
pbkdf2.zig std: update usage of std.testing 2021-05-08 15:15:30 +03:00
poly1305.zig std: update usage of std.testing 2021-05-08 15:15:30 +03:00
salsa20.zig Run zig fmt on src/ and lib/std/ 2021-05-20 17:14:18 +02:00
sha1.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
sha2.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
sha3.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
siphash.zig std: update usage of std.testing 2021-05-08 15:15:30 +03:00
test.zig std: update usage of std.testing 2021-05-08 15:15:30 +03:00
tlcsprng.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
utils.zig std.crypto: timing-safe functions to add&subtract serialized integers (#8977) 2021-06-06 16:37:58 +02:00