Home
last modified time | relevance | path

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

/dpdk/drivers/common/cnxk/
H A Droc_se.c235 if (se_ctx == NULL) in roc_se_auth_key_set()
238 zs_ctx = &se_ctx->se_ctx.zs_ctx; in roc_se_auth_key_set()
239 k_ctx = &se_ctx->se_ctx.k_ctx; in roc_se_auth_key_set()
240 fctx = &se_ctx->se_ctx.fctx; in roc_se_auth_key_set()
342 se_ctx->hmac = 1; in roc_se_auth_key_set()
364 struct roc_se_zuc_snow3g_ctx *zs_ctx = &se_ctx->se_ctx.zs_ctx; in roc_se_ciph_key_set()
365 struct roc_se_context *fctx = &se_ctx->se_ctx.fctx; in roc_se_ciph_key_set()
478 se_ctx->k_ecb = 1; in roc_se_ciph_key_set()
479 memcpy(se_ctx->se_ctx.k_ctx.ci_key, key, key_len); in roc_se_ciph_key_set()
483 memcpy(se_ctx->se_ctx.k_ctx.ci_key, key, key_len); in roc_se_ciph_key_set()
[all …]
H A Droc_se.h300 } se_ctx; member
304 int __roc_api roc_se_auth_key_set(struct roc_se_ctx *se_ctx,
308 int __roc_api roc_se_ciph_key_set(struct roc_se_ctx *se_ctx,
312 void __roc_api roc_se_ctx_swap(struct roc_se_ctx *se_ctx);
/dpdk/drivers/crypto/cnxk/
H A Dcnxk_se.h132 struct roc_se_context *fctx = &se_ctx->se_ctx.fctx; in cpt_fc_salt_update()
399 struct roc_se_ctx *se_ctx; in cpt_enc_hmac_prep() local
425 mac_len = se_ctx->mac_len; in cpt_enc_hmac_prep()
699 struct roc_se_ctx *se_ctx; in cpt_dec_hmac_prep() local
725 mac_len = se_ctx->mac_len; in cpt_dec_hmac_prep()
1004 struct roc_se_ctx *se_ctx; in cpt_pdcp_alg_prep() local
1017 flags = se_ctx->zsk_flags; in cpt_pdcp_alg_prep()
1018 mac_len = se_ctx->mac_len; in cpt_pdcp_alg_prep()
1274 struct roc_se_ctx *se_ctx; in cpt_kasumi_enc_prep() local
1295 flags = se_ctx->zsk_flags; in cpt_kasumi_enc_prep()
[all …]
H A Dcnxk_cryptodev_ops.c547 inst_w7.s.cptr = (uint64_t)&sess->roc_se_ctx.se_ctx; in cnxk_cpt_inst_w7_get()