From 2c62441f965b1c10edd4e3d62da218fcb971cfa9 Mon Sep 17 00:00:00 2001 From: Janos Follath Date: Thu, 15 Aug 2024 15:53:07 +0100 Subject: [PATCH] Fix mpi_core_exp_mod documentation Signed-off-by: Janos Follath --- library/bignum_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/bignum_core.c b/library/bignum_core.c index f46df0c8c7..150bc766b2 100644 --- a/library/bignum_core.c +++ b/library/bignum_core.c @@ -866,7 +866,7 @@ static void mbedtls_mpi_core_exp_mod_optionally_safe(mbedtls_mpi_uint *X, const mbedtls_mpi_uint mm = mbedtls_mpi_core_montmul_init(N); - /* Set Wtable[i] = A^(2^i) (in Montgomery representation) */ + /* Set Wtable[i] = A^i (in Montgomery representation) */ exp_mod_precompute_window(A, N, AN_limbs, mm, RR, welem, Wtable, temp);