/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/ |
D | mbedtls_cc_chacha_poly.c | 18 mbedtls_chacha_nonce pNonce, in mbedtls_chacha_poly() argument 46 (pNonce == NULL) || in mbedtls_chacha_poly() 63 …rc = mbedtls_chacha(pNonce, CC_CHACHA_Nonce96BitSize, pKey, 0, CC_CHACHA_Encrypt, chachaInState, s… in mbedtls_chacha_poly() 73 …rc = mbedtls_chacha(pNonce, CC_CHACHA_Nonce96BitSize, pKey, 1, encryptDecryptFlag, (uint8_t *)pDat… in mbedtls_chacha_poly() 97 …rc = mbedtls_chacha(pNonce, CC_CHACHA_Nonce96BitSize, pKey, 1, encryptDecryptFlag, (uint8_t *)pDat… in mbedtls_chacha_poly()
|
D | mbedtls_chacha_ext_dma.c | 33 int mbedtls_ext_dma_chacha_init(uint8_t * pNonce, in mbedtls_ext_dma_chacha_init() argument 52 if (pNonce == NULL) { in mbedtls_ext_dma_chacha_init() 82 CC_PalMemCopy((uint8_t *)nonceBuffer, pNonce, nonceSizeBytes); in mbedtls_ext_dma_chacha_init()
|
D | mbedtls_cc_chacha.c | 93 mbedtls_chacha_nonce pNonce, in mbedtls_chacha_init() argument 124 if (pNonce == NULL) { in mbedtls_chacha_init() 157 CC_PalMemCopy(chachaCtx->nonceBuf, pNonce, nonceSizeBytes); in mbedtls_chacha_init() 207 CIMPORT_C CCError_t mbedtls_chacha(mbedtls_chacha_nonce pNonce, in mbedtls_chacha() argument 235 …Error = mbedtls_chacha_init(&UserContext, pNonce, nonceSize, pKey, initialCounter, encryptDecryptF… in mbedtls_chacha()
|
D | mbedtls_ccm_internal.c | 35 const uint8_t *pNonce, in ccm_init() argument 57 if (pNonce == NULL) in ccm_init() 80 if (pNonce[MBEDTLS_AESCCM_STAR_NONCE_SIZE_BYTES - 1] != securityLevelField) { in ccm_init() 136 CC_PalMemCopy(tempBuff + 1, pNonce, sizeOfN); in ccm_init() 162 CC_PalMemCopy(ctrStateBuf + 1, pNonce, sizeOfN); in ccm_init()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_internal_ccm.c | 132 const uint8_t *pNonce, uint8_t sizeOfN, in ccm_init() argument 150 if (pNonce == NULL) { in ccm_init() 160 securityField = pNonce[CC3XX_CCM_STAR_NONCE_SIZE_BYTES - 1]; in ccm_init() 174 if (pNonce[CC3XX_CCM_STAR_NONCE_SIZE_BYTES - 1] != securityLevelField) { in ccm_init() 224 CC_PalMemCopy(tempBuff + 1, pNonce, sizeOfN); in ccm_init() 250 CC_PalMemCopy(ctrStateBuf + 1, pNonce, sizeOfN); in ccm_init() 753 const uint8_t *pNonce, in cc3xx_ccm_set_nonce() argument 767 if (NULL == ctx || NULL == pNonce) { in cc3xx_ccm_set_nonce() 777 securityField = pNonce[CC3XX_CCM_STAR_NONCE_SIZE_BYTES - 1]; in cc3xx_ccm_set_nonce() 788 if (pNonce[CC3XX_CCM_STAR_NONCE_SIZE_BYTES - 1] != securityLevelField) { in cc3xx_ccm_set_nonce() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/ |
D | mbedtls_cc_chacha.h | 115 mbedtls_chacha_nonce pNonce, /*!< [in] A buffer containing a nonce. */ 181 … mbedtls_chacha_nonce pNonce, /*!< [in] A buffer containing a nonce. */
|
D | mbedtls_chacha_ext_dma.h | 42 uint8_t * pNonce,
|
D | mbedtls_cc_chacha_poly.h | 43 …mbedtls_chacha_nonce pNonce, /*!< [in] A pointer to a buffer containing th…
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/ |
D | run_integration_chacha.c | 132 …static mbedtls_chacha_nonce pNonce = { 0x07, 0x00, 0x00, 0x00, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45,… in runIt_ChachaPolyEncrypt() local 162 pNonce, in runIt_ChachaPolyEncrypt() 198 …static mbedtls_chacha_nonce pNonce = {0x00,0x00,0x00,0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08}; in runIt_ChachaPolyDecrypt() local 230 pNonce, in runIt_ChachaPolyDecrypt()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_productionlib/common/ |
D | prod_crypto_driver.h | 29 uint8_t *pNonce,
|
D | prod_crypto_driver.c | 39 uint8_t *pNonce, in CC_PROD_AesCcmDecrypt() argument 70 pNonce, nonceSizeInBytes, in CC_PROD_AesCcmDecrypt()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/ |
D | cc3xx_internal_ccm.h | 90 const uint8_t *pNonce,
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/x509cert_lib/ |
D | main.c | 618 uint8_t *pNonce, in SBU_x509_AddContentCertBodyExtension() argument 630 (pNonce == NULL)) { in SBU_x509_AddContentCertBodyExtension() 637 memcpy((uint8_t *)certBody.nonce, pNonce, sizeof(CCSbNonce_t)); in SBU_x509_AddContentCertBodyExtension()
|