Lines Matching refs:tmpl

441 			      struct mv_cesa_op_ctx *tmpl, bool algo_le)
446 mv_cesa_update_op_cfg(tmpl,
451 mv_cesa_set_mac_op_total_len(tmpl, 0);
452 mv_cesa_set_mac_op_frag_len(tmpl, 0);
453 creq->op_tmpl = *tmpl;
493 struct mv_cesa_op_ctx *tmpl, unsigned int frag_len,
499 op = mv_cesa_dma_add_op(chain, tmpl, false, flags);
511 if (mv_cesa_mac_op_is_first_frag(tmpl))
512 mv_cesa_update_op_cfg(tmpl,
819 struct mv_cesa_op_ctx *tmpl = &creq->op_tmpl;
821 mv_cesa_set_mac_op_total_len(tmpl, creq->len);
831 struct mv_cesa_op_ctx *tmpl = &creq->op_tmpl;
834 mv_cesa_set_mac_op_total_len(tmpl, creq->len);
895 struct mv_cesa_op_ctx tmpl = { };
897 mv_cesa_set_op_cfg(&tmpl, CESA_SA_DESC_CFG_MACM_MD5);
899 mv_cesa_ahash_init(req, &tmpl, true);
965 struct mv_cesa_op_ctx tmpl = { };
967 mv_cesa_set_op_cfg(&tmpl, CESA_SA_DESC_CFG_MACM_SHA1);
969 mv_cesa_ahash_init(req, &tmpl, false);
1036 struct mv_cesa_op_ctx tmpl = { };
1038 mv_cesa_set_op_cfg(&tmpl, CESA_SA_DESC_CFG_MACM_SHA256);
1040 mv_cesa_ahash_init(req, &tmpl, false);
1249 struct mv_cesa_op_ctx tmpl = { };
1251 mv_cesa_set_op_cfg(&tmpl, CESA_SA_DESC_CFG_MACM_HMAC_MD5);
1252 memcpy(tmpl.ctx.hash.iv, ctx->iv, sizeof(ctx->iv));
1254 mv_cesa_ahash_init(req, &tmpl, true);
1320 struct mv_cesa_op_ctx tmpl = { };
1322 mv_cesa_set_op_cfg(&tmpl, CESA_SA_DESC_CFG_MACM_HMAC_SHA1);
1323 memcpy(tmpl.ctx.hash.iv, ctx->iv, sizeof(ctx->iv));
1325 mv_cesa_ahash_init(req, &tmpl, false);
1411 struct mv_cesa_op_ctx tmpl = { };
1413 mv_cesa_set_op_cfg(&tmpl, CESA_SA_DESC_CFG_MACM_HMAC_SHA256);
1414 memcpy(tmpl.ctx.hash.iv, ctx->iv, sizeof(ctx->iv));
1416 mv_cesa_ahash_init(req, &tmpl, false);