Home
last modified time | relevance | path

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

/mbedtls-3.7.0/tests/src/drivers/
Dtest_driver_key_agreement.c29 mbedtls_test_driver_key_agreement_hooks = MBEDTLS_TEST_DRIVER_KEY_AGREEMENT_INIT; variable
42 mbedtls_test_driver_key_agreement_hooks.hits++; in mbedtls_test_transparent_key_agreement()
44 if (mbedtls_test_driver_key_agreement_hooks.forced_status != PSA_SUCCESS) { in mbedtls_test_transparent_key_agreement()
45 return mbedtls_test_driver_key_agreement_hooks.forced_status; in mbedtls_test_transparent_key_agreement()
48 if (mbedtls_test_driver_key_agreement_hooks.forced_output != NULL) { in mbedtls_test_transparent_key_agreement()
49 if (mbedtls_test_driver_key_agreement_hooks.forced_output_length > shared_secret_size) { in mbedtls_test_transparent_key_agreement()
53 memcpy(shared_secret, mbedtls_test_driver_key_agreement_hooks.forced_output, in mbedtls_test_transparent_key_agreement()
54 mbedtls_test_driver_key_agreement_hooks.forced_output_length); in mbedtls_test_transparent_key_agreement()
55 *shared_secret_length = mbedtls_test_driver_key_agreement_hooks.forced_output_length; in mbedtls_test_transparent_key_agreement()
/mbedtls-3.7.0/tests/include/test/drivers/
Dkey_agreement.h37 mbedtls_test_driver_key_agreement_hooks;
/mbedtls-3.7.0/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function965 mbedtls_test_driver_key_agreement_hooks =
987 mbedtls_test_driver_key_agreement_hooks.forced_output =
991 mbedtls_test_driver_key_agreement_hooks.forced_output_length =
998 mbedtls_test_driver_key_agreement_hooks.hits = 0;
999 mbedtls_test_driver_key_agreement_hooks.forced_status = force_status;
1007 TEST_EQUAL(mbedtls_test_driver_key_agreement_hooks.hits, 1);
1021 mbedtls_test_driver_key_agreement_hooks =