Home
last modified time | relevance | path

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

/f-stack/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()
/f-stack/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()
2420 mc_fc_context_t *fctx = &cpt_ctx->mc_ctx.fctx; in cpt_fc_auth_set_key() local
2478 fctx->enc.enc_cipher = 0; in cpt_fc_auth_set_key()
2488 memset(fctx->hmac.ipad, 0, sizeof(fctx->hmac.ipad)); in cpt_fc_auth_set_key()
[all …]
H A Dcpt_mcode_defines.h321 mc_fc_context_t fctx; member
/f-stack/app/redis-5.0.5/src/
H A Dmodule.c4948 return fctx->argc; in RM_CommandFilterArgsCount()
4957 return fctx->argv[pos]; in RM_CommandFilterArgGet()
4972 fctx->argv = zrealloc(fctx->argv, (fctx->argc+1)*sizeof(RedisModuleString *)); in RM_CommandFilterArgInsert()
4974 fctx->argv[i] = fctx->argv[i-1]; in RM_CommandFilterArgInsert()
4976 fctx->argv[pos] = arg; in RM_CommandFilterArgInsert()
4977 fctx->argc++; in RM_CommandFilterArgInsert()
4992 decrRefCount(fctx->argv[pos]); in RM_CommandFilterArgReplace()
4993 fctx->argv[pos] = arg; in RM_CommandFilterArgReplace()
5006 decrRefCount(fctx->argv[pos]); in RM_CommandFilterArgDelete()
5008 fctx->argv[i] = fctx->argv[i+1]; in RM_CommandFilterArgDelete()
[all …]
H A Dredismodule.h351 int REDISMODULE_API_FUNC(RedisModule_CommandFilterArgsCount)(RedisModuleCommandFilterCtx *fctx);
352 …*REDISMODULE_API_FUNC(RedisModule_CommandFilterArgGet)(RedisModuleCommandFilterCtx *fctx, int pos);
353 int REDISMODULE_API_FUNC(RedisModule_CommandFilterArgInsert)(RedisModuleCommandFilterCtx *fctx, int…
354 int REDISMODULE_API_FUNC(RedisModule_CommandFilterArgReplace)(RedisModuleCommandFilterCtx *fctx, in…
355 int REDISMODULE_API_FUNC(RedisModule_CommandFilterArgDelete)(RedisModuleCommandFilterCtx *fctx, int…