Lines Matching defs:algo

243 static void test_mb_aead_speed(const char *algo, int enc, int secs,
277 tfm = crypto_alloc_aead(algo, 0, 0);
280 algo, PTR_ERR(tfm));
286 pr_err("alg: aead: Failed to setauthsize for %s: %d\n", algo,
316 algo);
330 pr_info("testing speed of multibuffer %s (%s) %s\n", algo,
518 static void test_aead_speed(const char *algo, int enc, unsigned int secs,
566 tfm = crypto_alloc_aead(algo, 0, 0);
568 pr_err("alg: aead: Failed to load transform for %s: %ld\n", algo,
575 pr_err("alg: aead: Failed to setauthsize for %s: %d\n", algo,
581 pr_info("testing speed of %s (%s) %s\n", algo,
587 algo);
866 static void test_ahash_speed_common(const char *algo, unsigned int secs,
876 tfm = crypto_alloc_ahash(algo, 0, mask);
879 algo, PTR_ERR(tfm));
883 pr_info("testing speed of async %s (%s)\n", algo,
947 static void test_ahash_speed(const char *algo, unsigned int secs,
950 return test_ahash_speed_common(algo, secs, speed, 0);
953 static void test_hash_speed(const char *algo, unsigned int secs,
956 return test_ahash_speed_common(algo, secs, speed, CRYPTO_ALG_ASYNC);
1060 static void test_mb_skcipher_speed(const char *algo, int enc, int secs,
1082 tfm = crypto_alloc_skcipher(algo, 0, 0);
1085 algo, PTR_ERR(tfm));
1100 algo);
1114 pr_info("testing speed of multibuffer %s (%s) %s\n", algo,
1293 static void test_skcipher_speed(const char *algo, int enc, unsigned int secs,
1313 tfm = crypto_alloc_skcipher(algo, 0, async ? 0 : CRYPTO_ALG_ASYNC);
1316 pr_err("failed to load transform for %s: %ld\n", algo,
1322 algo, get_driver_name(crypto_skcipher, tfm), e);
1326 pr_err("skcipher: Failed to allocate request for %s\n", algo);
1423 static void test_acipher_speed(const char *algo, int enc, unsigned int secs,
1427 return test_skcipher_speed(algo, enc, secs, template, tcount, keysize,
1431 static void test_cipher_speed(const char *algo, int enc, unsigned int secs,
1435 return test_skcipher_speed(algo, enc, secs, template, tcount, keysize,