caam_ctx
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(crypto_aead_reqtfm(req));
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(crypto_skcipher_reqtfm(req));
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
static int caam_init_common(struct caam_ctx *ctx, struct caam_alg_entry *caam,
const size_t sh_desc_enc_offset = offsetof(struct caam_ctx,
offsetof(struct caam_ctx,
ctx->sh_desc_dec_dma = dma_addr + offsetof(struct caam_ctx,
ctx->key_dma = dma_addr + offsetof(struct caam_ctx, key) -
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(tfm);
struct caam_ctx *ctx = crypto_aead_ctx_dma(tfm);
static void caam_exit_common(struct caam_ctx *ctx)
offsetof(struct caam_ctx, sh_desc_enc_dma) -
offsetof(struct caam_ctx, sh_desc_enc),
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(tfm);
alg->base.cra_ctxsize = sizeof(struct caam_ctx) + crypto_dma_padding();
alg->base.cra_ctxsize = sizeof(struct caam_ctx) + crypto_dma_padding();
struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *caam_ctx = crypto_skcipher_ctx_dma(skcipher);
struct device *qidev = caam_ctx->qidev;
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
static int caam_init_common(struct caam_ctx *ctx, struct caam_alg_entry *caam,
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(tfm);
struct caam_ctx *ctx = crypto_aead_ctx_dma(tfm);
static void caam_exit_common(struct caam_ctx *ctx)
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(tfm);
alg->base.cra_ctxsize = sizeof(struct caam_ctx) + crypto_dma_padding();
alg->base.cra_ctxsize = sizeof(struct caam_ctx) + crypto_dma_padding();
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
static struct caam_drv_ctx *get_drv_ctx(struct caam_ctx *ctx,
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *caam_ctx = crypto_aead_ctx_dma(aead);
qidev = caam_ctx->qidev;
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
static int caam_cra_init(struct caam_ctx *ctx, struct caam_alg_entry *caam,
offsetof(struct caam_ctx, flc_dma),
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(tfm);
static void caam_exit_common(struct caam_ctx *ctx)
offsetof(struct caam_ctx, flc_dma), ctx->dir,
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(tfm);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
alg->base.cra_ctxsize = sizeof(struct caam_ctx) + crypto_dma_padding();
alg->base.cra_ctxsize = sizeof(struct caam_ctx) + crypto_dma_padding();
u8 caam_ctx[MAX_CTX_LEN] ____cacheline_aligned;
u8 caam_ctx[MAX_CTX_LEN];
state->ctx_dma = dma_map_single(dev, state->caam_ctx, ctx_len, flag);
memcpy(req->result, state->caam_ctx, digestsize);
DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx,
DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx,
memcpy(req->result, state->caam_ctx, digestsize);
DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx,
DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx,
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
state->ctx_dma = dma_map_single(ctx->dev, state->caam_ctx, digestsize,
state->ctx_dma = dma_map_single(ctx->dev, state->caam_ctx, digestsize,
state->ctx_dma = dma_map_single(ctx->dev, state->caam_ctx,
state->ctx_dma = dma_map_single(ctx->dev, state->caam_ctx, digestsize,
state->ctx_dma = dma_map_single(ctx->dev, state->caam_ctx,
memcpy(export->caam_ctx, state->caam_ctx, sizeof(export->caam_ctx));
memcpy(state->caam_ctx, export->caam_ctx, sizeof(state->caam_ctx));
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_aead_ctx_dma(authenc);
struct caam_ctx *ctx = crypto_aead_ctx_dma(aead);
struct caam_ctx *ctx = crypto_skcipher_ctx_dma(skcipher);
u8 caam_ctx[MAX_CTX_LEN] ____cacheline_aligned;
u8 caam_ctx[MAX_CTX_LEN];
state->ctx_dma = dma_map_single(jrdev, state->caam_ctx,
memcpy(export->caam_ctx, state->caam_ctx, sizeof(export->caam_ctx));
memcpy(state->caam_ctx, export->caam_ctx, sizeof(state->caam_ctx));
state->ctx_dma = dma_map_single(jrdev, state->caam_ctx, ctx_len, flag);
memcpy(req->result, state->caam_ctx, digestsize);
DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx,
DUMP_PREFIX_ADDRESS, 16, 4, state->caam_ctx,