Home
last modified time | relevance | path

Searched refs:ciphertext_size (Results 1 – 19 of 19) sorted by relevance

/trusted-firmware-m-latest/platform/ext/common/template/
Dtfm_hal_its_encryption.c179 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/
Dtfm_hal_its_encryption.c182 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/
Dtfm_hal_its_encryption.h83 const size_t ciphertext_size,
117 const size_t ciphertext_size,
/trusted-firmware-m-latest/secure_fw/partitions/crypto/
Dcrypto_aead.c53 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/
Dcc3xx_psa_aead.h52 size_t ciphertext_size, size_t *ciphertext_length);
224 size_t ciphertext_size,
Dcc3xx_internal_ccm.h37 size_t plaintext_length, uint8_t *ciphertext, size_t ciphertext_size,
Dcc3xx_internal_gcm.h32 size_t plaintext_length, uint8_t *ciphertext, size_t ciphertext_size,
Dcc3xx_internal_chacha20_poly1305.h175 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/
Dcc3xx_psa_aead.h53 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/
Dcc3xx_psa_aead.c516 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/
Dcc3xx_psa_aead.c357 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()
Dcc3xx_internal_chacha20_poly1305.c396 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()
Dcc3xx_internal_gcm.c534 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()
Dcc3xx_internal_ccm.c620 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/
Dtfm_crypto_api.c688 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/
Dcrypto.h2118 size_t ciphertext_size,
2710 size_t ciphertext_size,
Dcrypto_se_driver.h734 size_t ciphertext_size,
/trusted-firmware-m-latest/lib/ext/mbedcrypto/
D0005-Hardcode-CC3XX-entry-points.patch572 + ciphertext, ciphertext_size, ciphertext_length );
691 + ciphertext, ciphertext_size,
/trusted-firmware-m-latest/docs/design_docs/services/
Dtfm_its_service.rst303 const size_t ciphertext_size,
310 const size_t ciphertext_size,