From c6a1f9c83899cefd94612b59da682d4d9856a63a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 26 May 2026 10:06:50 +0200 Subject: [PATCH] bignum: fix a typo in a comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The exact value doesn't matter anyway, but since we mention it, it might as well be correct. Signed-off-by: Manuel Pégourié-Gonnard --- library/bignum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/bignum.c b/library/bignum.c index 754462a10d..03201a99a3 100644 --- a/library/bignum.c +++ b/library/bignum.c @@ -2128,7 +2128,7 @@ static int mpi_check_small_factors(const mbedtls_mpi *X) } /* We can't directly use mbedtls_mpi_gcd_modinv_odd() because we don't know - * if X is larger than prod or not (prod is 1379 bits). So, use this generic + * if X is larger than prod or not (prod is 1380 bits). So, use this generic * wrapper - it does a bit more than what we need (handles even inputs as * well, while we know our inputs are both odd), but that's OK. */ MBEDTLS_MPI_CHK(mbedtls_mpi_gcd(&g, &small_primes_product, X));