From a274041190c48d9c78b24ae68254233d1a12ab32 Mon Sep 17 00:00:00 2001 From: Gabor Mezei Date: Mon, 15 May 2023 14:50:17 +0200 Subject: [PATCH] Fix comment Signed-off-by: Gabor Mezei --- library/ecp_curves.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/ecp_curves.c b/library/ecp_curves.c index c506dad874..b07753a074 100644 --- a/library/ecp_curves.c +++ b/library/ecp_curves.c @@ -5570,8 +5570,8 @@ static inline int ecp_mod_koblitz(mbedtls_mpi_uint *X, mask = ((mbedtls_mpi_uint) 1 << shift) - 1; } - /* Two pass is needed for reducing the value of `A0 + R * A1` and - * need an additional one to reduce the possible overflow during + /* Two passes are needed to reduce the value of `A0 + R * A1` and then + * we need an additional one to reduce the possible overflow during * the addition. */ for (size_t pass = 0; pass < 3; pass++) {