Lines Matching refs:caam_hash_ctx
89 struct caam_hash_ctx { struct
202 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_set_sh_desc()
258 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in axcbc_set_sh_desc()
310 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in acmac_set_sh_desc()
359 static int hash_digest_key(struct caam_hash_ctx *ctx, u32 *keylen, u8 *key, in hash_digest_key()
424 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
487 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in axcbc_setkey()
507 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in acmac_setkey()
584 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_cpy()
633 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_switch()
698 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_edesc_alloc()
719 static int ahash_edesc_add_src(struct caam_hash_ctx *ctx, in ahash_edesc_add_src()
758 struct caam_hash_ctx *ctx = crypto_ahash_ctx(crypto_ahash_reqtfm(req)); in ahash_do_one_req()
815 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_ctx()
940 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_final_ctx()
1001 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_finup_ctx()
1075 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_digest()
1142 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_final_no_ctx()
1191 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_no_ctx()
1312 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_finup_no_ctx()
1388 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_first()
1762 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm); in caam_hash_cra_init()
1770 const size_t sh_desc_update_offset = offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1824 offsetof(struct caam_hash_ctx, key) - in caam_hash_cra_init()
1842 offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1845 ctx->sh_desc_fin_dma = dma_addr + offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1848 ctx->sh_desc_digest_dma = dma_addr + offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1866 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm); in caam_hash_cra_exit()
1869 offsetof(struct caam_hash_ctx, key) - in caam_hash_cra_exit()
1870 offsetof(struct caam_hash_ctx, sh_desc_update), in caam_hash_cra_exit()
1926 alg->cra_ctxsize = sizeof(struct caam_hash_ctx); in caam_hash_alloc()