Lines Matching refs:desc
61 static int chksum_init(struct shash_desc *desc) in chksum_init() argument
63 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); in chksum_init()
64 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_init()
89 static int chksum_update(struct shash_desc *desc, const u8 *data, in chksum_update() argument
92 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_update()
98 static int chksum_final(struct shash_desc *desc, u8 *out) in chksum_final() argument
100 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_final()
112 static int chksum_finup(struct shash_desc *desc, const u8 *data, in chksum_finup() argument
115 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_finup()
120 static int chksum_digest(struct shash_desc *desc, const u8 *data, in chksum_digest() argument
123 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); in chksum_digest()