Home
last modified time | relevance | path

Searched refs:actual_bits (Results 1 – 2 of 2) sorted by relevance

/third_party/mbedtls/tests/src/
Dasn1_helpers.c35 size_t actual_bits; in mbedtls_test_asn1_skip_integer() local
58 actual_bits = 8 * ( len - 1 ); in mbedtls_test_asn1_skip_integer()
62 ++actual_bits; in mbedtls_test_asn1_skip_integer()
64 TEST_ASSERT( actual_bits >= min_bits ); in mbedtls_test_asn1_skip_integer()
65 TEST_ASSERT( actual_bits <= max_bits ); in mbedtls_test_asn1_skip_integer()
/third_party/mbedtls/tests/suites/
Dtest_suite_mpi.function1158 size_t actual_bits = mbedtls_mpi_bitlen( &X );
1160 TEST_ASSERT( actual_bits >= (size_t) bits );
1161 TEST_ASSERT( actual_bits <= (size_t) bits + 1 );