Home
last modified time | relevance | path

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

/dpdk/drivers/crypto/nitrox/
H A Dnitrox_sym.c381 struct flexi_crypto_context *fctx = &ctx->fctx; in configure_cipher_ctx() local
397 fctx->flags = rte_be_to_cpu_64(fctx->flags); in configure_cipher_ctx()
401 fctx->flags = rte_cpu_to_be_64(fctx->flags); in configure_cipher_ctx()
460 struct flexi_crypto_context *fctx = &ctx->fctx; in configure_auth_ctx() local
472 fctx->flags = rte_be_to_cpu_64(fctx->flags); in configure_auth_ctx()
476 fctx->flags = rte_cpu_to_be_64(fctx->flags); in configure_auth_ctx()
477 memset(&fctx->auth, 0, sizeof(fctx->auth)); in configure_auth_ctx()
487 struct flexi_crypto_context *fctx = &ctx->fctx; in configure_aead_ctx() local
509 fctx->flags = rte_be_to_cpu_64(fctx->flags); in configure_aead_ctx()
516 fctx->flags = rte_cpu_to_be_64(fctx->flags); in configure_aead_ctx()
[all …]
H A Dnitrox_sym_ctx.h71 struct flexi_crypto_context fctx; member
H A Dnitrox_sym_reqmgr.c211 sr->instr.irh.s.ctxl = RTE_ALIGN_MUL_CEIL(sizeof(ctx->fctx), 8) / 8; in create_se_instr()
221 ctx_handle = ctx->iova + offsetof(struct nitrox_crypto_ctx, fctx); in create_se_instr()
681 memcpy(ctx->fctx.crypto.iv, addr, AES_GCM_SALT_SIZE); in softreq_copy_salt()
/dpdk/drivers/common/cnxk/
H A Droc_se.c232 struct roc_se_context *fctx; in roc_se_auth_key_set() local
240 fctx = &se_ctx->se_ctx.fctx; in roc_se_auth_key_set()
334 fctx->enc.enc_cipher = 0; in roc_se_auth_key_set()
336 fctx->enc.hash_type = type; in roc_se_auth_key_set()
338 fctx->enc.mac_len = mac_len; in roc_se_auth_key_set()
350 memset(fctx->hmac.ipad, 0, sizeof(fctx->hmac.ipad)); in roc_se_auth_key_set()
351 memset(fctx->hmac.opad, 0, sizeof(fctx->hmac.opad)); in roc_se_auth_key_set()
365 struct roc_se_context *fctx = &se_ctx->se_ctx.fctx; in roc_se_ciph_key_set() local
409 fctx->enc.enc_cipher = 0; in roc_se_ciph_key_set()
444 memset(fctx->hmac.ipad, 0, sizeof(fctx->hmac.ipad)); in roc_se_ciph_key_set()
[all …]
H A Droc_se.h297 struct roc_se_context fctx; member
/dpdk/drivers/common/cpt/
H A Dcpt_ucode.h83 mc_fc_context_t *fctx = &cpt_ctx->mc_ctx.fctx; in cpt_fc_salt_update() local
84 memcpy(fctx->enc.encr_iv, salt, 4); in cpt_fc_salt_update()
164 fctx->enc.enc_cipher = 0; in cpt_fc_ciph_set_key_passthrough()
186 fctx->enc.aes_key = aes_key_type; in cpt_fc_ciph_set_key_set_aes_key_type()
239 mc_fc_context_t *fctx = &cpt_ctx->mc_ctx.fctx; in cpt_fc_ciph_set_key() local
305 memset(fctx->hmac.ipad, 0, sizeof(fctx->hmac.ipad)); in cpt_fc_ciph_set_key()
328 fctx->enc.enc_cipher = type; in cpt_fc_ciph_set_key()
2488 mc_fc_context_t *fctx = &cpt_ctx->mc_ctx.fctx; in cpt_fc_auth_set_key() local
2546 fctx->enc.enc_cipher = 0; in cpt_fc_auth_set_key()
2561 memset(fctx->hmac.ipad, 0, sizeof(fctx->hmac.ipad)); in cpt_fc_auth_set_key()
[all …]
H A Dcpt_mcode_defines.h329 mc_fc_context_t fctx; member
/dpdk/drivers/crypto/cnxk/
H A Dcnxk_se.h132 struct roc_se_context *fctx = &se_ctx->se_ctx.fctx; in cpt_fc_salt_update() local
133 memcpy(fctx->enc.encr_iv, salt, 4); in cpt_fc_salt_update()