Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/qce/
H A Dcommon.c158 u32 auth_cfg = 0, config; in qce_setup_regs_ahash() local
175 auth_cfg = qce_auth_cfg(rctx->flags, rctx->authklen, digestsize); in qce_setup_regs_ahash()
203 auth_cfg = qce_auth_cfg(rctx->flags, 0, digestsize); in qce_setup_regs_ahash()
206 auth_cfg |= BIT(AUTH_LAST_SHIFT); in qce_setup_regs_ahash()
208 auth_cfg &= ~BIT(AUTH_LAST_SHIFT); in qce_setup_regs_ahash()
211 auth_cfg |= BIT(AUTH_FIRST_SHIFT); in qce_setup_regs_ahash()
213 auth_cfg &= ~BIT(AUTH_FIRST_SHIFT); in qce_setup_regs_ahash()
216 qce_write(qce, REG_AUTH_SEG_CFG, auth_cfg); in qce_setup_regs_ahash()
325 u32 encr_cfg = 0, auth_cfg = 0, config; in qce_setup_regs_skcipher() local
339 qce_write(qce, REG_AUTH_SEG_CFG, auth_cfg); in qce_setup_regs_skcipher()
[all …]