Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/crypto/qce/
Dcommon.c154 u32 auth_cfg = 0, config; in qce_setup_regs_ahash() local
171 auth_cfg = qce_auth_cfg(rctx->flags, rctx->authklen); in qce_setup_regs_ahash()
199 auth_cfg = qce_auth_cfg(rctx->flags, 0); in qce_setup_regs_ahash()
202 auth_cfg |= BIT(AUTH_LAST_SHIFT); in qce_setup_regs_ahash()
204 auth_cfg &= ~BIT(AUTH_LAST_SHIFT); in qce_setup_regs_ahash()
207 auth_cfg |= BIT(AUTH_FIRST_SHIFT); in qce_setup_regs_ahash()
209 auth_cfg &= ~BIT(AUTH_FIRST_SHIFT); in qce_setup_regs_ahash()
212 qce_write(qce, REG_AUTH_SEG_CFG, auth_cfg); in qce_setup_regs_ahash()
320 u32 encr_cfg = 0, auth_cfg = 0, config; in qce_setup_regs_skcipher() local
334 qce_write(qce, REG_AUTH_SEG_CFG, auth_cfg); in qce_setup_regs_skcipher()