1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-19 05:43:14 +03:00

Change the input parameters to be const

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei
2022-09-26 17:13:33 +02:00
parent 2b5bf4cec7
commit 81e57021c6
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
#include "constant_time_internal.h"
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,
unsigned char assign )
{

View File

@ -53,7 +53,7 @@
* neither its original value nor the value in \p Y.
*/
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,
unsigned char assign );