Home
last modified time | relevance | path

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

/third_party/mbedtls/tests/src/drivers/
Dtest_driver_signature.c50 mbedtls_test_driver_signature_sign_hooks = MBEDTLS_TEST_DRIVER_SIGNATURE_INIT; variable
221 ++mbedtls_test_driver_signature_sign_hooks.hits; in mbedtls_test_transparent_signature_sign_message()
223 if( mbedtls_test_driver_signature_sign_hooks.forced_status != PSA_SUCCESS ) in mbedtls_test_transparent_signature_sign_message()
224 return( mbedtls_test_driver_signature_sign_hooks.forced_status ); in mbedtls_test_transparent_signature_sign_message()
226 if( mbedtls_test_driver_signature_sign_hooks.forced_output != NULL ) in mbedtls_test_transparent_signature_sign_message()
228 if( mbedtls_test_driver_signature_sign_hooks.forced_output_length > signature_size ) in mbedtls_test_transparent_signature_sign_message()
231 memcpy( signature, mbedtls_test_driver_signature_sign_hooks.forced_output, in mbedtls_test_transparent_signature_sign_message()
232 mbedtls_test_driver_signature_sign_hooks.forced_output_length ); in mbedtls_test_transparent_signature_sign_message()
233 *signature_length = mbedtls_test_driver_signature_sign_hooks.forced_output_length; in mbedtls_test_transparent_signature_sign_message()
354 ++mbedtls_test_driver_signature_sign_hooks.hits; in mbedtls_test_transparent_signature_sign_hash()
[all …]
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function26 mbedtls_test_driver_signature_sign_hooks =
38 mbedtls_test_driver_signature_sign_hooks.forced_status = force_status;
41 mbedtls_test_driver_signature_sign_hooks.forced_output =
43 mbedtls_test_driver_signature_sign_hooks.forced_output_length =
57 TEST_EQUAL( mbedtls_test_driver_signature_sign_hooks.hits, 1 );
63 mbedtls_test_driver_signature_sign_hooks =
140 mbedtls_test_driver_signature_sign_hooks =
152 mbedtls_test_driver_signature_sign_hooks.forced_status = force_status;
155 mbedtls_test_driver_signature_sign_hooks.forced_output =
157 mbedtls_test_driver_signature_sign_hooks.forced_output_length =
[all …]
/third_party/mbedtls/tests/include/test/drivers/
Dsignature.h49 mbedtls_test_driver_signature_sign_hooks;