Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/crypto/marvell/
Dhash.c208 u32 frag_mode; in mv_cesa_ahash_std_step() local
233 frag_mode = mv_cesa_get_op_cfg(op) & CESA_SA_DESC_CFG_FRAG_MSK; in mv_cesa_ahash_std_step()
237 if (frag_mode == CESA_SA_DESC_CFG_FIRST_FRAG) in mv_cesa_ahash_std_step()
238 frag_mode = CESA_SA_DESC_CFG_NOT_FRAG; in mv_cesa_ahash_std_step()
239 else if (frag_mode == CESA_SA_DESC_CFG_MID_FRAG) in mv_cesa_ahash_std_step()
240 frag_mode = CESA_SA_DESC_CFG_LAST_FRAG; in mv_cesa_ahash_std_step()
243 if (frag_mode == CESA_SA_DESC_CFG_NOT_FRAG || in mv_cesa_ahash_std_step()
244 frag_mode == CESA_SA_DESC_CFG_LAST_FRAG) { in mv_cesa_ahash_std_step()
264 if (frag_mode == CESA_SA_DESC_CFG_LAST_FRAG) in mv_cesa_ahash_std_step()
265 frag_mode = CESA_SA_DESC_CFG_MID_FRAG; in mv_cesa_ahash_std_step()
[all …]