Lines Matching defs:desc
46 static int ghash_init(struct shash_desc *desc)
48 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
70 static int ghash_update(struct shash_desc *desc,
73 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
74 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm);
124 static int ghash_final(struct shash_desc *desc, u8 *dst)
126 struct ghash_desc_ctx *dctx = shash_desc_ctx(desc);
127 struct ghash_ctx *ctx = crypto_shash_ctx(desc->tfm);
167 struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
170 desc->tfm = child;
171 desc->flags = req->base.flags;
172 return crypto_shash_init(desc);
189 struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
190 return shash_ahash_update(req, desc);
207 struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
208 return crypto_shash_final(desc, req->result);
224 struct shash_desc *desc = cryptd_shash_desc(cryptd_req);
227 desc->tfm = child;
228 desc->flags = req->base.flags;
229 return shash_ahash_digest(req, desc);