Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/qce/
Dcommon.c234 u32 auth_cfg = 0, config; in qce_setup_regs_ahash() local
251 auth_cfg = qce_auth_cfg(rctx->flags, rctx->authklen); in qce_setup_regs_ahash()
279 auth_cfg = qce_auth_cfg(rctx->flags, 0); in qce_setup_regs_ahash()
282 auth_cfg |= BIT(AUTH_LAST_SHIFT); in qce_setup_regs_ahash()
284 auth_cfg &= ~BIT(AUTH_LAST_SHIFT); in qce_setup_regs_ahash()
287 auth_cfg |= BIT(AUTH_FIRST_SHIFT); in qce_setup_regs_ahash()
289 auth_cfg &= ~BIT(AUTH_FIRST_SHIFT); in qce_setup_regs_ahash()
292 qce_write(qce, REG_AUTH_SEG_CFG, auth_cfg); in qce_setup_regs_ahash()
319 u32 encr_cfg = 0, auth_cfg = 0, config; in qce_setup_regs_ablkcipher() local
333 qce_write(qce, REG_AUTH_SEG_CFG, auth_cfg); in qce_setup_regs_ablkcipher()