/mbedtls-latest/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 | 1977 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) in psa_driver_wrapper_aead_encrypt() argument 2000 ciphertext, ciphertext_size, ciphertext_length ); in psa_driver_wrapper_aead_encrypt() 2012 ciphertext, ciphertext_size, ciphertext_length ); in psa_driver_wrapper_aead_encrypt() 2025 ciphertext, ciphertext_size, ciphertext_length ) ); in psa_driver_wrapper_aead_encrypt() 2042 const uint8_t *ciphertext, size_t ciphertext_length, in psa_driver_wrapper_aead_decrypt() argument 2065 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt() 2077 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt() 2090 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt() 2398 size_t *ciphertext_length, in psa_driver_wrapper_aead_finish() argument 2410 ciphertext_length, tag, in psa_driver_wrapper_aead_finish() [all …]
|
D | psa_crypto.c | 4790 size_t *ciphertext_length) argument 4800 *ciphertext_length = 0; 4829 ciphertext, ciphertext_size, ciphertext_length); 4853 size_t ciphertext_length, argument 4882 LOCAL_INPUT_ALLOC(ciphertext_external, ciphertext_length, ciphertext); 4895 ciphertext, ciphertext_length, 5373 size_t *ciphertext_length, argument 5386 *ciphertext_length = 0; 5401 ciphertext_length,
|
/mbedtls-latest/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-latest/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-latest/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-latest/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 | 2119 size_t *ciphertext_length); 2189 size_t ciphertext_length, 2711 size_t *ciphertext_length,
|
D | crypto_se_driver.h | 774 size_t ciphertext_length,
|
/mbedtls-latest/scripts/data_files/driver_templates/ |
D | psa_crypto_driver_wrappers.h.jinja | 1684 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) 1704 ciphertext, ciphertext_size, ciphertext_length ); 1718 ciphertext, ciphertext_size, ciphertext_length ) ); 1735 const uint8_t *ciphertext, size_t ciphertext_length, 1755 ciphertext, ciphertext_length, 1769 ciphertext, ciphertext_length, 2027 size_t *ciphertext_length, 2039 ciphertext_length, tag, 2050 ciphertext_length, tag, tag_size, tag_length ) ); 2060 (void)ciphertext_length;
|
/mbedtls-latest/tests/suites/ |
D | test_suite_psa_crypto.function | 5460 size_t ciphertext_length = 0; 5522 &ciphertext_length)); 5525 &ciphertext_length, tag_buffer, 5561 size_t ciphertext_length = 0; 5642 &ciphertext_length), 5646 &ciphertext_length, tag_buffer, 5682 size_t ciphertext_length = 0; 5724 output, output_size, &ciphertext_length); 5731 &ciphertext_length, tag_buffer, 5766 size_t ciphertext_length = 0; [all …]
|