Searched refs:exported_length (Results 1 – 7 of 7) sorted by relevance
/mbedtls-latest/tests/src/ |
D | psa_exercise_key.c | 845 const uint8_t *exported, size_t exported_length) in mbedtls_test_psa_exported_key_sanity_check() argument 847 TEST_ASSERT(exported_length <= PSA_EXPORT_KEY_OUTPUT_SIZE(type, bits)); in mbedtls_test_psa_exported_key_sanity_check() 850 TEST_EQUAL(exported_length, PSA_BITS_TO_BYTES(bits)); in mbedtls_test_psa_exported_key_sanity_check() 856 const uint8_t *end = exported + exported_length; in mbedtls_test_psa_exported_key_sanity_check() 905 TEST_ASSERT(exported_length <= PSA_EXPORT_KEY_PAIR_MAX_SIZE); in mbedtls_test_psa_exported_key_sanity_check() 911 TEST_EQUAL(exported_length, PSA_BITS_TO_BYTES(bits)); in mbedtls_test_psa_exported_key_sanity_check() 913 TEST_ASSERT(exported_length <= PSA_EXPORT_KEY_PAIR_MAX_SIZE); in mbedtls_test_psa_exported_key_sanity_check() 919 const uint8_t *end = exported + exported_length; in mbedtls_test_psa_exported_key_sanity_check() 939 TEST_ASSERT(exported_length <= in mbedtls_test_psa_exported_key_sanity_check() 941 TEST_ASSERT(exported_length <= in mbedtls_test_psa_exported_key_sanity_check() [all …]
|
/mbedtls-latest/tests/suites/ |
D | test_suite_psa_crypto_slot_management.function | 831 size_t exported_length; 857 &exported_length)); 858 TEST_MEMORY_COMPARE(exported, exported_length, 888 size_t exported_length; 932 &exported_length)); 933 TEST_MEMORY_COMPARE(exported, exported_length, 961 &exported_length)); 963 TEST_MEMORY_COMPARE(exported, exported_length, 966 TEST_MEMORY_COMPARE(exported, exported_length, 989 size_t exported_length; [all …]
|
D | test_suite_psa_crypto_persistent_key.function | 265 size_t exported_length; 306 &exported_length)); 308 TEST_MEMORY_COMPARE(data->x, data->len, exported, exported_length);
|
D | test_suite_psa_crypto_se_driver_hal_mocks.function | 399 size_t exported_length; 425 &exported_length) == expected_result); 516 size_t exported_length; 541 &exported_length) == expected_result);
|
D | test_suite_psa_crypto.function | 1247 size_t exported_length = SIZE_MAX; 1253 &exported_length)); 1255 uint8_t *end = exported + exported_length; 1762 size_t exported_length = INVALID_EXPORT_LENGTH; 1796 status = psa_export_key(key, exported, export_size, &exported_length); 1801 TEST_ASSERT(exported_length != INVALID_EXPORT_LENGTH); 1802 TEST_ASSERT(status == PSA_SUCCESS || exported_length == 0); 1803 TEST_LE_U(exported_length, export_size); 1805 TEST_ASSERT(mem_is_char(exported + exported_length, 0, 1806 export_size - exported_length)); [all …]
|
D | test_suite_psa_crypto_se_driver_hal.function | 888 size_t exported_length; 982 &exported_length)); 984 exported, exported_length);
|
/mbedtls-latest/tests/include/test/ |
D | psa_exercise_key.h | 201 const uint8_t *exported, size_t exported_length);
|