Lines Matching refs:secs
173 int blen, int secs, u32 num_mb) in test_mb_aead_jiffies() argument
184 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_aead_jiffies()
192 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_aead_jiffies()
240 static void test_mb_aead_speed(const char *algo, int enc, int secs, in test_mb_aead_speed() argument
411 if (secs) { in test_mb_aead_speed()
413 secs, num_mb); in test_mb_aead_speed()
451 int blen, int secs) in test_aead_jiffies() argument
457 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_aead_jiffies()
469 bcount, secs, (u64)bcount * blen); in test_aead_jiffies()
515 static void test_aead_speed(const char *algo, int enc, unsigned int secs, in test_aead_speed() argument
664 if (secs) { in test_aead_speed()
666 secs); in test_aead_speed()
717 char *out, int secs) in test_ahash_jiffies_digest() argument
723 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_ahash_jiffies_digest()
731 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies_digest()
737 int plen, char *out, int secs) in test_ahash_jiffies() argument
744 return test_ahash_jiffies_digest(req, blen, out, secs); in test_ahash_jiffies()
746 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_ahash_jiffies()
763 bcount / secs, ((long)bcount * blen) / secs); in test_ahash_jiffies()
863 static void test_ahash_speed_common(const char *algo, unsigned int secs, in test_ahash_speed_common() argument
920 if (secs) { in test_ahash_speed_common()
922 speed[i].plen, output, secs); in test_ahash_speed_common()
944 static void test_ahash_speed(const char *algo, unsigned int secs, in test_ahash_speed() argument
947 return test_ahash_speed_common(algo, secs, speed, 0); in test_ahash_speed()
950 static void test_hash_speed(const char *algo, unsigned int secs, in test_hash_speed() argument
953 return test_ahash_speed_common(algo, secs, speed, CRYPTO_ALG_ASYNC); in test_hash_speed()
990 int blen, int secs, u32 num_mb) in test_mb_acipher_jiffies() argument
1001 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_mb_acipher_jiffies()
1009 bcount * num_mb, secs, (u64)bcount * blen * num_mb); in test_mb_acipher_jiffies()
1057 static void test_mb_skcipher_speed(const char *algo, int enc, int secs, in test_mb_skcipher_speed() argument
1187 if (secs) { in test_mb_skcipher_speed()
1189 bs, secs, in test_mb_skcipher_speed()
1228 int blen, int secs) in test_acipher_jiffies() argument
1234 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_acipher_jiffies()
1248 bcount, secs, (u64)bcount * blen); in test_acipher_jiffies()
1299 static void test_skcipher_speed(const char *algo, int enc, unsigned int secs, in test_skcipher_speed() argument
1404 if (secs) { in test_skcipher_speed()
1406 bs, secs); in test_skcipher_speed()
1430 static void test_acipher_speed(const char *algo, int enc, unsigned int secs, in test_acipher_speed() argument
1434 return test_skcipher_speed(algo, enc, secs, template, tcount, keysize, in test_acipher_speed()
1438 static void test_cipher_speed(const char *algo, int enc, unsigned int secs, in test_cipher_speed() argument
1442 return test_skcipher_speed(algo, enc, secs, template, tcount, keysize, in test_cipher_speed()