Searched refs:mbedtls_test_driver_key_agreement_hooks (Results 1 – 3 of 3) sorted by relevance
29 mbedtls_test_driver_key_agreement_hooks = MBEDTLS_TEST_DRIVER_KEY_AGREEMENT_INIT; variable42 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()
37 mbedtls_test_driver_key_agreement_hooks;
965 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 =