Lines Matching refs:algo

268 static void test_aead_speed(const char *algo, int enc, unsigned int secs,  in test_aead_speed()  argument
317 tfm = crypto_alloc_aead(algo, 0, 0); in test_aead_speed()
320 pr_err("alg: aead: Failed to load transform for %s: %ld\n", algo, in test_aead_speed()
325 printk(KERN_INFO "\ntesting speed of %s (%s) %s\n", algo, in test_aead_speed()
331 algo); in test_aead_speed()
419 static void test_cipher_speed(const char *algo, int enc, unsigned int secs, in test_cipher_speed() argument
436 tfm = crypto_alloc_blkcipher(algo, 0, CRYPTO_ALG_ASYNC); in test_cipher_speed()
439 printk("failed to load transform for %s: %ld\n", algo, in test_cipher_speed()
446 printk(KERN_INFO "\ntesting speed of %s (%s) %s\n", algo, in test_cipher_speed()
688 static void test_hash_speed(const char *algo, unsigned int secs, in test_hash_speed() argument
698 tfm = crypto_alloc_hash(algo, 0, CRYPTO_ALG_ASYNC); in test_hash_speed()
701 printk(KERN_ERR "failed to load transform for %s: %ld\n", algo, in test_hash_speed()
706 printk(KERN_INFO "\ntesting speed of %s (%s)\n", algo, in test_hash_speed()
926 static void test_ahash_speed(const char *algo, unsigned int secs, in test_ahash_speed() argument
936 tfm = crypto_alloc_ahash(algo, 0, 0); in test_ahash_speed()
939 algo, PTR_ERR(tfm)); in test_ahash_speed()
943 printk(KERN_INFO "\ntesting speed of async %s (%s)\n", algo, in test_ahash_speed()
1080 static void test_acipher_speed(const char *algo, int enc, unsigned int secs, in test_acipher_speed() argument
1100 tfm = crypto_alloc_ablkcipher(algo, 0, 0); in test_acipher_speed()
1103 pr_err("failed to load transform for %s: %ld\n", algo, in test_acipher_speed()
1108 pr_info("\ntesting speed of async %s (%s) %s\n", algo, in test_acipher_speed()
1114 algo); in test_acipher_speed()