/openthread-3.4.0/third_party/mbedtls/repo/library/ |
D | psa_crypto_aead.c | 178 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 …]
|
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,
|
D | psa_crypto_driver_wrappers.h | 208 uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length ); 216 const uint8_t *ciphertext, size_t ciphertext_length,
|
D | psa_crypto_driver_wrappers.c | 1424 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()
|
D | psa_crypto.c | 3714 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/ |
D | test_driver_aead.c | 41 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/ |
D | psa_exercise_key.c | 171 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/ |
D | aead.h | 59 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/ |
D | crypto_sizes.h | 359 #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)
|
D | crypto_compat.h | 340 #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 ) : \
|
D | crypto.h | 2163 size_t *ciphertext_length); 2233 size_t ciphertext_length, 2770 size_t *ciphertext_length,
|
D | crypto_se_driver.h | 785 size_t ciphertext_length,
|