Add a const annotation to the non-changing argument of mpi_sub_mul
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
6abc20e0e3
commit
742f1a4528
1 changed files with 3 additions and 1 deletions
|
@ -1330,7 +1330,9 @@ cleanup:
|
||||||
/*
|
/*
|
||||||
* Helper for mbedtls_mpi subtraction
|
* Helper for mbedtls_mpi subtraction
|
||||||
*/
|
*/
|
||||||
static void mpi_sub_hlp( size_t n, mbedtls_mpi_uint *s, mbedtls_mpi_uint *d )
|
static void mpi_sub_hlp( size_t n,
|
||||||
|
const mbedtls_mpi_uint *s,
|
||||||
|
mbedtls_mpi_uint *d )
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
mbedtls_mpi_uint c, z;
|
mbedtls_mpi_uint c, z;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue