Home
last modified time | relevance | path

Searched refs:reg_addr (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dcrypto.c223 uint32_t reg_addr; in AES_SetDMATransfer() local
225 reg_addr = (uint32_t)&crpt->AES0_SADDR + (u32Channel * 0x3CUL); in AES_SetDMATransfer()
226 outpw(reg_addr, u32SrcAddr); in AES_SetDMATransfer()
228 reg_addr = (uint32_t)&crpt->AES0_DADDR + (u32Channel * 0x3CUL); in AES_SetDMATransfer()
229 outpw(reg_addr, u32DstAddr); in AES_SetDMATransfer()
231 reg_addr = (uint32_t)&crpt->AES0_CNT + (u32Channel * 0x3CUL); in AES_SetDMATransfer()
232 outpw(reg_addr, u32TransCnt); in AES_SetDMATransfer()
301 uint32_t i, reg_addr; in TDES_SetKey() local
303 reg_addr = (uint32_t)&crpt->TDES0_KEY1H + (0x40UL * u32Channel); in TDES_SetKey()
307 outpw(reg_addr, au32Keys[i][0]); /* TDESn_KEYxH */ in TDES_SetKey()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dcrypto.c327 uint32_t i, wcnt, reg_addr; in SHA_Read() local
353 reg_addr = (uint32_t) & (crpt->HMAC_DGST[0]); in SHA_Read()
356 u32Digest[i] = inpw(reg_addr); in SHA_Read()
357 reg_addr += 4UL; in SHA_Read()