Searched refs:algo (Results 1 – 4 of 4) sorted by relevance
/crypto/ |
D | testmgr.c | 190 const char *algo = crypto_tfm_alg_driver_name(crypto_ahash_tfm(tfm)); in test_hash() local 208 "%s\n", algo); in test_hash() 233 "test %d for %s: ret=%d\n", j, algo, in test_hash() 245 "for %s: ret=%d\n", j, algo, -ret); in test_hash() 253 "for %s: ret=%d\n", j, algo, -ret); in test_hash() 260 "for %s: ret=%d\n", j, algo, -ret); in test_hash() 267 "for %s: ret=%d\n", j, algo, -ret); in test_hash() 275 j, algo); in test_hash() 312 "for %s: ret=%d\n", j, algo, in test_hash() 336 "ret=%d\n", j, algo, -ret); in test_hash() [all …]
|
D | tcrypt.c | 142 static void test_cipher_speed(const char *algo, int enc, unsigned int sec, in test_cipher_speed() argument 159 printk("\ntesting speed of %s %s\n", algo, e); in test_cipher_speed() 161 tfm = crypto_alloc_blkcipher(algo, 0, CRYPTO_ALG_ASYNC); in test_cipher_speed() 164 printk("failed to load transform for %s: %ld\n", algo, in test_cipher_speed() 410 static void test_hash_speed(const char *algo, unsigned int sec, in test_hash_speed() argument 420 printk(KERN_INFO "\ntesting speed of %s\n", algo); in test_hash_speed() 422 tfm = crypto_alloc_hash(algo, 0, CRYPTO_ALG_ASYNC); in test_hash_speed() 425 printk(KERN_ERR "failed to load transform for %s: %ld\n", algo, in test_hash_speed() 648 static void test_ahash_speed(const char *algo, unsigned int sec, in test_ahash_speed() argument 658 printk(KERN_INFO "\ntesting speed of async %s\n", algo); in test_ahash_speed() [all …]
|
/crypto/asymmetric_keys/ |
D | public_key.c | 59 pkey_id_type[key->id_type], key->algo->name); in public_key_describe() 86 if (!pk->algo->verify_signature) in public_key_verify_signature() 89 if (sig->nr_mpi != pk->algo->n_sig_mpi) { in public_key_verify_signature() 91 sig->nr_mpi, pk->algo->n_sig_mpi); in public_key_verify_signature() 95 return pk->algo->verify_signature(pk, sig); in public_key_verify_signature()
|
D | x509_public_key.c | 88 ret = pub->algo->verify_signature(pub, sig); in x509_check_signature() 177 cert->pub->algo = x509_public_key_algorithms[cert->pkey_algo]; in x509_key_preparse()
|