Home
last modified time | relevance | path

Searched refs:aesCtrl (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Daes_driver_ext_dma.c30 uint32_t aesCtrl = 0; in AesExtDmaInit() local
99 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, DEC_KEY0, aesCtrl, dir); in AesExtDmaInit()
102 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, MODE_KEY0, aesCtrl, operationMode); in AesExtDmaInit()
108 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, NK_KEY0, aesCtrl, keySizeId); in AesExtDmaInit()
114 CC_HAL_WRITE_REGISTER(CC_REG_OFFSET(HOST_RGF, AES_CONTROL) ,aesCtrl); in AesExtDmaInit()
Daes_driver.c42 uint32_t aesCtrl = 0; in InitAes() local
108 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, DEC_KEY0, aesCtrl, dir); in InitAes()
111 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, MODE_KEY0, aesCtrl, aesCtx->mode); in InitAes()
117 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, NK_KEY0, aesCtrl, aesCtx->keySizeId); in InitAes()
122 CC_HAL_WRITE_REGISTER(CC_REG_OFFSET(HOST_RGF, AES_CONTROL) ,aesCtrl); in InitAes()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_sbromlib/
Dbsv_aes_driver.c221 uint32_t aesCtrl = 0; in ProcessBsvAes() local
230 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, DEC_KEY0, aesCtrl, BSV_AES_DIRECTION_ENCRYPT); in ProcessBsvAes()
231 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, MODE_KEY0, aesCtrl, mode); in ProcessBsvAes()
235 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, NK_KEY0, aesCtrl, BSV_AES_KEY_SIZE_256BITS); in ProcessBsvAes()
238 CC_REG_FLD_SET(HOST_RGF, AES_CONTROL, NK_KEY0, aesCtrl, BSV_AES_KEY_SIZE_128BITS); in ProcessBsvAes()
240 SB_HAL_WRITE_REGISTER(SB_REG_ADDR(hwBaseAddress, AES_CONTROL) ,aesCtrl); in ProcessBsvAes()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/secure_boot_debug/crypto_driver/reg/
Dcrypto_driver.c45 uint32_t aesCtrl = 0, address = 0, irrVal = 0; in SBROM_CryptoInitDriver() local
80 aesCtrl |= (CC_SB_CMAC_MODE << SB_AES_CTRL_MODE_BIT_SHIFT); in SBROM_CryptoInitDriver()
93 aesCtrl |= (CC_SB_CTR_MODE << SB_AES_CTRL_MODE_BIT_SHIFT); in SBROM_CryptoInitDriver()
104 SB_HAL_WRITE_REGISTER(SB_REG_ADDR(hwBaseAddress, AES_CONTROL) ,aesCtrl); in SBROM_CryptoInitDriver()