mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Remove retrun code from mod_raw_cond_assign/swap
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
@ -41,22 +41,22 @@
|
||||
#include "bignum_mod.h"
|
||||
#include "constant_time_internal.h"
|
||||
|
||||
int mbedtls_mpi_mod_raw_cond_assign( mbedtls_mpi_uint *X,
|
||||
mbedtls_mpi_uint *Y,
|
||||
const mbedtls_mpi_mod_modulus *m,
|
||||
unsigned char assign )
|
||||
void mbedtls_mpi_mod_raw_cond_assign( mbedtls_mpi_uint *X,
|
||||
mbedtls_mpi_uint *Y,
|
||||
const mbedtls_mpi_mod_modulus *m,
|
||||
unsigned char assign )
|
||||
{
|
||||
return mbedtls_mpi_core_cond_assign( X, m->limbs,
|
||||
Y, m->limbs, assign );
|
||||
mbedtls_mpi_core_cond_assign( X, m->limbs,
|
||||
Y, m->limbs, assign );
|
||||
}
|
||||
|
||||
int mbedtls_mpi_mod_raw_cond_swap( mbedtls_mpi_uint *X,
|
||||
mbedtls_mpi_uint *Y,
|
||||
const mbedtls_mpi_mod_modulus *m,
|
||||
unsigned char swap )
|
||||
void mbedtls_mpi_mod_raw_cond_swap( mbedtls_mpi_uint *X,
|
||||
mbedtls_mpi_uint *Y,
|
||||
const mbedtls_mpi_mod_modulus *m,
|
||||
unsigned char swap )
|
||||
{
|
||||
return mbedtls_mpi_core_cond_swap( X, m->limbs,
|
||||
Y, m->limbs, swap );
|
||||
mbedtls_mpi_core_cond_swap( X, m->limbs,
|
||||
Y, m->limbs, swap );
|
||||
}
|
||||
|
||||
int mbedtls_mpi_mod_raw_read( mbedtls_mpi_uint *X,
|
||||
|
Reference in New Issue
Block a user