Lines Matching refs:desc
22 static inline int sha384_base_init(struct shash_desc *desc)
24 struct sha512_state *sctx = shash_desc_ctx(desc);
39 static inline int sha512_base_init(struct shash_desc *desc)
41 struct sha512_state *sctx = shash_desc_ctx(desc);
56 static inline int sha512_base_do_update(struct shash_desc *desc,
61 struct sha512_state *sctx = shash_desc_ctx(desc);
96 static inline int sha512_base_do_finalize(struct shash_desc *desc,
100 struct sha512_state *sctx = shash_desc_ctx(desc);
120 static inline int sha512_base_finish(struct shash_desc *desc, u8 *out)
122 unsigned int digest_size = crypto_shash_digestsize(desc->tfm);
123 struct sha512_state *sctx = shash_desc_ctx(desc);