Lines Matching refs:caam_hash_ctx

101 struct caam_hash_ctx {  struct
245 struct caam_hash_ctx *ctx, bool import_ctx, in ahash_gen_sh_desc()
294 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_set_sh_desc()
355 static int hash_digest_key(struct caam_hash_ctx *ctx, const u8 *key_in, in hash_digest_key()
433 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
531 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_unmap_ctx()
549 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done()
581 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_bi()
618 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_src()
650 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_dst()
683 static struct ahash_edesc *ahash_edesc_alloc(struct caam_hash_ctx *ctx, in ahash_edesc_alloc()
703 static int ahash_edesc_add_src(struct caam_hash_ctx *ctx, in ahash_edesc_add_src()
742 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_ctx()
872 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_final_ctx()
947 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_finup_ctx()
1034 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_digest()
1114 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_final_no_ctx()
1174 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_no_ctx()
1299 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_finup_no_ctx()
1389 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_first()
1732 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm); in caam_hash_cra_init()
1757 offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1768 offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1770 ctx->sh_desc_fin_dma = dma_addr + offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1772 ctx->sh_desc_digest_dma = dma_addr + offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1789 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm); in caam_hash_cra_exit()
1792 offsetof(struct caam_hash_ctx, in caam_hash_cra_exit()
1845 alg->cra_ctxsize = sizeof(struct caam_hash_ctx); in caam_hash_alloc()