Skip to content

Commit

Permalink
Fix a comment in ecp
Browse files Browse the repository at this point in the history
Fixes: 5521b4c
Signed-off-by: Chien Wong <[email protected]>
  • Loading branch information
ivq committed Dec 27, 2023
1 parent 0071830 commit 575938e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/ecp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 575938e

Please sign in to comment.