Home
last modified time | relevance | path

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

/mbedtls-3.5.0/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()
61 ++actual_bits; in mbedtls_test_asn1_skip_integer()
63 TEST_ASSERT(actual_bits >= min_bits); in mbedtls_test_asn1_skip_integer()
64 TEST_ASSERT(actual_bits <= max_bits); in mbedtls_test_asn1_skip_integer()
/mbedtls-3.5.0/tests/suites/
Dtest_suite_bignum.function1145 size_t actual_bits = mbedtls_mpi_bitlen(&X);
1147 TEST_ASSERT(actual_bits >= (size_t) bits);
1148 TEST_ASSERT(actual_bits <= (size_t) bits + 1);