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
..
2021-05-20 17:14:18 +02:00
2021-05-08 15:15:30 +03:00
2021-05-20 17:14:18 +02:00
2021-06-21 17:03:03 -07:00
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00
2021-06-21 17:03:03 -07:00
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00
2021-05-20 17:14:18 +02:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-05-08 15:15:30 +03:00
2021-05-08 15:15:30 +03:00