Searched refs:exported_size (Results 1 – 3 of 3) sorted by relevance
/mbedtls-latest/tests/src/ |
D | psa_exercise_key.c | 1011 size_t exported_size = 0; in exercise_export_key() local 1023 exported_size = PSA_EXPORT_KEY_OUTPUT_SIZE( in exercise_export_key() 1026 TEST_CALLOC(exported, exported_size); in exercise_export_key() 1028 status = psa_export_key(key, exported, exported_size, &exported_length); in exercise_export_key() 1061 size_t exported_size = 0; in exercise_export_public_key() local 1073 exported_size = PSA_EXPORT_KEY_OUTPUT_SIZE( in exercise_export_public_key() 1076 TEST_CALLOC(exported, exported_size); in exercise_export_public_key() 1079 exported_size, &exported_length); in exercise_export_public_key() 1092 exported_size = PSA_EXPORT_PUBLIC_KEY_OUTPUT_SIZE(public_type, in exercise_export_public_key() 1094 TEST_CALLOC(exported, exported_size); in exercise_export_public_key() [all …]
|
/mbedtls-latest/tests/suites/ |
D | test_suite_ecp.function | 1258 int exported_size, int expected_ret) 1266 TEST_CALLOC(exported, exported_size); 1267 TEST_EQUAL(mbedtls_ecp_write_key(&key, exported, exported_size), 1276 if ((size_t) exported_size < length) { 1277 length = exported_size; 1279 key_start = exported + exported_size - length; 1283 TEST_LE_U(length, exported_size); 1303 for (size_t i = 0; i < exported_size - length; i++) { 1318 int exported_size, int expected_ret) 1330 TEST_CALLOC(exported, exported_size); [all …]
|
D | test_suite_psa_crypto.function | 1245 size_t exported_size = 1250 TEST_CALLOC(exported, exported_size); 1252 exported, exported_size,
|