Remove radix arg from mbedtls_test_read_mpi
All uses have radix argument removed, using script. Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
parent
78ddc3e8fc
commit
19b4cd893c
13 changed files with 255 additions and 256 deletions
|
@ -332,7 +332,7 @@ void mbedtls_test_err_add_check( int high, int low,
|
|||
#endif /* MBEDTLS_TEST_HOOKS */
|
||||
|
||||
#if defined(MBEDTLS_BIGNUM_C)
|
||||
int mbedtls_test_read_mpi( mbedtls_mpi *X, int radix, const char *s )
|
||||
int mbedtls_test_read_mpi( mbedtls_mpi *X, const char *s )
|
||||
{
|
||||
/* mbedtls_mpi_read_string() currently retains leading zeros.
|
||||
* It always allocates at least one limb for the value 0. */
|
||||
|
@ -342,6 +342,6 @@ int mbedtls_test_read_mpi( mbedtls_mpi *X, int radix, const char *s )
|
|||
return( 0 );
|
||||
}
|
||||
else
|
||||
return( mbedtls_mpi_read_string( X, radix, s ) );
|
||||
return( mbedtls_mpi_read_string( X, 16, s ) );
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue