Lines Matching refs:desc
21 static inline int sha224_base_init(struct shash_desc *desc)
23 struct sha256_state *sctx = shash_desc_ctx(desc);
29 static inline int sha256_base_init(struct shash_desc *desc)
31 struct sha256_state *sctx = shash_desc_ctx(desc);
74 static inline int sha256_base_do_update(struct shash_desc *desc,
79 struct sha256_state *sctx = shash_desc_ctx(desc);
106 static inline int sha256_base_do_finalize(struct shash_desc *desc,
109 struct sha256_state *sctx = shash_desc_ctx(desc);
127 static inline int sha256_base_finish(struct shash_desc *desc, u8 *out)
129 unsigned int digest_size = crypto_shash_digestsize(desc->tfm);
130 struct sha256_state *sctx = shash_desc_ctx(desc);