Home
last modified time | relevance | path

Searched refs:forced_output_length (Results 1 – 13 of 13) sorted by relevance

/mbedtls-3.5.0/tests/src/drivers/
Dtest_driver_cipher.c58 if (output_size < mbedtls_test_driver_cipher_hooks.forced_output_length) { in mbedtls_test_transparent_cipher_encrypt()
64 mbedtls_test_driver_cipher_hooks.forced_output_length); in mbedtls_test_transparent_cipher_encrypt()
65 *output_length = mbedtls_test_driver_cipher_hooks.forced_output_length; in mbedtls_test_transparent_cipher_encrypt()
105 if (output_size < mbedtls_test_driver_cipher_hooks.forced_output_length) { in mbedtls_test_transparent_cipher_decrypt()
111 mbedtls_test_driver_cipher_hooks.forced_output_length); in mbedtls_test_transparent_cipher_decrypt()
112 *output_length = mbedtls_test_driver_cipher_hooks.forced_output_length; in mbedtls_test_transparent_cipher_decrypt()
250 if (output_size < mbedtls_test_driver_cipher_hooks.forced_output_length) { in mbedtls_test_transparent_cipher_update()
256 mbedtls_test_driver_cipher_hooks.forced_output_length); in mbedtls_test_transparent_cipher_update()
257 *output_length = mbedtls_test_driver_cipher_hooks.forced_output_length; in mbedtls_test_transparent_cipher_update()
289 if (output_size < mbedtls_test_driver_cipher_hooks.forced_output_length) { in mbedtls_test_transparent_cipher_finish()
[all …]
Dtest_driver_asymmetric_encryption.c45 if (output_size < mbedtls_test_driver_asymmetric_encryption_hooks.forced_output_length) { in mbedtls_test_transparent_asymmetric_encrypt()
51 mbedtls_test_driver_asymmetric_encryption_hooks.forced_output_length); in mbedtls_test_transparent_asymmetric_encrypt()
52 *output_length = mbedtls_test_driver_asymmetric_encryption_hooks.forced_output_length; in mbedtls_test_transparent_asymmetric_encrypt()
87 if (output_size < mbedtls_test_driver_asymmetric_encryption_hooks.forced_output_length) { in mbedtls_test_transparent_asymmetric_decrypt()
93 mbedtls_test_driver_asymmetric_encryption_hooks.forced_output_length); in mbedtls_test_transparent_asymmetric_decrypt()
94 *output_length = mbedtls_test_driver_asymmetric_encryption_hooks.forced_output_length; in mbedtls_test_transparent_asymmetric_decrypt()
Dtest_driver_key_agreement.c59 if (mbedtls_test_driver_key_agreement_hooks.forced_output_length > shared_secret_size) { in mbedtls_test_transparent_key_agreement()
64 mbedtls_test_driver_key_agreement_hooks.forced_output_length); in mbedtls_test_transparent_key_agreement()
65 *shared_secret_length = mbedtls_test_driver_key_agreement_hooks.forced_output_length; in mbedtls_test_transparent_key_agreement()
Dtest_driver_signature.c210 if (mbedtls_test_driver_signature_sign_hooks.forced_output_length > signature_size) { in mbedtls_test_transparent_signature_sign_message()
215 mbedtls_test_driver_signature_sign_hooks.forced_output_length); in mbedtls_test_transparent_signature_sign_message()
216 *signature_length = mbedtls_test_driver_signature_sign_hooks.forced_output_length; in mbedtls_test_transparent_signature_sign_message()
347 if (mbedtls_test_driver_signature_sign_hooks.forced_output_length > signature_size) { in mbedtls_test_transparent_signature_sign_hash()
351 mbedtls_test_driver_signature_sign_hooks.forced_output_length); in mbedtls_test_transparent_signature_sign_hash()
352 *signature_length = mbedtls_test_driver_signature_sign_hooks.forced_output_length; in mbedtls_test_transparent_signature_sign_hash()
Dtest_driver_pake.c77 if (output_size < mbedtls_test_driver_pake_hooks.forced_output_length) { in mbedtls_test_transparent_pake_output()
83 mbedtls_test_driver_pake_hooks.forced_output_length); in mbedtls_test_transparent_pake_output()
84 *output_length = mbedtls_test_driver_pake_hooks.forced_output_length; in mbedtls_test_transparent_pake_output()
Dtest_driver_key_management.c212 if (mbedtls_test_driver_key_management_hooks.forced_output_length > in mbedtls_test_transparent_generate_key()
217 mbedtls_test_driver_key_management_hooks.forced_output_length); in mbedtls_test_transparent_generate_key()
218 *key_length = mbedtls_test_driver_key_management_hooks.forced_output_length; in mbedtls_test_transparent_generate_key()
521 if (mbedtls_test_driver_key_management_hooks.forced_output_length > in mbedtls_test_transparent_export_public_key()
526 mbedtls_test_driver_key_management_hooks.forced_output_length); in mbedtls_test_transparent_export_public_key()
527 *data_length = mbedtls_test_driver_key_management_hooks.forced_output_length; in mbedtls_test_transparent_export_public_key()
/mbedtls-3.5.0/tests/include/test/drivers/
Dkey_agreement.h31 size_t forced_output_length; member
Dpake.h48 size_t forced_output_length; member
Dasymmetric_encryption.h32 size_t forced_output_length; member
Dkey_management.h34 size_t forced_output_length; member
Dsignature.h31 size_t forced_output_length; member
Dcipher.h34 size_t forced_output_length; member
/mbedtls-3.5.0/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function528 mbedtls_test_driver_signature_sign_hooks.forced_output_length =
655 mbedtls_test_driver_signature_sign_hooks.forced_output_length =
780 mbedtls_test_driver_key_management_hooks.forced_output_length =
900 mbedtls_test_driver_key_management_hooks.forced_output_length =
989 mbedtls_test_driver_key_agreement_hooks.forced_output_length =
1177 mbedtls_test_driver_cipher_hooks.forced_output_length = expected_output->len;
1206 mbedtls_test_driver_cipher_hooks.forced_output_length = 0;
1305 mbedtls_test_driver_cipher_hooks.forced_output_length = expected_output->len;
1335 mbedtls_test_driver_cipher_hooks.forced_output_length = 0;
1413 mbedtls_test_driver_cipher_hooks.forced_output_length = expected_output->len;
[all …]