Home
last modified time | relevance | path

Searched refs:ciphertext_length (Results 1 – 7 of 7) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dpsa_crypto_aead.c124 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 …]
H A Dpsa_crypto_aead.h74 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,
H A Dpsa_crypto_driver_wrappers.h1719 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) in psa_driver_wrapper_aead_encrypt() argument
1739 ciphertext, ciphertext_size, ciphertext_length ); in psa_driver_wrapper_aead_encrypt()
1753 ciphertext, ciphertext_size, ciphertext_length ) ); in psa_driver_wrapper_aead_encrypt()
1770 const uint8_t *ciphertext, size_t ciphertext_length, in psa_driver_wrapper_aead_decrypt() argument
1790 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt()
1804 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt()
2062 size_t *ciphertext_length, in psa_driver_wrapper_aead_finish() argument
2074 ciphertext_length, tag, in psa_driver_wrapper_aead_finish()
2085 ciphertext_length, tag, tag_size, tag_length ) ); in psa_driver_wrapper_aead_finish()
2095 (void)ciphertext_length; in psa_driver_wrapper_aead_finish()
H A Dpsa_crypto.c4932 size_t *ciphertext_length) in psa_aead_encrypt() argument
4942 *ciphertext_length = 0; in psa_aead_encrypt()
4971 ciphertext, ciphertext_size, ciphertext_length); in psa_aead_encrypt()
4995 size_t ciphertext_length, in psa_aead_decrypt() argument
5024 LOCAL_INPUT_ALLOC(ciphertext_external, ciphertext_length, ciphertext); in psa_aead_decrypt()
5037 ciphertext, ciphertext_length, in psa_aead_decrypt()
5522 size_t *ciphertext_length, in psa_aead_finish() argument
5535 *ciphertext_length = 0; in psa_aead_finish()
5550 ciphertext_length, in psa_aead_finish()
/optee_os/lib/libmbedtls/mbedtls/include/psa/
H A Dcrypto_sizes.h413 #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)
H A Dcrypto.h2131 size_t *ciphertext_length);
2201 size_t ciphertext_length,
2723 size_t *ciphertext_length,
H A Dcrypto_se_driver.h774 size_t ciphertext_length,