mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-18 10:23:20 +00:00
Compare final result with ASSERT_COMPARE
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
This commit is contained in:
parent
c81272461e
commit
11dd5c0b36
@ -1592,7 +1592,7 @@ void ecp_mod_mul_inv(char *input_A, int id, int ctype, int iret)
|
||||
TEST_EQUAL(mbedtls_mpi_mod_write(&rX, &m, (unsigned char *) bufx,
|
||||
limbs * sizeof(mbedtls_mpi_uint),
|
||||
MBEDTLS_MPI_MOD_EXT_REP_LE), 0);
|
||||
TEST_EQUAL(memcmp(bufx, one, sizeof(one)), 0);
|
||||
ASSERT_COMPARE(bufx, 2, one, 2);
|
||||
|
||||
|
||||
exit:
|
||||
|
Loading…
Reference in New Issue
Block a user