Home
last modified time | relevance | path

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

/openthread-3.4.0/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_aead.c40 const uint8_t *plaintext, size_t plaintext_length, in mbedtls_test_transparent_aead_encrypt() argument
58 plaintext, plaintext_length, in mbedtls_test_transparent_aead_encrypt()
72 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) in mbedtls_test_transparent_aead_decrypt() argument
90 plaintext, plaintext_size, plaintext_length ); in mbedtls_test_transparent_aead_decrypt()
/openthread-3.4.0/third_party/mbedtls/repo/library/
Dpsa_crypto_aead.c177 const uint8_t *plaintext, size_t plaintext_length, in mbedtls_psa_aead_encrypt() argument
191 if( ciphertext_size < ( plaintext_length + operation.tag_length ) ) in mbedtls_psa_aead_encrypt()
196 tag = ciphertext + plaintext_length; in mbedtls_psa_aead_encrypt()
203 plaintext_length, in mbedtls_psa_aead_encrypt()
218 plaintext_length, in mbedtls_psa_aead_encrypt()
245 plaintext_length, in mbedtls_psa_aead_encrypt()
266 *ciphertext_length = plaintext_length + operation.tag_length; in mbedtls_psa_aead_encrypt()
302 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) in mbedtls_psa_aead_decrypt() argument
386 *plaintext_length = ciphertext_length - operation.tag_length; in mbedtls_psa_aead_decrypt()
392 *plaintext_length = ciphertext_length - operation.tag_length; in mbedtls_psa_aead_decrypt()
Dpsa_crypto_aead.h85 const uint8_t *plaintext, size_t plaintext_length,
149 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length );
Dpsa_crypto_driver_wrappers.h207 const uint8_t *plaintext, size_t plaintext_length,
217 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length );
Dpsa_crypto_driver_wrappers.c1423 const uint8_t *plaintext, size_t plaintext_length, in psa_driver_wrapper_aead_encrypt() argument
1443 plaintext, plaintext_length, in psa_driver_wrapper_aead_encrypt()
1457 plaintext, plaintext_length, in psa_driver_wrapper_aead_encrypt()
1476 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) in psa_driver_wrapper_aead_decrypt() argument
1496 plaintext, plaintext_size, plaintext_length ); in psa_driver_wrapper_aead_decrypt()
1510 plaintext, plaintext_size, plaintext_length ) ); in psa_driver_wrapper_aead_decrypt()
Dpsa_crypto.c3711 size_t plaintext_length, in psa_aead_encrypt() argument
3738 plaintext, plaintext_length, in psa_aead_encrypt()
3759 size_t *plaintext_length ) in psa_aead_decrypt() argument
3764 *plaintext_length = 0; in psa_aead_decrypt()
3784 plaintext, plaintext_size, plaintext_length ); in psa_aead_decrypt()
/openthread-3.4.0/third_party/mbedtls/repo/tests/include/test/drivers/
Daead.h58 const uint8_t *plaintext, size_t plaintext_length,
68 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length );
/openthread-3.4.0/third_party/mbedtls/repo/include/psa/
Dcrypto_sizes.h306 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext_length) \ argument
308 (plaintext_length) + PSA_ALG_AEAD_GET_TAG_LENGTH(alg) : \
329 #define PSA_AEAD_ENCRYPT_OUTPUT_MAX_SIZE(plaintext_length) \ argument
330 ((plaintext_length) + PSA_AEAD_TAG_MAX_SIZE)
Dcrypto.h2160 size_t plaintext_length,
2236 size_t *plaintext_length);
2546 size_t plaintext_length);
2855 size_t *plaintext_length,
Dcrypto_compat.h314 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE_2_ARG( alg, plaintext_length ) \ argument
317 (plaintext_length) + PSA_ALG_AEAD_GET_TAG_LENGTH( alg ) : \
Dcrypto_se_driver.h743 size_t plaintext_length,
/openthread-3.4.0/third_party/mbedtls/repo/tests/src/
Dpsa_exercise_key.c244 size_t plaintext_length = sizeof( ciphertext ); in exercise_aead_key() local
287 &plaintext_length ), in exercise_aead_key()
388 size_t plaintext_length = 16; in exercise_asymmetric_encryption_key() local
393 plaintext, plaintext_length, in exercise_asymmetric_encryption_key()
406 &plaintext_length ); in exercise_asymmetric_encryption_key()
/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ssl.function3534 /* Minimal non-zero plaintext_length giving desired padding.