mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-05 03:24:17 -04:00
comments and whitespace
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
This commit is contained in:
parent
2ff77119df
commit
369bfb94c5
@ -774,7 +774,7 @@ static int mbedtls_ecp_sw_derive_y( const mbedtls_ecp_group *grp,
|
||||
int parity_bit )
|
||||
{
|
||||
/* y^2 = x^3 + ax + b
|
||||
* sqrt(w) = w^((p+1)/4) mod p (for prime p where p = 3 mod 4)
|
||||
* 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
|
||||
* was indeed a square so this function will return garbage in Y if X
|
||||
|
Loading…
x
Reference in New Issue
Block a user