Lines Matching refs:desc
21 static inline int sha224_base_init(struct shash_desc *desc) in sha224_base_init() argument
23 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_base_init()
28 static inline int sha256_base_init(struct shash_desc *desc) in sha256_base_init() argument
30 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_init()
35 static inline int sha256_base_do_update(struct shash_desc *desc, in sha256_base_do_update() argument
40 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_update()
73 static inline int sha256_base_do_finalize(struct shash_desc *desc, in sha256_base_do_finalize() argument
77 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_finalize()
96 static inline int sha256_base_finish(struct shash_desc *desc, u8 *out) in sha256_base_finish() argument
98 unsigned int digest_size = crypto_shash_digestsize(desc->tfm); in sha256_base_finish()
99 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_finish()