mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Fix a comment in ecp
Fixes: 5521b4ce37
Signed-off-by: Chien Wong <m@xv97.com>
This commit is contained in:
@ -2614,8 +2614,8 @@ static int ecp_mul_mxz(mbedtls_ecp_group *grp, mbedtls_ecp_point *R,
|
|||||||
/* RP.X might be slightly larger than P, so reduce it */
|
/* RP.X might be slightly larger than P, so reduce it */
|
||||||
MOD_ADD(RP.X);
|
MOD_ADD(RP.X);
|
||||||
|
|
||||||
|
/* Randomize coordinates of the starting point */
|
||||||
#if defined(MBEDTLS_ECP_NO_INTERNAL_RNG)
|
#if defined(MBEDTLS_ECP_NO_INTERNAL_RNG)
|
||||||
/* Derandomize coordinates of the starting point */
|
|
||||||
if (f_rng == NULL) {
|
if (f_rng == NULL) {
|
||||||
have_rng = 0;
|
have_rng = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user