Lines Matching defs:desc
204 struct shash_desc *desc = NULL;
234 desc = kzalloc(sizeof(*desc) + crypto_shash_descsize(shash),
236 if (!desc)
239 desc->tfm = shash;
241 crypto_shash_init(desc);
242 crypto_shash_update(desc, data, datalen);
243 crypto_shash_update(desc, sig, sizeof(*sh));
244 crypto_shash_final(desc, hash);
246 kfree(desc);