Lines Matching refs:caam_hash_ctx
88 struct caam_hash_ctx { struct
224 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_set_sh_desc()
280 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in axcbc_set_sh_desc()
332 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in acmac_set_sh_desc()
381 static int hash_digest_key(struct caam_hash_ctx *ctx, u32 *keylen, u8 *key, in hash_digest_key()
446 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
510 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in axcbc_setkey()
532 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in acmac_setkey()
608 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done()
634 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_bi()
668 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_src()
694 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_dst()
724 static struct ahash_edesc *ahash_edesc_alloc(struct caam_hash_ctx *ctx, in ahash_edesc_alloc()
744 static int ahash_edesc_add_src(struct caam_hash_ctx *ctx, in ahash_edesc_add_src()
784 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_ctx()
923 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_final_ctx()
989 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_finup_ctx()
1069 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_digest()
1146 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_final_no_ctx()
1205 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_no_ctx()
1340 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_finup_no_ctx()
1426 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_first()
1816 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm); in caam_hash_cra_init()
1876 offsetof(struct caam_hash_ctx, key), in caam_hash_cra_init()
1893 offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1895 ctx->sh_desc_fin_dma = dma_addr + offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1897 ctx->sh_desc_digest_dma = dma_addr + offsetof(struct caam_hash_ctx, in caam_hash_cra_init()
1912 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm); in caam_hash_cra_exit()
1915 offsetof(struct caam_hash_ctx, key), in caam_hash_cra_exit()
1971 alg->cra_ctxsize = sizeof(struct caam_hash_ctx); in caam_hash_alloc()