mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-24 23:48:14 +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:
parent
77bd479825
commit
11a81cd7dd
@ -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 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
|
* \param[in,out] X The pointer to the (little-endian) array
|
||||||
* representing the bignum to accumulate onto.
|
* representing the bignum to accumulate onto.
|
||||||
* \param X_limbs The number of limbs of \p X. This must be
|
* \param X_limbs The number of limbs of \p X. This must be
|
||||||
|
Loading…
x
Reference in New Issue
Block a user