Home
last modified time | relevance | path

Searched refs:forced_output (Results 1 – 7 of 7) sorted by relevance

/third_party/mbedtls/tests/src/drivers/
Dtest_driver_cipher.c57 if( mbedtls_test_driver_cipher_hooks.forced_output != NULL ) in mbedtls_test_transparent_cipher_encrypt()
63 mbedtls_test_driver_cipher_hooks.forced_output, in mbedtls_test_transparent_cipher_encrypt()
103 if( mbedtls_test_driver_cipher_hooks.forced_output != NULL ) in mbedtls_test_transparent_cipher_decrypt()
109 mbedtls_test_driver_cipher_hooks.forced_output, in mbedtls_test_transparent_cipher_decrypt()
244 if( mbedtls_test_driver_cipher_hooks.forced_output != NULL ) in mbedtls_test_transparent_cipher_update()
250 mbedtls_test_driver_cipher_hooks.forced_output, in mbedtls_test_transparent_cipher_update()
282 if( mbedtls_test_driver_cipher_hooks.forced_output != NULL ) in mbedtls_test_transparent_cipher_finish()
288 mbedtls_test_driver_cipher_hooks.forced_output, in mbedtls_test_transparent_cipher_finish()
Dtest_driver_signature.c226 if( mbedtls_test_driver_signature_sign_hooks.forced_output != NULL ) 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()
359 if( mbedtls_test_driver_signature_sign_hooks.forced_output != NULL ) in mbedtls_test_transparent_signature_sign_hash()
363 memcpy( signature, mbedtls_test_driver_signature_sign_hooks.forced_output, in mbedtls_test_transparent_signature_sign_hash()
Dtest_driver_key_management.c201 if( mbedtls_test_driver_key_management_hooks.forced_output != NULL ) in mbedtls_test_transparent_generate_key()
206 memcpy( key, mbedtls_test_driver_key_management_hooks.forced_output, in mbedtls_test_transparent_generate_key()
503 if( mbedtls_test_driver_key_management_hooks.forced_output != NULL ) in mbedtls_test_transparent_export_public_key()
508 memcpy( data, mbedtls_test_driver_key_management_hooks.forced_output, in mbedtls_test_transparent_export_public_key()
/third_party/mbedtls/tests/include/test/drivers/
Dkey_management.h33 void *forced_output; member
Dsignature.h30 void *forced_output; member
Dcipher.h33 void *forced_output; member
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function41 mbedtls_test_driver_signature_sign_hooks.forced_output =
155 mbedtls_test_driver_signature_sign_hooks.forced_output =
269 mbedtls_test_driver_key_management_hooks.forced_output =
384 mbedtls_test_driver_key_management_hooks.forced_output =
576 mbedtls_test_driver_cipher_hooks.forced_output = expected_output->x;
607 mbedtls_test_driver_cipher_hooks.forced_output = NULL;
708 mbedtls_test_driver_cipher_hooks.forced_output = expected_output->x;
740 mbedtls_test_driver_cipher_hooks.forced_output = NULL;
821 mbedtls_test_driver_cipher_hooks.forced_output = expected_output->x;