aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank Denis <github@pureftpd.org>2021-11-08 14:55:27 +0100
committerFrank Denis <github@pureftpd.org>2021-11-08 14:55:27 +0100
commitbd8b94bd0ec592b62b8ae5637375a8d79cbe3e3b (patch)
tree7e3e9de3eedaa71f1131f64f5928c33df35baf4e /src
parent6b5e403e5dcdd55baf318e8734b77ce4bc635fe9 (diff)
downloadzig-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')
0 files changed, 0 insertions, 0 deletions