Home
last modified time | relevance | path

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

/external/openthread/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_cipher.c61 if( mbedtls_test_driver_cipher_hooks.forced_output != NULL ) in mbedtls_test_transparent_cipher_encrypt()
67 mbedtls_test_driver_cipher_hooks.forced_output, in mbedtls_test_transparent_cipher_encrypt()
107 if( mbedtls_test_driver_cipher_hooks.forced_output != NULL ) in mbedtls_test_transparent_cipher_decrypt()
113 mbedtls_test_driver_cipher_hooks.forced_output, in mbedtls_test_transparent_cipher_decrypt()
251 if( mbedtls_test_driver_cipher_hooks.forced_output != NULL ) in mbedtls_test_transparent_cipher_update()
257 mbedtls_test_driver_cipher_hooks.forced_output, in mbedtls_test_transparent_cipher_update()
289 if( mbedtls_test_driver_cipher_hooks.forced_output != NULL ) in mbedtls_test_transparent_cipher_finish()
295 mbedtls_test_driver_cipher_hooks.forced_output, in mbedtls_test_transparent_cipher_finish()
Dtest_driver_key_management.c109 if( mbedtls_test_driver_key_management_hooks.forced_output != NULL ) in mbedtls_test_transparent_generate_key()
114 memcpy( key, mbedtls_test_driver_key_management_hooks.forced_output, in mbedtls_test_transparent_generate_key()
302 if( mbedtls_test_driver_key_management_hooks.forced_output != NULL ) in mbedtls_test_transparent_export_public_key()
307 memcpy( data, mbedtls_test_driver_key_management_hooks.forced_output, in mbedtls_test_transparent_export_public_key()
Dtest_driver_signature.c230 if( mbedtls_test_driver_signature_sign_hooks.forced_output != NULL ) in mbedtls_test_transparent_signature_sign_message()
235 memcpy( signature, mbedtls_test_driver_signature_sign_hooks.forced_output, in mbedtls_test_transparent_signature_sign_message()
363 if( mbedtls_test_driver_signature_sign_hooks.forced_output != NULL ) in mbedtls_test_transparent_signature_sign_hash()
367 memcpy( signature, mbedtls_test_driver_signature_sign_hooks.forced_output, in mbedtls_test_transparent_signature_sign_hash()
/external/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_asymmetric_encryption.c44 if( mbedtls_test_driver_asymmetric_encryption_hooks.forced_output != NULL ) in mbedtls_test_transparent_asymmetric_encrypt()
50 mbedtls_test_driver_asymmetric_encryption_hooks.forced_output, in mbedtls_test_transparent_asymmetric_encrypt()
85 if( mbedtls_test_driver_asymmetric_encryption_hooks.forced_output != NULL ) in mbedtls_test_transparent_asymmetric_decrypt()
91 mbedtls_test_driver_asymmetric_encryption_hooks.forced_output, in mbedtls_test_transparent_asymmetric_decrypt()
Dtest_driver_key_agreement.c57 if( mbedtls_test_driver_key_agreement_hooks.forced_output != NULL ) in mbedtls_test_transparent_key_agreement()
62 memcpy( shared_secret, mbedtls_test_driver_key_agreement_hooks.forced_output, in mbedtls_test_transparent_key_agreement()
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.c203 if( mbedtls_test_driver_key_management_hooks.forced_output != NULL ) in mbedtls_test_transparent_generate_key()
208 memcpy( key, mbedtls_test_driver_key_management_hooks.forced_output, in mbedtls_test_transparent_generate_key()
512 if( mbedtls_test_driver_key_management_hooks.forced_output != NULL ) in mbedtls_test_transparent_export_public_key()
517 memcpy( data, mbedtls_test_driver_key_management_hooks.forced_output, in mbedtls_test_transparent_export_public_key()
/external/mbedtls/tests/include/test/drivers/
Dkey_agreement.h30 void *forced_output; member
Dasymmetric_encryption.h31 void *forced_output; member
Dkey_management.h33 void *forced_output; member
Dsignature.h30 void *forced_output; member
Dcipher.h33 void *forced_output; member
/external/openthread/third_party/mbedtls/repo/tests/include/test/drivers/
Dkey_management.h37 void *forced_output; member
Dsignature.h34 void *forced_output; member
Dcipher.h37 void *forced_output; member
/external/mbedtls/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function119 mbedtls_test_driver_signature_sign_hooks.forced_output =
251 mbedtls_test_driver_signature_sign_hooks.forced_output =
379 mbedtls_test_driver_key_management_hooks.forced_output =
504 mbedtls_test_driver_key_management_hooks.forced_output =
589 mbedtls_test_driver_key_agreement_hooks.forced_output =
784 mbedtls_test_driver_cipher_hooks.forced_output = expected_output->x;
815 mbedtls_test_driver_cipher_hooks.forced_output = NULL;
916 mbedtls_test_driver_cipher_hooks.forced_output = expected_output->x;
948 mbedtls_test_driver_cipher_hooks.forced_output = NULL;
1029 mbedtls_test_driver_cipher_hooks.forced_output = expected_output->x;
[all …]
/external/openthread/third_party/mbedtls/repo/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;