From cbfd5e9db77c720e7f18b95be8f6ac90f6b6dd7b Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Fri, 16 Dec 2022 11:03:20 -0500 Subject: [PATCH] comment Signed-off-by: Glenn Strauss --- library/ecp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ecp.c b/library/ecp.c index 8243848264..498a0c48b0 100644 --- a/library/ecp.c +++ b/library/ecp.c @@ -773,7 +773,7 @@ static int mbedtls_ecp_sw_derive_y( const mbedtls_ecp_group *grp, mbedtls_mpi *Y, int parity_bit ) { - /* y^2 = x^3 + ax + b + /* w = y^2 = x^3 + ax + b * y = sqrt(w) = w^((p+1)/4) mod p (for prime p where p = 3 mod 4) * * Note: this method for extracting square root does not validate that w