• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/crypto/

Lines Matching defs:desc

63 static int test_cipher_jiffies(struct blkcipher_desc *desc, int enc,
73 ret = crypto_blkcipher_encrypt(desc, sg, sg, blen);
75 ret = crypto_blkcipher_decrypt(desc, sg, sg, blen);
86 static int test_cipher_cycles(struct blkcipher_desc *desc, int enc,
99 ret = crypto_blkcipher_encrypt(desc, sg, sg, blen);
101 ret = crypto_blkcipher_decrypt(desc, sg, sg, blen);
113 ret = crypto_blkcipher_encrypt(desc, sg, sg, blen);
115 ret = crypto_blkcipher_decrypt(desc, sg, sg, blen);
144 struct blkcipher_desc desc;
162 desc.tfm = tfm;
163 desc.flags = 0;
215 ret = test_cipher_jiffies(&desc, enc, sg,
218 ret = test_cipher_cycles(&desc, enc, sg,
222 printk("%s() failed flags=%x\n", e, desc.flags);
235 static int test_hash_jiffies_digest(struct hash_desc *desc,
245 ret = crypto_hash_digest(desc, sg, blen, out);
256 static int test_hash_jiffies(struct hash_desc *desc, struct scatterlist *sg,
264 return test_hash_jiffies_digest(desc, sg, blen, out, sec);
268 ret = crypto_hash_init(desc);
272 ret = crypto_hash_update(desc, sg, plen);
277 ret = crypto_hash_final(desc, out);
288 static int test_hash_cycles_digest(struct hash_desc *desc,
300 ret = crypto_hash_digest(desc, sg, blen, out);
311 ret = crypto_hash_digest(desc, sg, blen, out);
333 static int test_hash_cycles(struct hash_desc *desc, struct scatterlist *sg,
341 return test_hash_cycles_digest(desc, sg, blen, out);
348 ret = crypto_hash_init(desc);
352 ret = crypto_hash_update(desc, sg, plen);
356 ret = crypto_hash_final(desc, out);
367 ret = crypto_hash_init(desc);
371 ret = crypto_hash_update(desc, sg, plen);
375 ret = crypto_hash_final(desc, out);
413 struct hash_desc desc;
428 desc.tfm = tfm;
429 desc.flags = 0;
454 ret = test_hash_jiffies(&desc, sg, speed[i].blen,
457 ret = test_hash_cycles(&desc, sg, speed[i].blen,