Lines Matching defs:desc
285 struct hash_desc desc;
291 desc.tfm = tfm;
292 desc.flags = 0;
295 crypto_hash_init(&desc);
300 crypto_hash_update(&desc, &sg, sg.length);
306 crypto_hash_update(&desc, &sg, sg.length);
307 crypto_hash_final(&desc, digest);
312 struct hash_desc desc;
317 desc.tfm = tfm;
318 desc.flags = 0;
321 crypto_hash_init(&desc);
325 crypto_hash_update(&desc, &sg, sg.length);
327 crypto_hash_final(&desc, digest);