mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-08-14 23:27:50 +00:00
bignum: fix a typo in a comment
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 <[email protected]>
This commit is contained in:
+1
-1
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user