mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-20 16:42:59 +03:00
Change the input parameters to be const
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
@ -42,7 +42,7 @@
|
|||||||
#include "constant_time_internal.h"
|
#include "constant_time_internal.h"
|
||||||
|
|
||||||
void mbedtls_mpi_mod_raw_cond_assign( mbedtls_mpi_uint *X,
|
void mbedtls_mpi_mod_raw_cond_assign( mbedtls_mpi_uint *X,
|
||||||
mbedtls_mpi_uint *Y,
|
const mbedtls_mpi_uint *Y,
|
||||||
const mbedtls_mpi_mod_modulus *m,
|
const mbedtls_mpi_mod_modulus *m,
|
||||||
unsigned char assign )
|
unsigned char assign )
|
||||||
{
|
{
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
* neither its original value nor the value in \p Y.
|
* neither its original value nor the value in \p Y.
|
||||||
*/
|
*/
|
||||||
void mbedtls_mpi_mod_raw_cond_assign( mbedtls_mpi_uint *X,
|
void mbedtls_mpi_mod_raw_cond_assign( mbedtls_mpi_uint *X,
|
||||||
mbedtls_mpi_uint *Y,
|
const mbedtls_mpi_uint *Y,
|
||||||
const mbedtls_mpi_mod_modulus *m,
|
const mbedtls_mpi_mod_modulus *m,
|
||||||
unsigned char assign );
|
unsigned char assign );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user