From caac83c517effd6dedf29767874708bf751ddc03 Mon Sep 17 00:00:00 2001 From: Gabor Mezei Date: Tue, 16 May 2023 17:41:26 +0200 Subject: [PATCH] Fix comment Signed-off-by: Gabor Mezei --- library/ecp_curves.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ecp_curves.c b/library/ecp_curves.c index c217c40a8..149697087 100644 --- a/library/ecp_curves.c +++ b/library/ecp_curves.c @@ -5532,7 +5532,7 @@ cleanup: * Fast quasi-reduction modulo P = 2^s - R, * with R about 33 bits, used by the Koblitz curves. * - * Write N as A0 + 2^224 A1, return A0 + R * A1. + * Write X as A0 + 2^224 A1, return A0 + R * A1. */ #define P_KOBLITZ_R (8 / sizeof(mbedtls_mpi_uint)) // Limbs in R