Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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()
439 u32 encr_cfg, auth_cfg, config, totallen; qce_setup_regs_aead() local
[all...]
/kernel/linux/linux-5.10/drivers/crypto/qce/
H A 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()
[all...]

Completed in 2 milliseconds