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

/linux-4.1.27/drivers/crypto/qce/
H A Dcommon.c242 u32 auth_cfg = 0, config; qce_setup_regs_ahash() local
259 auth_cfg = qce_auth_cfg(rctx->flags, rctx->authklen); qce_setup_regs_ahash()
287 auth_cfg = qce_auth_cfg(rctx->flags, 0); qce_setup_regs_ahash()
290 auth_cfg |= BIT(AUTH_LAST_SHIFT); qce_setup_regs_ahash()
292 auth_cfg &= ~BIT(AUTH_LAST_SHIFT); qce_setup_regs_ahash()
295 auth_cfg |= BIT(AUTH_FIRST_SHIFT); qce_setup_regs_ahash()
297 auth_cfg &= ~BIT(AUTH_FIRST_SHIFT); qce_setup_regs_ahash()
300 qce_write(qce, REG_AUTH_SEG_CFG, auth_cfg); qce_setup_regs_ahash()
327 u32 encr_cfg = 0, auth_cfg = 0, config; qce_setup_regs_ablkcipher() local
341 qce_write(qce, REG_AUTH_SEG_CFG, auth_cfg); qce_setup_regs_ablkcipher()

Completed in 60 milliseconds