Lines Matching refs:exported_length

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()
948 TEST_ASSERT(exported_length <= in mbedtls_test_psa_exported_key_sanity_check()
950 TEST_ASSERT(exported_length <= in mbedtls_test_psa_exported_key_sanity_check()
956 TEST_EQUAL(PSA_BITS_TO_BYTES(bits), exported_length); in mbedtls_test_psa_exported_key_sanity_check()
960 TEST_EQUAL(PSA_BITS_TO_BYTES(bits + 1), exported_length); in mbedtls_test_psa_exported_key_sanity_check()
968 TEST_EQUAL(1 + 2 * PSA_BITS_TO_BYTES(bits), exported_length); in mbedtls_test_psa_exported_key_sanity_check()
973 TEST_ASSERT(exported_length == in mbedtls_test_psa_exported_key_sanity_check()
975 TEST_ASSERT(exported_length <= in mbedtls_test_psa_exported_key_sanity_check()
1012 size_t exported_length = 0; in exercise_export_key() local
1028 status = psa_export_key(key, exported, exported_size, &exported_length); in exercise_export_key()
1042 exported, exported_length); in exercise_export_key()
1062 size_t exported_length = 0; in exercise_export_public_key() local
1079 exported_size, &exported_length); in exercise_export_public_key()
1097 exported_size, &exported_length); in exercise_export_public_key()
1106 exported, exported_length); in exercise_export_public_key()