Add a comment where coordinates are expected to be normalized

This commit is contained in:
Frank Denis
2023-11-08 07:38:04 +01:00
parent faa9bc6ea4
commit 420356c58a
@@ -56,6 +56,7 @@ crypto_sign_ed25519_pk_to_curve25519(unsigned char *curve25519_pk,
return -1;
}
fe25519_1(one_minus_y);
/* assumes A.Z=1 */
fe25519_sub(one_minus_y, one_minus_y, A.Y);
fe25519_1(x);
fe25519_add(x, x, A.Y);