Home
last modified time | relevance | path

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

/drivers/crypto/qce/
Dcommon.c157 u32 auth_cfg = 0, config; in qce_setup_regs_ahash() local
174 auth_cfg = qce_auth_cfg(rctx->flags, rctx->authklen, digestsize); in qce_setup_regs_ahash()
202 auth_cfg = qce_auth_cfg(rctx->flags, 0, digestsize); in qce_setup_regs_ahash()
205 auth_cfg |= BIT(AUTH_LAST_SHIFT); in qce_setup_regs_ahash()
207 auth_cfg &= ~BIT(AUTH_LAST_SHIFT); in qce_setup_regs_ahash()
210 auth_cfg |= BIT(AUTH_FIRST_SHIFT); in qce_setup_regs_ahash()
212 auth_cfg &= ~BIT(AUTH_FIRST_SHIFT); in qce_setup_regs_ahash()
215 qce_write(qce, REG_AUTH_SEG_CFG, auth_cfg); in qce_setup_regs_ahash()
324 u32 encr_cfg = 0, auth_cfg = 0, config; in qce_setup_regs_skcipher() local
338 qce_write(qce, REG_AUTH_SEG_CFG, auth_cfg); in qce_setup_regs_skcipher()
[all …]