Bignum Mod Tests: improve readabilty and style
Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
parent
339b439906
commit
6ef582f2b8
1 changed files with 3 additions and 3 deletions
|
@ -185,7 +185,7 @@ void mpi_mod_io( char * input_N, data_t * input_A, int endian )
|
|||
/* Read inputs */
|
||||
TEST_EQUAL( 0, mbedtls_test_read_mpi_core( &N, &n_limbs, input_N ) );
|
||||
n_bytes = n_limbs * sizeof( mbedtls_mpi_uint );
|
||||
a_bytes = input_A->len * sizeof( char );
|
||||
a_bytes = input_A->len;
|
||||
|
||||
/* Allocate the memory for intermediate data structures */
|
||||
ASSERT_ALLOC( R, n_bytes );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue