/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/ |
D | cc3xx_psa_aead.h | 51 size_t plaintext_length, uint8_t *ciphertext, 81 size_t plaintext_size, size_t *plaintext_length); 161 size_t plaintext_length); 249 size_t *plaintext_length,
|
D | cc3xx_internal_chacha20_poly1305.h | 99 size_t plaintext_length); 175 size_t plaintext_length, uint8_t *ciphertext, size_t ciphertext_size, 187 size_t *plaintext_length);
|
D | cc3xx_internal_ccm.h | 37 size_t plaintext_length, uint8_t *ciphertext, size_t ciphertext_size, 49 size_t *plaintext_length);
|
D | cc3xx_internal_gcm.h | 32 size_t plaintext_length, uint8_t *ciphertext, size_t ciphertext_size, 44 size_t *plaintext_length);
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_psa_aead.c | 356 size_t plaintext_length, uint8_t *ciphertext, in cc3xx_aead_encrypt() argument 375 plaintext_length, ciphertext, ciphertext_size, ciphertext_length); in cc3xx_aead_encrypt() 383 plaintext_length, ciphertext, ciphertext_size, ciphertext_length); in cc3xx_aead_encrypt() 391 plaintext_length, ciphertext, ciphertext_size, ciphertext_length); in cc3xx_aead_encrypt() 404 plaintext_length, ciphertext, in cc3xx_aead_encrypt() 418 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length) in cc3xx_aead_decrypt() argument 436 ciphertext_length, plaintext, plaintext_size, plaintext_length); in cc3xx_aead_decrypt() 444 ciphertext_length, plaintext, plaintext_size, plaintext_length); in cc3xx_aead_decrypt() 452 ciphertext_length, plaintext, plaintext_size, plaintext_length); in cc3xx_aead_decrypt() 468 plaintext_size, plaintext_length, in cc3xx_aead_decrypt() [all …]
|
D | cc3xx_internal_chacha20_poly1305.c | 205 size_t plaintext_length) in cc3xx_chacha20_poly1305_set_lengths() argument 212 context->plaintext_len = plaintext_length; in cc3xx_chacha20_poly1305_set_lengths() 396 size_t plaintext_length, uint8_t *ciphertext, size_t ciphertext_size, in cc3xx_encrypt_chacha20_poly1305() argument 405 uint8_t *tag = ciphertext + plaintext_length; in cc3xx_encrypt_chacha20_poly1305() 408 CRYPTO_DIRECTION_ENCRYPT, key_buffer, key_buffer_size, plaintext_length, in cc3xx_encrypt_chacha20_poly1305() 410 ciphertext_length, tag, ciphertext_size - plaintext_length); in cc3xx_encrypt_chacha20_poly1305() 420 size_t *plaintext_length) in cc3xx_decrypt_chacha20_poly1305() argument 441 additional_data_length, ciphertext, plaintext, plaintext_length, in cc3xx_decrypt_chacha20_poly1305()
|
D | cc3xx_internal_gcm.c | 534 size_t plaintext_length, uint8_t *ciphertext, size_t ciphertext_size, in cc3xx_gcm_encrypt() argument 545 if (ciphertext_size < plaintext_length + tag_length) { in cc3xx_gcm_encrypt() 553 uint8_t *tag = ciphertext + plaintext_length; in cc3xx_gcm_encrypt() 558 tag_length, plaintext, plaintext_length, ciphertext, ciphertext_length); in cc3xx_gcm_encrypt() 569 size_t *plaintext_length) in cc3xx_gcm_decrypt() argument 594 plaintext, plaintext_length); in cc3xx_gcm_decrypt()
|
D | cc3xx_internal_ccm.c | 620 size_t plaintext_length, uint8_t *ciphertext, size_t ciphertext_size, in cc3xx_encrypt_ccm() argument 623 uint8_t *tag = ciphertext + plaintext_length; in cc3xx_encrypt_ccm() 634 if (ciphertext_size < tag_length + plaintext_length) { in cc3xx_encrypt_ccm() 640 return ccm_auth_crypt(key_buffer, key_buffer_size, plaintext_length, nonce, in cc3xx_encrypt_ccm() 652 size_t *plaintext_length) in cc3xx_decrypt_ccm() argument 680 plaintext, plaintext_length, local_tag_buffer, in cc3xx_decrypt_ccm()
|
/trusted-firmware-m-3.6.0/secure_fw/partitions/crypto/ |
D | crypto_aead.c | 51 size_t plaintext_length = in_vec[1].len; in tfm_crypto_aead_interface() 59 plaintext, plaintext_length, in tfm_crypto_aead_interface() 199 iov->plaintext_length); in tfm_crypto_aead_interface()
|
/trusted-firmware-m-3.6.0/interface/include/psa/ |
D | crypto_sizes.h | 357 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext_length) \ argument 359 (plaintext_length) + PSA_ALG_AEAD_GET_TAG_LENGTH(alg) : \ 380 #define PSA_AEAD_ENCRYPT_OUTPUT_MAX_SIZE(plaintext_length) \ argument 381 ((plaintext_length) + PSA_AEAD_TAG_MAX_SIZE)
|
D | crypto.h | 2119 size_t plaintext_length, 2195 size_t *plaintext_length); 2495 size_t plaintext_length); 2797 size_t *plaintext_length,
|
/trusted-firmware-m-3.6.0/interface/src/ |
D | tfm_crypto_api.c | 699 size_t plaintext_length, in TFM_CRYPTO_API() 719 {.base = plaintext, .len = plaintext_length}, in TFM_CRYPTO_API() 763 size_t *plaintext_length) in TFM_CRYPTO_API() 809 *plaintext_length = out_vec[0].len; in TFM_CRYPTO_API() 905 size_t plaintext_length) in TFM_CRYPTO_API() 911 .plaintext_length = plaintext_length, in TFM_CRYPTO_API() 1046 size_t *plaintext_length, in TFM_CRYPTO_API() 1075 if ((out_len == 2) && (plaintext_length == NULL)) { in TFM_CRYPTO_API() 1084 *plaintext_length = out_vec[1].len; in TFM_CRYPTO_API() 1086 *plaintext_length = 0; in TFM_CRYPTO_API()
|
/trusted-firmware-m-3.6.0/interface/include/ |
D | tfm_crypto_defs.h | 52 size_t plaintext_length; /*!< Plaintext length for multipart AEAD */ member
|
/trusted-firmware-m-3.6.0/lib/ext/mbedcrypto/ |
D | 0005-Hardcode-CC3XX-entry-points.patch | 566 + plaintext, plaintext_length, 585 + plaintext, plaintext_size, plaintext_length ); 646 + ad_length, plaintext_length ) ); 701 + plaintext_length, tag, tag_length ) );
|