| /trusted-firmware-m-latest/platform/ext/common/template/ |
| D | tfm_hal_its_encryption.c | 179 const size_t ciphertext_size, in tfm_hal_its_aead_encrypt() argument 192 if (plaintext_size > ciphertext_size) { in tfm_hal_its_aead_encrypt() 205 ciphertext, ciphertext_size, in tfm_hal_its_aead_encrypt() 228 const size_t ciphertext_size, in tfm_hal_its_aead_decrypt() argument 242 if (plaintext_size < ciphertext_size) { in tfm_hal_its_aead_decrypt() 247 (void)memcpy((ciphertext + ciphertext_size), tag, TFM_ITS_AUTH_TAG_LENGTH); in tfm_hal_its_aead_decrypt() 248 ciphertext_and_tag_size = ciphertext_size + TFM_ITS_AUTH_TAG_LENGTH; in tfm_hal_its_aead_decrypt()
|
| /trusted-firmware-m-latest/platform/ext/target/nordic_nrf/common/core/ |
| D | tfm_hal_its_encryption.c | 182 const size_t ciphertext_size, in tfm_hal_its_aead_encrypt() argument 194 if (plaintext_size > ciphertext_size) { in tfm_hal_its_aead_encrypt() 225 const size_t ciphertext_size, in tfm_hal_its_aead_decrypt() argument 239 if (plaintext_size < ciphertext_size) { in tfm_hal_its_aead_decrypt() 255 ciphertext_size, in tfm_hal_its_aead_decrypt()
|
| /trusted-firmware-m-latest/platform/include/ |
| D | tfm_hal_its_encryption.h | 83 const size_t ciphertext_size, 117 const size_t ciphertext_size,
|
| /trusted-firmware-m-latest/secure_fw/partitions/crypto/ |
| D | crypto_aead.c | 53 size_t ciphertext_size = out_vec[0].len; in tfm_crypto_aead_interface() 60 ciphertext, ciphertext_size, &out_vec[0].len); in tfm_crypto_aead_interface() 161 size_t ciphertext_size = out_vec[2].len; in tfm_crypto_aead_interface() local 166 ciphertext, ciphertext_size, &out_vec[2].len, in tfm_crypto_aead_interface()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/ |
| D | cc3xx_psa_aead.h | 52 size_t ciphertext_size, size_t *ciphertext_length); 224 size_t ciphertext_size,
|
| D | cc3xx_internal_ccm.h | 37 size_t plaintext_length, uint8_t *ciphertext, size_t ciphertext_size,
|
| D | cc3xx_internal_gcm.h | 32 size_t plaintext_length, uint8_t *ciphertext, size_t ciphertext_size,
|
| D | cc3xx_internal_chacha20_poly1305.h | 175 size_t plaintext_length, uint8_t *ciphertext, size_t ciphertext_size,
|
| /trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/include/ |
| D | cc3xx_psa_aead.h | 53 size_t ciphertext_size, size_t *ciphertext_length); 225 size_t ciphertext_size,
|
| /trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/src/ |
| D | cc3xx_psa_aead.c | 516 size_t ciphertext_size, in cc3xx_aead_finish() argument 528 CC3XX_ASSERT(!ciphertext_size ^ (ciphertext != NULL)); in cc3xx_aead_finish() 573 cc3xx_lowlevel_chacha20_set_output_buffer(ciphertext, ciphertext_size); in cc3xx_aead_finish() 599 cc3xx_lowlevel_aes_set_output_buffer(ciphertext, ciphertext_size); in cc3xx_aead_finish() 766 size_t ciphertext_size, size_t *ciphertext_length) in cc3xx_aead_encrypt() argument 771 plaintext, plaintext_length, ciphertext, ciphertext_size, ciphertext_length, in cc3xx_aead_encrypt()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
| D | cc3xx_psa_aead.c | 357 size_t ciphertext_size, size_t *ciphertext_length) 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() 405 ciphertext_size, ciphertext_length, in cc3xx_aead_encrypt() 896 size_t ciphertext_size, in cc3xx_aead_finish() argument 908 if (ciphertext_size < curr_cache_size) { in cc3xx_aead_finish()
|
| D | cc3xx_internal_chacha20_poly1305.c | 396 size_t plaintext_length, uint8_t *ciphertext, size_t ciphertext_size, in cc3xx_encrypt_chacha20_poly1305() argument 410 ciphertext_length, tag, ciphertext_size - plaintext_length); in cc3xx_encrypt_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()
|
| D | cc3xx_internal_ccm.c | 620 size_t plaintext_length, uint8_t *ciphertext, size_t ciphertext_size, in cc3xx_encrypt_ccm() argument 634 if (ciphertext_size < tag_length + plaintext_length) { in cc3xx_encrypt_ccm()
|
| /trusted-firmware-m-latest/interface/src/ |
| D | tfm_crypto_api.c | 688 size_t ciphertext_size, in TFM_CRYPTO_API() 710 {.base = ciphertext, .len = ciphertext_size}, in TFM_CRYPTO_API() 980 size_t ciphertext_size, in TFM_CRYPTO_API() 993 if ((ciphertext == NULL) && (ciphertext_size != 0)) { in TFM_CRYPTO_API() 1003 {.base = ciphertext, .len = ciphertext_size} in TFM_CRYPTO_API() 1008 if (ciphertext == NULL || ciphertext_size == 0) { in TFM_CRYPTO_API()
|
| /trusted-firmware-m-latest/interface/include/psa/ |
| D | crypto.h | 2118 size_t ciphertext_size, 2710 size_t ciphertext_size,
|
| D | crypto_se_driver.h | 734 size_t ciphertext_size,
|
| /trusted-firmware-m-latest/lib/ext/mbedcrypto/ |
| D | 0005-Hardcode-CC3XX-entry-points.patch | 572 + ciphertext, ciphertext_size, ciphertext_length ); 691 + ciphertext, ciphertext_size,
|
| /trusted-firmware-m-latest/docs/design_docs/services/ |
| D | tfm_its_service.rst | 303 const size_t ciphertext_size, 310 const size_t ciphertext_size,
|