Home
last modified time | relevance | path

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

/mbedtls-3.7.0/library/
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 …]
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,
Dpsa_crypto_driver_wrappers.h1976 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 …]
Dpsa_crypto.c4751 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/
Dtest_driver_aead.c32 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/
Daead.h54 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/
Dpsa_exercise_key.c187 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/
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)
Dcrypto.h2116 size_t *ciphertext_length);
2186 size_t ciphertext_length,
2708 size_t *ciphertext_length,
Dcrypto_se_driver.h774 size_t ciphertext_length,
/mbedtls-3.7.0/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.h.jinja1683 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/
Dtest_suite_psa_crypto.function5480 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 …]