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