diff options
| author | Frank Denis <124872+jedisct1@users.noreply.github.com> | 2021-07-22 01:27:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-22 01:27:42 +0200 |
| commit | 680fa880d63daa6058a084f1c107162e40e18aa8 (patch) | |
| tree | b5f8ceee481384db3ed12e97ecf19bb49179c058 /src/Compilation.zig | |
| parent | 8d0671157cdf8bc8b89d047138b42227420a5388 (diff) | |
| download | zig-680fa880d63daa6058a084f1c107162e40e18aa8.tar.gz zig-680fa880d63daa6058a084f1c107162e40e18aa8.zip | |
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.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
