From 575938e806572e47e8959eaf2af87cd1bf265240 Mon Sep 17 00:00:00 2001 From: Chien Wong Date: Wed, 27 Dec 2023 21:22:31 +0800 Subject: [PATCH] Fix a comment in ecp Fixes: 5521b4ce37b2b7768a66c3a2b5a2fcff200ca11a Signed-off-by: Chien Wong --- library/ecp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ecp.c b/library/ecp.c index 31a6b9e305..f67b4d057c 100644 --- a/library/ecp.c +++ b/library/ecp.c @@ -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; }