Home
last modified time | relevance | path

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

/openthread-3.4.0/third_party/mbedtls/repo/library/
Dpsa_crypto_aead.c178 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) in mbedtls_psa_aead_encrypt() argument
266 *ciphertext_length = plaintext_length + operation.tag_length; in mbedtls_psa_aead_encrypt()
281 size_t ciphertext_length, in psa_aead_unpadded_locate_tag() argument
286 if( tag_length > ciphertext_length ) in psa_aead_unpadded_locate_tag()
288 payload_length = ciphertext_length - tag_length; in psa_aead_unpadded_locate_tag()
301 const uint8_t *ciphertext, size_t ciphertext_length, in mbedtls_psa_aead_decrypt() argument
314 ciphertext, ciphertext_length, in mbedtls_psa_aead_decrypt()
324 ciphertext_length - operation.tag_length, in mbedtls_psa_aead_decrypt()
338 ciphertext_length - operation.tag_length, in mbedtls_psa_aead_decrypt()
366 ciphertext_length - operation.tag_length, in mbedtls_psa_aead_decrypt()
[all …]
Dpsa_crypto_aead.h86 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length );
148 const uint8_t *ciphertext, size_t ciphertext_length,
Dpsa_crypto_driver_wrappers.h208 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length );
216 const uint8_t *ciphertext, size_t ciphertext_length,
Dpsa_crypto_driver_wrappers.c1424 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) in psa_driver_wrapper_aead_encrypt() argument
1444 ciphertext, ciphertext_size, ciphertext_length ); in psa_driver_wrapper_aead_encrypt()
1458 ciphertext, ciphertext_size, ciphertext_length ) ); in psa_driver_wrapper_aead_encrypt()
1475 const uint8_t *ciphertext, size_t ciphertext_length, in psa_driver_wrapper_aead_decrypt() argument
1495 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt()
1509 ciphertext, ciphertext_length, in psa_driver_wrapper_aead_decrypt()
Dpsa_crypto.c3714 size_t *ciphertext_length ) in psa_aead_encrypt() argument
3719 *ciphertext_length = 0; in psa_aead_encrypt()
3739 ciphertext, ciphertext_size, ciphertext_length ); in psa_aead_encrypt()
3756 size_t ciphertext_length, in psa_aead_decrypt() argument
3783 ciphertext, ciphertext_length, in psa_aead_decrypt()
/openthread-3.4.0/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_aead.c41 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ) in mbedtls_test_transparent_aead_encrypt() argument
59 ciphertext, ciphertext_size, ciphertext_length ); in mbedtls_test_transparent_aead_encrypt()
71 const uint8_t *ciphertext, size_t ciphertext_length, in mbedtls_test_transparent_aead_decrypt() argument
89 ciphertext, ciphertext_length, in mbedtls_test_transparent_aead_decrypt()
/openthread-3.4.0/third_party/mbedtls/repo/tests/src/
Dpsa_exercise_key.c171 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()
211 ciphertext, ciphertext_length, in exercise_cipher_key()
243 size_t ciphertext_length = sizeof( ciphertext ); in exercise_aead_key() local
273 &ciphertext_length ) ); in exercise_aead_key()
285 ciphertext, ciphertext_length, in exercise_aead_key()
387 size_t ciphertext_length = sizeof( ciphertext ); in exercise_asymmetric_encryption_key() local
[all …]
/openthread-3.4.0/third_party/mbedtls/repo/tests/include/test/drivers/
Daead.h59 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length );
67 const uint8_t *ciphertext, size_t ciphertext_length,
/openthread-3.4.0/third_party/mbedtls/repo/include/psa/
Dcrypto_sizes.h359 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext_length) \ argument
361 (ciphertext_length) > PSA_ALG_AEAD_GET_TAG_LENGTH(alg) ? \
362 (ciphertext_length) - PSA_ALG_AEAD_GET_TAG_LENGTH(alg) : \
383 #define PSA_AEAD_DECRYPT_OUTPUT_MAX_SIZE(ciphertext_length) \ argument
384 (ciphertext_length)
Dcrypto_compat.h340 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE_2_ARG( alg, ciphertext_length ) \ argument
343 (ciphertext_length) > PSA_ALG_AEAD_GET_TAG_LENGTH( alg ) ? \
344 (ciphertext_length) - PSA_ALG_AEAD_GET_TAG_LENGTH( alg ) : \
Dcrypto.h2163 size_t *ciphertext_length);
2233 size_t ciphertext_length,
2770 size_t *ciphertext_length,
Dcrypto_se_driver.h785 size_t ciphertext_length,