zig/lib/std/crypto/25519
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
..
curve25519.zig Run zig fmt on src/ and lib/std/ 2021-05-20 17:14:18 +02:00
ed25519.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
edwards25519.zig p256: update to the last fiat-crypto code & share PC tables 2021-05-27 16:35:10 -04:00
field.zig std.crypto: handle the top bit in 25519.field.fromBytes64() (#9435) 2021-07-22 01:27:42 +02:00
ristretto255.zig Run zig fmt on src/ and lib/std/ 2021-05-20 17:14:18 +02:00
scalar.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
x25519.zig std: update usage of std.testing 2021-05-08 15:15:30 +03:00