Lines Matching refs:algo

301 static void test_aead_speed(const char *algo, int enc, unsigned int secs,  in test_aead_speed()  argument
349 tfm = crypto_alloc_aead(algo, 0, 0); in test_aead_speed()
352 pr_err("alg: aead: Failed to load transform for %s: %ld\n", algo, in test_aead_speed()
358 printk(KERN_INFO "\ntesting speed of %s (%s) %s\n", algo, in test_aead_speed()
364 algo); in test_aead_speed()
457 static void test_cipher_speed(const char *algo, int enc, unsigned int secs, in test_cipher_speed() argument
474 tfm = crypto_alloc_blkcipher(algo, 0, CRYPTO_ALG_ASYNC); in test_cipher_speed()
477 printk("failed to load transform for %s: %ld\n", algo, in test_cipher_speed()
484 printk(KERN_INFO "\ntesting speed of %s (%s) %s\n", algo, in test_cipher_speed()
726 static void test_hash_speed(const char *algo, unsigned int secs, in test_hash_speed() argument
736 tfm = crypto_alloc_hash(algo, 0, CRYPTO_ALG_ASYNC); in test_hash_speed()
739 printk(KERN_ERR "failed to load transform for %s: %ld\n", algo, in test_hash_speed()
744 printk(KERN_INFO "\ntesting speed of %s (%s)\n", algo, in test_hash_speed()
948 static void test_ahash_speed(const char *algo, unsigned int secs, in test_ahash_speed() argument
958 tfm = crypto_alloc_ahash(algo, 0, 0); in test_ahash_speed()
961 algo, PTR_ERR(tfm)); in test_ahash_speed()
965 printk(KERN_INFO "\ntesting speed of async %s (%s)\n", algo, in test_ahash_speed()
1109 static void test_acipher_speed(const char *algo, int enc, unsigned int secs, in test_acipher_speed() argument
1129 tfm = crypto_alloc_ablkcipher(algo, 0, 0); in test_acipher_speed()
1132 pr_err("failed to load transform for %s: %ld\n", algo, in test_acipher_speed()
1137 pr_info("\ntesting speed of async %s (%s) %s\n", algo, in test_acipher_speed()
1143 algo); in test_acipher_speed()