/mbedtls-3.5.0/library/ |
D | psa_crypto_aead.c | 140 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length) in mbedtls_psa_aead_encrypt() argument 213 *ciphertext_length = plaintext_length + operation.tag_length; in mbedtls_psa_aead_encrypt() 229 size_t ciphertext_length, in psa_aead_unpadded_locate_tag() argument 234 if (tag_length > ciphertext_length) { in psa_aead_unpadded_locate_tag() 237 payload_length = ciphertext_length - tag_length; in psa_aead_unpadded_locate_tag() 251 const uint8_t *ciphertext, size_t ciphertext_length, in mbedtls_psa_aead_decrypt() argument 266 ciphertext, ciphertext_length, in mbedtls_psa_aead_decrypt() 276 ciphertext_length - operation.tag_length, in mbedtls_psa_aead_decrypt() 288 ciphertext_length - operation.tag_length, in mbedtls_psa_aead_decrypt() 304 ciphertext_length - operation.tag_length, in mbedtls_psa_aead_decrypt() [all …]
|
D | psa_crypto_aead.h | 86 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length); 148 const uint8_t *ciphertext, size_t ciphertext_length, 479 size_t *ciphertext_length,
|
D | psa_crypto_driver_wrappers.c | 2107 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) in psa_driver_wrapper_aead_encrypt() argument 2130 ciphertext, ciphertext_size, ciphertext_length ); in psa_driver_wrapper_aead_encrypt() 2142 ciphertext, ciphertext_size, ciphertext_length ); in psa_driver_wrapper_aead_encrypt() 2155 ciphertext, ciphertext_size, ciphertext_length ) ); in psa_driver_wrapper_aead_encrypt() 2172 const uint8_t *ciphertext, size_t ciphertext_length, in psa_driver_wrapper_aead_decrypt() argument 2195 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt() 2207 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt() 2220 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt() 2532 size_t *ciphertext_length, in psa_driver_wrapper_aead_finish() argument 2544 ciphertext_length, tag, in psa_driver_wrapper_aead_finish() [all …]
|
D | psa_crypto_driver_wrappers.h | 255 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length); 263 const uint8_t *ciphertext, size_t ciphertext_length, 305 size_t *ciphertext_length,
|
D | psa_crypto.c | 4400 size_t *ciphertext_length) argument 4405 *ciphertext_length = 0; 4433 ciphertext, ciphertext_size, ciphertext_length); 4452 size_t ciphertext_length, argument 4487 ciphertext, ciphertext_length, 4916 size_t *ciphertext_length, argument 4923 *ciphertext_length = 0; 4938 ciphertext_length,
|
/mbedtls-3.5.0/tests/src/drivers/ |
D | test_driver_aead.c | 42 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length) in mbedtls_test_transparent_aead_encrypt() argument 60 ciphertext, ciphertext_size, ciphertext_length); in mbedtls_test_transparent_aead_encrypt() 69 ciphertext, ciphertext_size, ciphertext_length); in mbedtls_test_transparent_aead_encrypt() 83 (void) ciphertext_length; in mbedtls_test_transparent_aead_encrypt() 97 const uint8_t *ciphertext, size_t ciphertext_length, in mbedtls_test_transparent_aead_decrypt() argument 115 ciphertext, ciphertext_length, in mbedtls_test_transparent_aead_decrypt() 124 ciphertext, ciphertext_length, in mbedtls_test_transparent_aead_decrypt() 136 (void) ciphertext_length; in mbedtls_test_transparent_aead_decrypt() 351 size_t *ciphertext_length, in mbedtls_test_transparent_aead_finish() argument 366 ciphertext_size, ciphertext_length, in mbedtls_test_transparent_aead_finish() [all …]
|
/mbedtls-3.5.0/tests/src/ |
D | psa_exercise_key.c | 166 size_t ciphertext_length = sizeof(ciphertext); in exercise_cipher_key() local 184 &ciphertext_length)); in exercise_cipher_key() 186 ciphertext + ciphertext_length, in exercise_cipher_key() 187 sizeof(ciphertext) - ciphertext_length, in exercise_cipher_key() 189 ciphertext_length += part_length; in exercise_cipher_key() 204 ciphertext, ciphertext_length, in exercise_cipher_key() 240 size_t ciphertext_length = sizeof(ciphertext); in exercise_aead_key() local 258 &ciphertext_length)); in exercise_aead_key() 269 ciphertext, ciphertext_length, in exercise_aead_key() 378 size_t ciphertext_length = sizeof(ciphertext); in exercise_asymmetric_encryption_key() local [all …]
|
/mbedtls-3.5.0/tests/include/test/drivers/ |
D | aead.h | 66 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length); 74 const uint8_t *ciphertext, size_t ciphertext_length, 116 size_t *ciphertext_length,
|
/mbedtls-3.5.0/include/psa/ |
D | crypto_sizes.h | 360 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext_length) \ argument 362 (ciphertext_length) > PSA_ALG_AEAD_GET_TAG_LENGTH(alg) ? \ 363 (ciphertext_length) - PSA_ALG_AEAD_GET_TAG_LENGTH(alg) : \ 384 #define PSA_AEAD_DECRYPT_OUTPUT_MAX_SIZE(ciphertext_length) \ argument 385 (ciphertext_length)
|
D | crypto.h | 2121 size_t *ciphertext_length); 2191 size_t ciphertext_length, 2713 size_t *ciphertext_length,
|
D | crypto_se_driver.h | 786 size_t ciphertext_length,
|
/mbedtls-3.5.0/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.c.jinja | 1793 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) 1813 ciphertext, ciphertext_size, ciphertext_length ); 1827 ciphertext, ciphertext_size, ciphertext_length ) ); 1844 const uint8_t *ciphertext, size_t ciphertext_length, 1864 ciphertext, ciphertext_length, 1878 ciphertext, ciphertext_length, 2136 size_t *ciphertext_length, 2148 ciphertext_length, tag, 2159 ciphertext_length, tag, tag_size, tag_length ) ); 2169 (void)ciphertext_length;
|
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_psa_crypto.function | 5108 size_t ciphertext_length = 0; 5170 &ciphertext_length)); 5173 &ciphertext_length, tag_buffer, 5209 size_t ciphertext_length = 0; 5290 &ciphertext_length), 5294 &ciphertext_length, tag_buffer, 5330 size_t ciphertext_length = 0; 5372 output, output_size, &ciphertext_length); 5379 &ciphertext_length, tag_buffer, 5414 size_t ciphertext_length = 0; [all …]
|