mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01:00
Change the input parameters to be const
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
2b5bf4cec7
commit
81e57021c6
|
|
@ -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 );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue