mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 12:36:01 -07:00
parent
64129657a5
commit
7052e4733f
@ -2739,7 +2739,7 @@ ge25519_from_hash(unsigned char s[32], const unsigned char h[64])
|
|||||||
fe25519_reduce64(fe_f, h);
|
fe25519_reduce64(fe_f, h);
|
||||||
ge25519_elligator2(x, y, fe_f, ¬square);
|
ge25519_elligator2(x, y, fe_f, ¬square);
|
||||||
|
|
||||||
y_sign = notsquare;
|
y_sign = notsquare ^ 1;
|
||||||
fe25519_neg(negy, y);
|
fe25519_neg(negy, y);
|
||||||
fe25519_cmov(y, negy, fe25519_isnegative(y) ^ y_sign);
|
fe25519_cmov(y, negy, fe25519_isnegative(y) ^ y_sign);
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
NU with oversized context: 998ca2fdd0ade350cb6c279173dfd4a6a42f46ca5c2928871aacff60c1654663
|
NU with oversized context: 998ca2fdd0ade350cb6c279173dfd4a6a42f46ca5c2928871aacff60c16546e3
|
||||||
RO with oversized context: 5ed4ae2ab665a7a9543f6e9887dc8f8f68a7720fdf32b971f3be71d9c9549f74
|
RO with oversized context: 5ed4ae2ab665a7a9543f6e9887dc8f8f68a7720fdf32b971f3be71d9c9549ff4
|
||||||
OK
|
OK
|
||||||
|
Loading…
Reference in New Issue
Block a user