diff options
| author | Frank Denis <github@pureftpd.org> | 2021-11-08 14:55:27 +0100 |
|---|---|---|
| committer | Frank Denis <github@pureftpd.org> | 2021-11-08 14:55:27 +0100 |
| commit | bd8b94bd0ec592b62b8ae5637375a8d79cbe3e3b (patch) | |
| tree | 7e3e9de3eedaa71f1131f64f5928c33df35baf4e /src/codegen.zig | |
| parent | 6b5e403e5dcdd55baf318e8734b77ce4bc635fe9 (diff) | |
| download | zig-bd8b94bd0ec592b62b8ae5637375a8d79cbe3e3b.tar.gz zig-bd8b94bd0ec592b62b8ae5637375a8d79cbe3e3b.zip | |
crypto/edwards25519: correctly flip the Y sign in the H2C operation
No security implications, but the current hash-to-curve standard
defines the sign of the Y coordinate to be negative if `gx1`
is a square, positive otherwise.
We were doing it the other way round.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
