1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-05-23 23:21:23 +08:00

Add comment to mbedtls_mpi_core_mla() to indicate it is costant time

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
Waleed Elmelegy 2024-05-23 08:01:58 +00:00
parent 77bd479825
commit 11a81cd7dd

View File

@ -397,6 +397,9 @@ mbedtls_mpi_uint mbedtls_mpi_core_sub(mbedtls_mpi_uint *X,
*
* This function operates modulo `2^(biL*X_limbs)`.
*
* This function operates in constant time with respect to the values
* of \p X and \p A and \p b.
*
* \param[in,out] X The pointer to the (little-endian) array
* representing the bignum to accumulate onto.
* \param X_limbs The number of limbs of \p X. This must be