Searched refs:exported_length (Results 1 – 7 of 7) sorted by relevance
/openthread-latest/third_party/mbedtls/repo/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 …]
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_psa_crypto_slot_management.function | 806 size_t exported_length; 834 &exported_length)); 835 TEST_MEMORY_COMPARE(exported, exported_length, 853 size_t exported_length; 911 &exported_length)); 912 TEST_MEMORY_COMPARE(exported, exported_length, 929 size_t exported_length; 986 &exported_length)); 988 TEST_MEMORY_COMPARE(exported, exported_length, (uint8_t *) &i, sizeof(i)); 1015 &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 | 1269 size_t exported_length = SIZE_MAX; 1275 &exported_length)); 1277 uint8_t *end = exported + exported_length; 1782 size_t exported_length = INVALID_EXPORT_LENGTH; 1816 status = psa_export_key(key, exported, export_size, &exported_length); 1821 TEST_ASSERT(exported_length != INVALID_EXPORT_LENGTH); 1822 TEST_ASSERT(status == PSA_SUCCESS || exported_length == 0); 1823 TEST_LE_U(exported_length, export_size); 1825 TEST_ASSERT(mem_is_char(exported + exported_length, 0, 1826 export_size - exported_length)); [all …]
|
D | test_suite_psa_crypto_se_driver_hal.function | 873 size_t exported_length; 967 &exported_length)); 969 exported, exported_length);
|
/openthread-latest/third_party/mbedtls/repo/tests/include/test/ |
D | psa_exercise_key.h | 201 const uint8_t *exported, size_t exported_length);
|