Lines Matching refs:desc
57 static int chksum_init(struct shash_desc *desc) in chksum_init() argument
59 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); in chksum_init()
60 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_init()
83 static int chksum_update(struct shash_desc *desc, const u8 *data, in chksum_update() argument
86 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_update()
92 static int chksum_final(struct shash_desc *desc, u8 *out) in chksum_final() argument
94 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_final()
106 static int chksum_finup(struct shash_desc *desc, const u8 *data, in chksum_finup() argument
109 struct chksum_desc_ctx *ctx = shash_desc_ctx(desc); in chksum_finup()
114 static int chksum_digest(struct shash_desc *desc, const u8 *data, in chksum_digest() argument
117 struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm); in chksum_digest()