Fix a comment in ecp

Fixes: 5521b4ce37b2b7768a66c3a2b5a2fcff200ca11a
Signed-off-by: Chien Wong <m@xv97.com>
This commit is contained in:
Chien Wong 2023-12-27 21:22:31 +08:00
parent 0071830a4f
commit 575938e806
No known key found for this signature in database
GPG Key ID: 5CA58A39FA4122AD

View File

@ -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 */
MOD_ADD(RP.X);
/* Randomize coordinates of the starting point */
#if defined(MBEDTLS_ECP_NO_INTERNAL_RNG)
/* Derandomize coordinates of the starting point */
if (f_rng == NULL) {
have_rng = 0;
}