Lines Matching refs:caam_hash_ctx
101 struct caam_hash_ctx { struct
227 static inline void append_key_ahash(u32 *desc, struct caam_hash_ctx *ctx) in append_key_ahash()
235 static inline void init_sh_desc_key_ahash(u32 *desc, struct caam_hash_ctx *ctx) in init_sh_desc_key_ahash()
279 struct caam_hash_ctx *ctx) in ahash_ctx_data_to_out()
298 int digestsize, struct caam_hash_ctx *ctx) in ahash_data_to_out()
313 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_set_sh_desc()
428 static int gen_split_hash_key(struct caam_hash_ctx *ctx, const u8 *key_in, in gen_split_hash_key()
437 static int hash_digest_key(struct caam_hash_ctx *ctx, const u8 *key_in, in hash_digest_key()
517 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_setkey()
624 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_unmap_ctx()
640 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done()
673 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_bi()
710 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_src()
743 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_done_ctx_dst()
776 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_ctx()
901 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_final_ctx()
984 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_finup_ctx()
1074 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_digest()
1154 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_final_no_ctx()
1217 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_no_ctx()
1332 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_finup_no_ctx()
1417 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_update_first()
1578 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_export()
1581 memcpy(out, ctx, sizeof(struct caam_hash_ctx)); in ahash_export()
1582 memcpy(out + sizeof(struct caam_hash_ctx), state, in ahash_export()
1590 struct caam_hash_ctx *ctx = crypto_ahash_ctx(ahash); in ahash_import()
1593 memcpy(ctx, in, sizeof(struct caam_hash_ctx)); in ahash_import()
1594 memcpy(state, in + sizeof(struct caam_hash_ctx), in ahash_import()
1758 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm); in caam_hash_cra_init()
1794 struct caam_hash_ctx *ctx = crypto_tfm_ctx(tfm); in caam_hash_cra_exit()
1869 alg->cra_ctxsize = sizeof(struct caam_hash_ctx); in caam_hash_alloc()