Bignum Mod Tests: improve readabilty and style

Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
Janos Follath 2022-11-26 14:19:02 +00:00
parent 339b439906
commit 6ef582f2b8

View File

@ -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 );