Lines Matching defs:caam_hash_ctx

89 struct caam_hash_ctx {
202 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
258 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
310 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
359 static int hash_digest_key(struct caam_hash_ctx *ctx, u32 *keylen, u8 *key,
424 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
487 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
507 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
584 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
633 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
698 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
719 static int ahash_edesc_add_src(struct caam_hash_ctx *ctx,
758 struct caam_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req));
815 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
940 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
1001 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
1075 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
1142 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
1191 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
1312 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
1388 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash);
1762 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm);
1770 const size_t sh_desc_update_offset = offsetof(struct caam_hash_ctx,
1824 offsetof(struct caam_hash_ctx, key) -
1842 offsetof(struct caam_hash_ctx,
1845 ctx->sh_desc_fin_dma = dma_addr + offsetof(struct caam_hash_ctx,
1848 ctx->sh_desc_digest_dma = dma_addr + offsetof(struct caam_hash_ctx,
1866 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm);
1869 offsetof(struct caam_hash_ctx, key) -
1870 offsetof(struct caam_hash_ctx, sh_desc_update),
1926 alg->cra_ctxsize = sizeof(struct caam_hash_ctx);