Home
last modified time | relevance | path

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

/mbedtls-3.4.0/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 …]
/mbedtls-3.4.0/tests/include/test/drivers/
Dsignature.h49 mbedtls_test_driver_signature_sign_hooks;
/mbedtls-3.4.0/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function104 mbedtls_test_driver_signature_sign_hooks =
116 mbedtls_test_driver_signature_sign_hooks.forced_status = force_status;
119 mbedtls_test_driver_signature_sign_hooks.forced_output =
121 mbedtls_test_driver_signature_sign_hooks.forced_output_length =
145 TEST_EQUAL( mbedtls_test_driver_signature_sign_hooks.hits, 1 );
152 mbedtls_test_driver_signature_sign_hooks =
237 mbedtls_test_driver_signature_sign_hooks =
248 mbedtls_test_driver_signature_sign_hooks.forced_status = force_status;
251 mbedtls_test_driver_signature_sign_hooks.forced_output =
253 mbedtls_test_driver_signature_sign_hooks.forced_output_length =
[all …]