/mbedtls-3.7.0/library/ |
D | psa_crypto_aead.c | 124 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length) in mbedtls_psa_aead_encrypt() argument 197 *ciphertext_length = plaintext_length + operation.tag_length; in mbedtls_psa_aead_encrypt() 213 size_t ciphertext_length, in psa_aead_unpadded_locate_tag() argument 218 if (tag_length > ciphertext_length) { in psa_aead_unpadded_locate_tag() 221 payload_length = ciphertext_length - tag_length; in psa_aead_unpadded_locate_tag() 235 const uint8_t *ciphertext, size_t ciphertext_length, in mbedtls_psa_aead_decrypt() argument 250 ciphertext, ciphertext_length, in mbedtls_psa_aead_decrypt() 260 ciphertext_length - operation.tag_length, in mbedtls_psa_aead_decrypt() 272 ciphertext_length - operation.tag_length, in mbedtls_psa_aead_decrypt() 288 ciphertext_length - operation.tag_length, in mbedtls_psa_aead_decrypt() [all …]
|
D | psa_crypto_aead.h | 74 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length); 136 const uint8_t *ciphertext, size_t ciphertext_length, 467 size_t *ciphertext_length,
|
D | psa_crypto_driver_wrappers.h | 1976 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) in psa_driver_wrapper_aead_encrypt() argument 1999 ciphertext, ciphertext_size, ciphertext_length ); in psa_driver_wrapper_aead_encrypt() 2011 ciphertext, ciphertext_size, ciphertext_length ); in psa_driver_wrapper_aead_encrypt() 2024 ciphertext, ciphertext_size, ciphertext_length ) ); in psa_driver_wrapper_aead_encrypt() 2041 const uint8_t *ciphertext, size_t ciphertext_length, in psa_driver_wrapper_aead_decrypt() argument 2064 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt() 2076 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt() 2089 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt() 2397 size_t *ciphertext_length, in psa_driver_wrapper_aead_finish() argument 2409 ciphertext_length, tag, in psa_driver_wrapper_aead_finish() [all …]
|
D | psa_crypto.c | 4751 size_t *ciphertext_length) argument 4761 *ciphertext_length = 0; 4790 ciphertext, ciphertext_size, ciphertext_length); 4814 size_t ciphertext_length, argument 4843 LOCAL_INPUT_ALLOC(ciphertext_external, ciphertext_length, ciphertext); 4856 ciphertext, ciphertext_length, 5328 size_t *ciphertext_length, argument 5341 *ciphertext_length = 0; 5356 ciphertext_length,
|
/mbedtls-3.7.0/tests/src/drivers/ |
D | test_driver_aead.c | 32 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length) in mbedtls_test_transparent_aead_encrypt() argument 50 ciphertext, ciphertext_size, ciphertext_length); in mbedtls_test_transparent_aead_encrypt() 59 ciphertext, ciphertext_size, ciphertext_length); in mbedtls_test_transparent_aead_encrypt() 73 (void) ciphertext_length; in mbedtls_test_transparent_aead_encrypt() 87 const uint8_t *ciphertext, size_t ciphertext_length, in mbedtls_test_transparent_aead_decrypt() argument 105 ciphertext, ciphertext_length, in mbedtls_test_transparent_aead_decrypt() 114 ciphertext, ciphertext_length, in mbedtls_test_transparent_aead_decrypt() 126 (void) ciphertext_length; in mbedtls_test_transparent_aead_decrypt() 341 size_t *ciphertext_length, in mbedtls_test_transparent_aead_finish() argument 356 ciphertext_size, ciphertext_length, in mbedtls_test_transparent_aead_finish() [all …]
|
/mbedtls-3.7.0/tests/include/test/drivers/ |
D | aead.h | 54 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length); 62 const uint8_t *ciphertext, size_t ciphertext_length, 104 size_t *ciphertext_length,
|
/mbedtls-3.7.0/tests/src/ |
D | psa_exercise_key.c | 187 size_t ciphertext_length = sizeof(ciphertext); in exercise_cipher_key() local 212 &ciphertext_length)); in exercise_cipher_key() 214 ciphertext + ciphertext_length, in exercise_cipher_key() 215 sizeof(ciphertext) - ciphertext_length, in exercise_cipher_key() 217 ciphertext_length += part_length; in exercise_cipher_key() 237 ciphertext, ciphertext_length, in exercise_cipher_key() 274 size_t ciphertext_length = sizeof(ciphertext); in exercise_aead_key() local 293 &ciphertext_length); in exercise_aead_key() 309 ciphertext, ciphertext_length, in exercise_aead_key() 448 size_t ciphertext_length = sizeof(ciphertext); in exercise_asymmetric_encryption_key() local [all …]
|
/mbedtls-3.7.0/include/psa/ |
D | crypto_sizes.h | 413 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext_length) \ argument 415 (ciphertext_length) > PSA_ALG_AEAD_GET_TAG_LENGTH(alg) ? \ 416 (ciphertext_length) - PSA_ALG_AEAD_GET_TAG_LENGTH(alg) : \ 437 #define PSA_AEAD_DECRYPT_OUTPUT_MAX_SIZE(ciphertext_length) \ argument 438 (ciphertext_length)
|
D | crypto.h | 2116 size_t *ciphertext_length); 2186 size_t ciphertext_length, 2708 size_t *ciphertext_length,
|
D | crypto_se_driver.h | 774 size_t ciphertext_length,
|
/mbedtls-3.7.0/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.h.jinja | 1683 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) 1703 ciphertext, ciphertext_size, ciphertext_length ); 1717 ciphertext, ciphertext_size, ciphertext_length ) ); 1734 const uint8_t *ciphertext, size_t ciphertext_length, 1754 ciphertext, ciphertext_length, 1768 ciphertext, ciphertext_length, 2026 size_t *ciphertext_length, 2038 ciphertext_length, tag, 2049 ciphertext_length, tag, tag_size, tag_length ) ); 2059 (void)ciphertext_length;
|
/mbedtls-3.7.0/tests/suites/ |
D | test_suite_psa_crypto.function | 5480 size_t ciphertext_length = 0; 5542 &ciphertext_length)); 5545 &ciphertext_length, tag_buffer, 5581 size_t ciphertext_length = 0; 5662 &ciphertext_length), 5666 &ciphertext_length, tag_buffer, 5702 size_t ciphertext_length = 0; 5744 output, output_size, &ciphertext_length); 5751 &ciphertext_length, tag_buffer, 5786 size_t ciphertext_length = 0; [all …]
|