/trusted-firmware-m-3.5.0/platform/ext/accelerator/cc312/bl1/ |
D | cc312_rom_crypto.c | 142 size_t ciphertext_length, in bl1_aes_256_ctr_decrypt() argument 151 if (ciphertext_length == 0) { in bl1_aes_256_ctr_decrypt() 170 for (idx = 0; idx + 0x8000 < ciphertext_length; idx += 0x8000) { in bl1_aes_256_ctr_decrypt() 181 ciphertext + idx, ciphertext_length - idx, counter, in bl1_aes_256_ctr_decrypt() 188 size_t ciphertext_length, in aes_256_ecb_encrypt() argument 195 if (ciphertext_length == 0) { in aes_256_ecb_encrypt() 209 ciphertext_length, NULL, ciphertext, in aes_256_ecb_encrypt()
|
/trusted-firmware-m-3.5.0/bl1/bl1_1/shared_lib/crypto/ |
D | crypto_mbedcrypto.c | 66 size_t ciphertext_length, in bl1_aes_256_ctr_decrypt() argument 75 if (ciphertext_length == 0) { in bl1_aes_256_ctr_decrypt() 99 rc = mbedtls_aes_crypt_ctr(&ctx, ciphertext_length, &nc_off, counter, in bl1_aes_256_ctr_decrypt()
|
/trusted-firmware-m-3.5.0/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); 80 size_t ciphertext_length, uint8_t *plaintext, 225 size_t *ciphertext_length,
|
D | cc3xx_internal_ccm.h | 38 size_t *ciphertext_length); 48 size_t ciphertext_length, uint8_t *plaintext, size_t plaintext_size,
|
D | cc3xx_internal_gcm.h | 33 size_t *ciphertext_length); 43 size_t ciphertext_length, uint8_t *plaintext, size_t plaintext_size,
|
D | cc3xx_internal_chacha20_poly1305.h | 176 size_t *ciphertext_length); 186 size_t ciphertext_length, uint8_t *plaintext, size_t plaintext_size,
|
/trusted-firmware-m-3.5.0/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() 417 const uint8_t *ciphertext, size_t ciphertext_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() 467 ciphertext_length, plaintext, in cc3xx_aead_decrypt() [all …]
|
D | cc3xx_internal_chacha20_poly1305.c | 398 size_t *ciphertext_length) in cc3xx_encrypt_chacha20_poly1305() argument 411 ciphertext_length, tag, ciphertext_size - plaintext_length); in cc3xx_encrypt_chacha20_poly1305() 420 size_t ciphertext_length, uint8_t *plaintext, size_t plaintext_size, in cc3xx_decrypt_chacha20_poly1305() argument 434 size_t ciphertext_length_without_tag = ciphertext_length - tag_length; in cc3xx_decrypt_chacha20_poly1305()
|
D | cc3xx_internal_gcm.c | 535 size_t *ciphertext_length) in cc3xx_gcm_encrypt() argument 558 tag_length, plaintext, plaintext_length, ciphertext, ciphertext_length); in cc3xx_gcm_encrypt() 568 size_t ciphertext_length, uint8_t *plaintext, size_t plaintext_size, in cc3xx_gcm_decrypt() argument 581 size_t ciphertext_length_without_tag = ciphertext_length - tag_length; in cc3xx_gcm_decrypt()
|
D | cc3xx_internal_ccm.c | 621 size_t *ciphertext_length) in cc3xx_encrypt_ccm() argument 642 plaintext, ciphertext, ciphertext_length, tag, in cc3xx_encrypt_ccm() 651 size_t ciphertext_length, uint8_t *plaintext, size_t plaintext_size, in cc3xx_decrypt_ccm() argument 662 size_t ciphertext_length_without_tag = ciphertext_length - tag_length; in cc3xx_decrypt_ccm()
|
/trusted-firmware-m-3.5.0/interface/include/psa/ |
D | crypto_sizes.h | 355 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext_length) \ argument 357 (ciphertext_length) > PSA_ALG_AEAD_GET_TAG_LENGTH(alg) ? \ 358 (ciphertext_length) - PSA_ALG_AEAD_GET_TAG_LENGTH(alg) : \ 379 #define PSA_AEAD_DECRYPT_OUTPUT_MAX_SIZE(ciphertext_length) \ argument 380 (ciphertext_length)
|
D | crypto.h | 2111 size_t *ciphertext_length); 2181 size_t ciphertext_length, 2703 size_t *ciphertext_length,
|
/trusted-firmware-m-3.5.0/bl1/bl1_1/shared_lib/interface/ |
D | crypto.h | 40 size_t ciphertext_length,
|
/trusted-firmware-m-3.5.0/secure_fw/partitions/crypto/ |
D | crypto_aead.c | 77 size_t ciphertext_length = in_vec[1].len; in tfm_crypto_aead_interface() 85 ciphertext, ciphertext_length, in tfm_crypto_aead_interface()
|
/trusted-firmware-m-3.5.0/interface/src/ |
D | tfm_crypto_api.c | 702 size_t *ciphertext_length) in TFM_CRYPTO_API() 748 *ciphertext_length = out_vec[0].len; in TFM_CRYPTO_API() 760 size_t ciphertext_length, in TFM_CRYPTO_API() 780 {.base = ciphertext, .len = ciphertext_length}, in TFM_CRYPTO_API() 994 size_t *ciphertext_length, in TFM_CRYPTO_API() 1024 if ((out_len == 3) && (ciphertext_length == NULL)) { in TFM_CRYPTO_API() 1033 *ciphertext_length = out_vec[2].len; in TFM_CRYPTO_API() 1035 *ciphertext_length = 0; in TFM_CRYPTO_API()
|
/trusted-firmware-m-3.5.0/lib/ext/mbedcrypto/ |
D | 0005-CC3XX-Manually-enforce-no-software-builtin-fallback-.patch | 326 ciphertext, ciphertext_size, ciphertext_length ) ); 343 ciphertext, ciphertext_length, 461 ciphertext_length, tag,
|
D | 0003-Driver-wrapper-entry-points-for-CC3XX.patch | 643 + ciphertext, ciphertext_size, ciphertext_length ); 660 + ciphertext, ciphertext_length, 767 + ciphertext_length, tag, tag_size, tag_length ) );
|