Home
last modified time | relevance | path

Searched refs:ARRAY_LENGTH (Results 1 – 13 of 13) sorted by relevance

/mbedtls-3.5.0/tests/suites/
Dtest_suite_psa_crypto_se_driver_hal.data31 key_creation_import_export:TEST_SE_PERSISTENT_LIFETIME:ARRAY_LENGTH( ram_slots ) - 1:0
43 key_creation_import_export:TEST_SE_VOLATILE_LIFETIME:ARRAY_LENGTH( ram_slots ) - 1:0
55 key_creation_in_chosen_slot:ARRAY_LENGTH( ram_slots ) - 1:0:PSA_SUCCESS
61 key_creation_in_chosen_slot:ARRAY_LENGTH( ram_slots ) - 1:1:PSA_SUCCESS
64 key_creation_in_chosen_slot:ARRAY_LENGTH( ram_slots ):0:PSA_ERROR_INVALID_ARGUMENT
Dtest_suite_asn1write.function470 mbedtls_asn1_named_data *pointers[ARRAY_LENGTH(nd) + 1];
475 for (i = 0; i < ARRAY_LENGTH(nd); i++) {
478 pointers[ARRAY_LENGTH(nd)] = NULL;
479 for (i = 0; i < ARRAY_LENGTH(nd); i++) {
493 for (i = 0; i < ARRAY_LENGTH(nd); i++) {
505 for (i = 0; i < ARRAY_LENGTH(nd); i++) {
515 for (i = 0; i < ARRAY_LENGTH(nd); i++) {
Dtest_suite_psa_crypto_se_driver_hal.function243 /* A type with at least ARRAY_LENGTH(ram_slots) bits, containing a
272 DRIVER_ASSERT_RETURN(slot_number < ARRAY_LENGTH(ram_slots));
355 DRIVER_ASSERT_RETURN(slot_number < ARRAY_LENGTH(ram_slots));
376 DRIVER_ASSERT_RETURN(slot_number < ARRAY_LENGTH(ram_slots));
399 DRIVER_ASSERT_RETURN(slot_number < ARRAY_LENGTH(ram_slots));
417 *slot_number < ARRAY_LENGTH(ram_slots);
438 if (slot_number >= ARRAY_LENGTH(ram_slots)) {
459 DRIVER_ASSERT_RETURN(slot_number < ARRAY_LENGTH(ram_slots));
492 DRIVER_ASSERT_RETURN(slot_number < ARRAY_LENGTH(ram_slots));
Dtest_suite_asn1parse.function696 mbedtls_asn1_named_data *pointers[ARRAY_LENGTH(nd) + 1];
700 for (i = 0; i < ARRAY_LENGTH(nd); i++) {
703 pointers[ARRAY_LENGTH(nd)] = NULL;
704 for (i = 0; i < ARRAY_LENGTH(nd); i++) {
Dtest_suite_ssl.function2994 group_list[ARRAY_LENGTH(iana_tls_group_list) - 1],
2997 for (size_t i = 0; i < ARRAY_LENGTH(iana_tls_group_list); i++) {
3029 group_list[ARRAY_LENGTH(iana_tls_group_list) - 1],
3032 for (size_t i = 0; i < ARRAY_LENGTH(iana_tls_group_list); i++) {
Dhost_test.function617 ARRAY_LENGTH(unmet_dependencies)) {
Dtest_suite_psa_crypto.function3360 for (size_t i = 0; i < ARRAY_LENGTH(output_sizes_to_test); i++) {
8484 for (i = 0; i < ARRAY_LENGTH(steps); i++) {
8530 for (i = 0; i < ARRAY_LENGTH(keys); i++) {
8660 for (i = 0; i < ARRAY_LENGTH(expected_outputs); i++) {
8675 for (i = 0; i < ARRAY_LENGTH(steps); i++) {
8804 for (i = 0; i < ARRAY_LENGTH(expected_outputs); i++) {
8838 for (i = 0; i < ARRAY_LENGTH(keys); i++) {
/mbedtls-3.5.0/tests/include/test/
Dmacros.h228 #define ARRAY_LENGTH(array) \
235 #define ARRAY_LENGTH(array) ARRAY_LENGTH_UNSAFE(array)
/mbedtls-3.5.0/tests/src/
Dpsa_crypto_helpers.c52 if (num_key_ids_used == ARRAY_LENGTH(key_ids_used_in_test)) { in mbedtls_test_uses_key_id()
/mbedtls-3.5.0/library/
Dpsa_crypto_slot_management.c39 #define ARRAY_LENGTH(array) (sizeof(array) / sizeof(*(array))) macro
Dsha512.c1004 #define ARRAY_LENGTH(a) (sizeof(a) / sizeof((a)[0])) macro
1104 #undef ARRAY_LENGTH
Dssl_tls.c751 #define ARRAY_LENGTH(a) (sizeof(a) / sizeof(*(a))) macro
771 for (i = 0; i < ARRAY_LENGTH(ticket_flag_name_table); i++) { in mbedtls_ssl_print_ticket_flags()
Dpsa_crypto.c90 #define ARRAY_LENGTH(array) (sizeof(array) / sizeof(*(array))) macro