mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-24 23:48:14 +08:00
Add comment to mbedtls_mpi_core_sub() to indicate it is costant time
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
parent
e27738308c
commit
a9fe03ea4e
@ -376,6 +376,9 @@ mbedtls_mpi_uint mbedtls_mpi_core_add_if(mbedtls_mpi_uint *X,
|
||||
* \p X may be aliased to \p A or \p B, or even both, but may not overlap
|
||||
* either otherwise.
|
||||
*
|
||||
* This function operates in constant time with respect to the values
|
||||
* of \p X and \p A and \p B.
|
||||
*
|
||||
* \param[out] X The result of the subtraction.
|
||||
* \param[in] A Little-endian presentation of left operand.
|
||||
* \param[in] B Little-endian presentation of right operand.
|
||||
|
Loading…
x
Reference in New Issue
Block a user