Home
last modified time | relevance | path

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

/external/openthread/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_cipher.c63 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_encrypt()
68 mbedtls_test_driver_cipher_hooks.forced_output_length ); in mbedtls_test_transparent_cipher_encrypt()
69 *output_length = mbedtls_test_driver_cipher_hooks.forced_output_length; in mbedtls_test_transparent_cipher_encrypt()
109 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_decrypt()
114 mbedtls_test_driver_cipher_hooks.forced_output_length ); in mbedtls_test_transparent_cipher_decrypt()
115 *output_length = mbedtls_test_driver_cipher_hooks.forced_output_length; in mbedtls_test_transparent_cipher_decrypt()
253 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_update()
258 mbedtls_test_driver_cipher_hooks.forced_output_length ); in mbedtls_test_transparent_cipher_update()
259 *output_length = mbedtls_test_driver_cipher_hooks.forced_output_length; in mbedtls_test_transparent_cipher_update()
291 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_finish()
[all …]
Dtest_driver_key_management.c111 if( mbedtls_test_driver_key_management_hooks.forced_output_length > in mbedtls_test_transparent_generate_key()
115 mbedtls_test_driver_key_management_hooks.forced_output_length ); in mbedtls_test_transparent_generate_key()
116 *key_length = mbedtls_test_driver_key_management_hooks.forced_output_length; in mbedtls_test_transparent_generate_key()
304 if( mbedtls_test_driver_key_management_hooks.forced_output_length > in mbedtls_test_transparent_export_public_key()
308 mbedtls_test_driver_key_management_hooks.forced_output_length ); in mbedtls_test_transparent_export_public_key()
309 *data_length = mbedtls_test_driver_key_management_hooks.forced_output_length; in mbedtls_test_transparent_export_public_key()
Dtest_driver_signature.c232 if( mbedtls_test_driver_signature_sign_hooks.forced_output_length > signature_size ) in mbedtls_test_transparent_signature_sign_message()
236 mbedtls_test_driver_signature_sign_hooks.forced_output_length ); in mbedtls_test_transparent_signature_sign_message()
237 *signature_length = mbedtls_test_driver_signature_sign_hooks.forced_output_length; in mbedtls_test_transparent_signature_sign_message()
365 if( mbedtls_test_driver_signature_sign_hooks.forced_output_length > signature_size ) in mbedtls_test_transparent_signature_sign_hash()
368 mbedtls_test_driver_signature_sign_hooks.forced_output_length ); in mbedtls_test_transparent_signature_sign_hash()
369 *signature_length = mbedtls_test_driver_signature_sign_hooks.forced_output_length; in mbedtls_test_transparent_signature_sign_hash()
/external/mbedtls/tests/src/drivers/
Dtest_driver_cipher.c59 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()
110 mbedtls_test_driver_cipher_hooks.forced_output_length ); in mbedtls_test_transparent_cipher_decrypt()
111 *output_length = mbedtls_test_driver_cipher_hooks.forced_output_length; in mbedtls_test_transparent_cipher_decrypt()
246 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_update()
251 mbedtls_test_driver_cipher_hooks.forced_output_length ); in mbedtls_test_transparent_cipher_update()
252 *output_length = mbedtls_test_driver_cipher_hooks.forced_output_length; in mbedtls_test_transparent_cipher_update()
284 if( output_size < mbedtls_test_driver_cipher_hooks.forced_output_length ) in mbedtls_test_transparent_cipher_finish()
[all …]
Dtest_driver_asymmetric_encryption.c46 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()
92 mbedtls_test_driver_asymmetric_encryption_hooks.forced_output_length ); in mbedtls_test_transparent_asymmetric_decrypt()
93 *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()
63 mbedtls_test_driver_key_agreement_hooks.forced_output_length ); in mbedtls_test_transparent_key_agreement()
64 *shared_secret_length = mbedtls_test_driver_key_agreement_hooks.forced_output_length; in mbedtls_test_transparent_key_agreement()
Dtest_driver_signature.c228 if( mbedtls_test_driver_signature_sign_hooks.forced_output_length > signature_size ) 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()
361 if( mbedtls_test_driver_signature_sign_hooks.forced_output_length > signature_size ) in mbedtls_test_transparent_signature_sign_hash()
364 mbedtls_test_driver_signature_sign_hooks.forced_output_length ); in mbedtls_test_transparent_signature_sign_hash()
365 *signature_length = mbedtls_test_driver_signature_sign_hooks.forced_output_length; in mbedtls_test_transparent_signature_sign_hash()
Dtest_driver_key_management.c205 if( mbedtls_test_driver_key_management_hooks.forced_output_length > in mbedtls_test_transparent_generate_key()
209 mbedtls_test_driver_key_management_hooks.forced_output_length ); in mbedtls_test_transparent_generate_key()
210 *key_length = mbedtls_test_driver_key_management_hooks.forced_output_length; in mbedtls_test_transparent_generate_key()
514 if( mbedtls_test_driver_key_management_hooks.forced_output_length > in mbedtls_test_transparent_export_public_key()
518 mbedtls_test_driver_key_management_hooks.forced_output_length ); in mbedtls_test_transparent_export_public_key()
519 *data_length = mbedtls_test_driver_key_management_hooks.forced_output_length; in mbedtls_test_transparent_export_public_key()
/external/mbedtls/tests/include/test/drivers/
Dkey_agreement.h31 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
/external/openthread/third_party/mbedtls/repo/tests/include/test/drivers/
Dkey_management.h38 size_t forced_output_length; member
Dsignature.h35 size_t forced_output_length; member
Dcipher.h38 size_t forced_output_length; member
/external/mbedtls/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function121 mbedtls_test_driver_signature_sign_hooks.forced_output_length =
253 mbedtls_test_driver_signature_sign_hooks.forced_output_length =
383 mbedtls_test_driver_key_management_hooks.forced_output_length =
508 mbedtls_test_driver_key_management_hooks.forced_output_length =
593 mbedtls_test_driver_key_agreement_hooks.forced_output_length =
785 mbedtls_test_driver_cipher_hooks.forced_output_length = expected_output->len;
816 mbedtls_test_driver_cipher_hooks.forced_output_length = 0;
917 mbedtls_test_driver_cipher_hooks.forced_output_length = expected_output->len;
949 mbedtls_test_driver_cipher_hooks.forced_output_length = 0;
1030 mbedtls_test_driver_cipher_hooks.forced_output_length = expected_output->len;
[all …]
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_driver_wrappers.function43 mbedtls_test_driver_signature_sign_hooks.forced_output_length =
157 mbedtls_test_driver_signature_sign_hooks.forced_output_length =
273 mbedtls_test_driver_key_management_hooks.forced_output_length =
388 mbedtls_test_driver_key_management_hooks.forced_output_length =
577 mbedtls_test_driver_cipher_hooks.forced_output_length = expected_output->len;
608 mbedtls_test_driver_cipher_hooks.forced_output_length = 0;
709 mbedtls_test_driver_cipher_hooks.forced_output_length = expected_output->len;
741 mbedtls_test_driver_cipher_hooks.forced_output_length = 0;
822 mbedtls_test_driver_cipher_hooks.forced_output_length = expected_output->len;