/mbedtls-3.4.0/tests/src/drivers/ |
D | test_driver_aead.c | 41 const uint8_t *plaintext, size_t plaintext_length, in mbedtls_test_transparent_aead_encrypt() argument 62 plaintext, plaintext_length, in mbedtls_test_transparent_aead_encrypt() 71 plaintext, plaintext_length, in mbedtls_test_transparent_aead_encrypt() 83 (void) plaintext_length; in mbedtls_test_transparent_aead_encrypt() 101 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) in mbedtls_test_transparent_aead_decrypt() argument 122 plaintext, plaintext_size, plaintext_length ); in mbedtls_test_transparent_aead_decrypt() 131 plaintext, plaintext_size, plaintext_length ); in mbedtls_test_transparent_aead_decrypt() 145 (void) plaintext_length; in mbedtls_test_transparent_aead_decrypt() 265 size_t plaintext_length ) in mbedtls_test_transparent_aead_set_lengths() argument 280 plaintext_length ); in mbedtls_test_transparent_aead_set_lengths() [all …]
|
/mbedtls-3.4.0/library/ |
D | psa_crypto_aead.c | 133 const uint8_t *plaintext, size_t plaintext_length, in mbedtls_psa_aead_encrypt() argument 148 if( ciphertext_size < ( plaintext_length + operation.tag_length ) ) in mbedtls_psa_aead_encrypt() 153 tag = ciphertext + plaintext_length; in mbedtls_psa_aead_encrypt() 160 plaintext_length, in mbedtls_psa_aead_encrypt() 175 plaintext_length, in mbedtls_psa_aead_encrypt() 193 plaintext_length, in mbedtls_psa_aead_encrypt() 214 *ciphertext_length = plaintext_length + operation.tag_length; in mbedtls_psa_aead_encrypt() 250 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) in mbedtls_psa_aead_decrypt() argument 326 *plaintext_length = ciphertext_length - operation.tag_length; in mbedtls_psa_aead_decrypt() 332 *plaintext_length = ciphertext_length - operation.tag_length; in mbedtls_psa_aead_decrypt() [all …]
|
D | psa_crypto_aead.h | 85 const uint8_t *plaintext, size_t plaintext_length, 149 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ); 309 size_t plaintext_length );
|
D | psa_crypto_driver_wrappers.c | 1853 const uint8_t *plaintext, size_t plaintext_length, in psa_driver_wrapper_aead_encrypt() argument 1876 plaintext, plaintext_length, in psa_driver_wrapper_aead_encrypt() 1888 plaintext, plaintext_length, in psa_driver_wrapper_aead_encrypt() 1901 plaintext, plaintext_length, in psa_driver_wrapper_aead_encrypt() 1920 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) in psa_driver_wrapper_aead_decrypt() argument 1943 plaintext, plaintext_size, plaintext_length ); in psa_driver_wrapper_aead_decrypt() 1955 plaintext, plaintext_size, plaintext_length ); in psa_driver_wrapper_aead_decrypt() 1968 plaintext, plaintext_size, plaintext_length ) ); in psa_driver_wrapper_aead_decrypt() 2146 size_t plaintext_length ) in psa_driver_wrapper_aead_set_lengths() argument 2154 plaintext_length ) ); in psa_driver_wrapper_aead_set_lengths() [all …]
|
D | psa_crypto_driver_wrappers.h | 217 const uint8_t *plaintext, size_t plaintext_length, 227 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ); 249 size_t plaintext_length ); 277 size_t *plaintext_length,
|
D | psa_crypto.c | 3609 size_t plaintext_length, in psa_aead_encrypt() argument 3641 plaintext, plaintext_length, in psa_aead_encrypt() 3663 size_t *plaintext_length ) in psa_aead_decrypt() argument 3668 *plaintext_length = 0; in psa_aead_decrypt() 3693 plaintext, plaintext_size, plaintext_length ); in psa_aead_decrypt() 3934 size_t plaintext_length ) in psa_aead_set_lengths() argument 3960 (( uint64_t ) plaintext_length ) > 0xFFFFFFFE0ull ) in psa_aead_set_lengths() 3987 plaintext_length ); in psa_aead_set_lengths() 3993 operation->body_remaining = plaintext_length; in psa_aead_set_lengths() 4181 size_t *plaintext_length, in psa_aead_verify() argument [all …]
|
/mbedtls-3.4.0/tests/include/test/drivers/ |
D | aead.h | 65 const uint8_t *plaintext, size_t plaintext_length, 75 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ); 97 size_t plaintext_length ); 125 size_t *plaintext_length,
|
/mbedtls-3.4.0/include/psa/ |
D | crypto_sizes.h | 307 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext_length) \ argument 309 (plaintext_length) + PSA_ALG_AEAD_GET_TAG_LENGTH(alg) : \ 330 #define PSA_AEAD_ENCRYPT_OUTPUT_MAX_SIZE(plaintext_length) \ argument 331 ((plaintext_length) + PSA_AEAD_TAG_MAX_SIZE)
|
D | crypto.h | 2118 size_t plaintext_length, 2194 size_t *plaintext_length); 2494 size_t plaintext_length); 2796 size_t *plaintext_length,
|
D | crypto_se_driver.h | 744 size_t plaintext_length,
|
/mbedtls-3.4.0/tests/src/ |
D | psa_exercise_key.c | 252 size_t plaintext_length = sizeof( ciphertext ); in exercise_aead_key() local 285 &plaintext_length ), in exercise_aead_key() 398 size_t plaintext_length = 16; in exercise_asymmetric_encryption_key() local 403 plaintext, plaintext_length, in exercise_asymmetric_encryption_key() 416 &plaintext_length ); in exercise_asymmetric_encryption_key()
|
/mbedtls-3.4.0/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.c.jinja | 1545 const uint8_t *plaintext, size_t plaintext_length, 1565 plaintext, plaintext_length, 1579 plaintext, plaintext_length, 1598 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) 1618 plaintext, plaintext_size, plaintext_length ); 1632 plaintext, plaintext_size, plaintext_length ) ); 1778 size_t plaintext_length ) 1786 plaintext_length ) ); 1795 ad_length, plaintext_length ) ); 1804 (void)plaintext_length; [all …]
|
/mbedtls-3.4.0/tests/suites/ |
D | test_suite_psa_crypto.function | 5598 size_t plaintext_length = 0; 5653 &plaintext_length ) ); 5663 &plaintext_length,
|
D | test_suite_ssl.function | 4082 /* Minimal non-zero plaintext_length giving desired padding.
|