Home
last modified time | relevance | path

Searched refs:mbedtls_test_driver_key_management_hooks (Results 1 – 3 of 3) sorted by relevance

/third_party/mbedtls/tests/src/drivers/
Dtest_driver_key_management.c42 mbedtls_test_driver_key_management_hooks = MBEDTLS_TEST_DRIVER_KEY_MANAGEMENT_INIT; variable
196 ++mbedtls_test_driver_key_management_hooks.hits; in mbedtls_test_transparent_generate_key()
198 if( mbedtls_test_driver_key_management_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_generate_key()
199 return( mbedtls_test_driver_key_management_hooks.forced_status ); in mbedtls_test_transparent_generate_key()
201 if( mbedtls_test_driver_key_management_hooks.forced_output != NULL ) in mbedtls_test_transparent_generate_key()
203 if( mbedtls_test_driver_key_management_hooks.forced_output_length > in mbedtls_test_transparent_generate_key()
206 memcpy( key, mbedtls_test_driver_key_management_hooks.forced_output, in mbedtls_test_transparent_generate_key()
207 mbedtls_test_driver_key_management_hooks.forced_output_length ); in mbedtls_test_transparent_generate_key()
208 *key_length = mbedtls_test_driver_key_management_hooks.forced_output_length; in mbedtls_test_transparent_generate_key()
262 ++mbedtls_test_driver_key_management_hooks.hits; in mbedtls_test_transparent_import_key()
[all …]
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function257 mbedtls_test_driver_key_management_hooks =
269 mbedtls_test_driver_key_management_hooks.forced_output =
273 mbedtls_test_driver_key_management_hooks.forced_output_length =
277 mbedtls_test_driver_key_management_hooks.hits = 0;
278 mbedtls_test_driver_key_management_hooks.forced_status = force_status;
283 TEST_EQUAL( mbedtls_test_driver_key_management_hooks.hits, 1 );
310 mbedtls_test_driver_key_management_hooks =
327 mbedtls_test_driver_key_management_hooks =
335 mbedtls_test_driver_key_management_hooks.forced_status = force_status;
340 TEST_EQUAL( mbedtls_test_driver_key_management_hooks.hits, 1 );
[all …]
/third_party/mbedtls/tests/include/test/drivers/
Dkey_management.h67 mbedtls_test_driver_key_management_hooks;