Lines Matching defs:caam_hash_ctx

95 struct caam_hash_ctx {
207 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
263 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
315 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
364 static int hash_digest_key(struct caam_hash_ctx *ctx, u32 *keylen, u8 *key,
427 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
496 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
516 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
593 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
642 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
723 static int ahash_edesc_add_src(struct caam_hash_ctx *ctx,
762 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(crypto_ahash_reqtfm(req));
822 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
947 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
1008 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
1082 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
1149 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
1198 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
1319 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
1395 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
1769 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash);
1777 const size_t sh_desc_update_offset = offsetof(struct caam_hash_ctx,
1831 offsetof(struct caam_hash_ctx, key) -
1849 offsetof(struct caam_hash_ctx,
1852 ctx->sh_desc_fin_dma = dma_addr + offsetof(struct caam_hash_ctx,
1855 ctx->sh_desc_digest_dma = dma_addr + offsetof(struct caam_hash_ctx,
1870 struct caam_hash_ctx *ctx = crypto_tfm_ctx_dma(tfm);
1873 offsetof(struct caam_hash_ctx, key) -
1874 offsetof(struct caam_hash_ctx, sh_desc_update),
1928 alg->cra_ctxsize = sizeof(struct caam_hash_ctx) + crypto_dma_padding();