Lines Matching refs:caam_hash_ctx

95 struct caam_hash_ctx {  struct
207 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in ahash_set_sh_desc()
263 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in axcbc_set_sh_desc()
315 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in acmac_set_sh_desc()
364 static int hash_digest_key(struct caam_hash_ctx *ctx, u32 *keylen, u8 *key, in hash_digest_key()
427 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in ahash_setkey()
496 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in axcbc_setkey()
516 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in acmac_setkey()
593 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in ahash_done_cpy()
642 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in ahash_done_switch()
724 static int ahash_edesc_add_src(struct caam_hash_ctx *ctx, in ahash_edesc_add_src()
763 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(crypto_ahash_reqtfm(req)); in ahash_do_one_req()
823 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in ahash_update_ctx()
948 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in ahash_final_ctx()
1009 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in ahash_finup_ctx()
1083 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in ahash_digest()
1150 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in ahash_final_no_ctx()
1199 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in ahash_update_no_ctx()
1320 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in ahash_finup_no_ctx()
1396 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in ahash_update_first()
1771 struct caam_hash_ctx *ctx = crypto_ahash_ctx_dma(ahash); in caam_hash_cra_init()
1779 const size_t sh_desc_update_offset = offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1833 offsetof(struct caam_hash_ctx, key) - in caam_hash_cra_init()
1851 offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1854 ctx->sh_desc_fin_dma = dma_addr + offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1857 ctx->sh_desc_digest_dma = dma_addr + offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1872 struct caam_hash_ctx *ctx = crypto_tfm_ctx_dma(tfm); in caam_hash_cra_exit()
1875 offsetof(struct caam_hash_ctx, key) - in caam_hash_cra_exit()
1876 offsetof(struct caam_hash_ctx, sh_desc_update), in caam_hash_cra_exit()
1932 alg->cra_ctxsize = sizeof(struct caam_hash_ctx) + crypto_dma_padding(); in caam_hash_alloc()