Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/stm32/
H A Dstm32-cryp.c117 #define CR_CRYPEN 0x00008000 macro
283 writel_relaxed(readl_relaxed(cryp->regs + cryp->caps->cr) | CR_CRYPEN, in stm32_cryp_enable()
292 !(status & CR_CRYPEN), 10, 100000); in stm32_cryp_wait_enable()
544 stm32_cryp_write(cryp, cryp->caps->cr, cfg | CR_PH_INIT | CR_CRYPEN); in stm32_cryp_gcm_init()
584 cfg &= ~CR_CRYPEN; in stm32_crypt_gcmccm_end_header()
588 cfg |= CR_PH_PAYLOAD | CR_CRYPEN; in stm32_crypt_gcmccm_end_header()
664 stm32_cryp_write(cryp, cryp->caps->cr, cfg | CR_PH_INIT | CR_CRYPEN); in stm32_cryp_ccm_init()
687 cfg |= CR_PH_HEADER | CR_CRYPEN; in stm32_cryp_ccm_init()
1287 cfg |= CR_CRYPEN; in stm32_cryp_read_auth_tag()
1351 cfg &= ~CR_CRYPEN; in stm32_cryp_read_auth_tag()
[all …]