From 2b5bf4cec7166e126b5f68bb1c2bafa8973ea2d2 Mon Sep 17 00:00:00 2001 From: Gabor Mezei Date: Mon, 26 Sep 2022 17:09:58 +0200 Subject: [PATCH] Fix doumentation Signed-off-by: Gabor Mezei --- library/bignum_core.h | 2 +- library/bignum_mod_raw.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/bignum_core.h b/library/bignum_core.h index cb932388e..d8951486c 100644 --- a/library/bignum_core.h +++ b/library/bignum_core.h @@ -101,7 +101,7 @@ void mbedtls_mpi_core_cond_assign( mbedtls_mpi_uint *X, unsigned char assign ); /** - * \brief Perform a safe conditional copy of MPI which doesn't reveal whether + * \brief Perform a safe conditional swap of MPI which doesn't reveal whether * the condition was true or not. * * \param[IN,OUT] X The address of the first MPI. diff --git a/library/bignum_mod_raw.h b/library/bignum_mod_raw.h index bdd2eada9..82a8ce851 100644 --- a/library/bignum_mod_raw.h +++ b/library/bignum_mod_raw.h @@ -58,7 +58,7 @@ void mbedtls_mpi_mod_raw_cond_assign( mbedtls_mpi_uint *X, unsigned char assign ); /** - * \brief Perform a safe conditional copy of MPI which doesn't reveal whether + * \brief Perform a safe conditional swap of MPI which doesn't reveal whether * the condition was true or not. * * \param[IN,OUT] X The address of the first MPI. This must be initialized.