mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Renamed mbedtls_mpi_get_montgomery_constant_unsafe to mpi_core_get_mont_R2_unsafe
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
This commit is contained in:
@ -511,8 +511,8 @@ void mbedtls_mpi_core_montmul( mbedtls_mpi_uint *X,
|
||||
mbedtls_ct_mpi_uint_cond_assign( AN_limbs, X, T, (unsigned char) ( carry ^ borrow ) );
|
||||
}
|
||||
|
||||
int mbedtls_mpi_get_montgomery_constant_unsafe( mbedtls_mpi *X,
|
||||
mbedtls_mpi const *N )
|
||||
int mbedtls_mpi_core_get_mont_R2_unsafe( mbedtls_mpi *X,
|
||||
mbedtls_mpi const *N )
|
||||
{
|
||||
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||
|
||||
|
@ -428,7 +428,7 @@ void mbedtls_mpi_core_montmul( mbedtls_mpi_uint *X,
|
||||
* \return #MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED \p N, \p X are NULL
|
||||
* or other operations fail.
|
||||
*/
|
||||
int mbedtls_mpi_get_montgomery_constant_unsafe( mbedtls_mpi *X,
|
||||
mbedtls_mpi const *N );
|
||||
int mbedtls_mpi_core_get_mont_R2_unsafe( mbedtls_mpi *X,
|
||||
mbedtls_mpi const *N );
|
||||
|
||||
#endif /* MBEDTLS_BIGNUM_CORE_H */
|
||||
|
Reference in New Issue
Block a user