Searched refs:algo (Results 1 – 6 of 6) sorted by relevance
/crypto/ |
D | tcrypt.c | 250 static void test_mb_aead_speed(const char *algo, int enc, int secs, in test_mb_aead_speed() argument 284 tfm = crypto_alloc_aead(algo, 0, 0); in test_mb_aead_speed() 287 algo, PTR_ERR(tfm)); in test_mb_aead_speed() 318 algo); in test_mb_aead_speed() 332 pr_info("\ntesting speed of multibuffer %s (%s) %s\n", algo, in test_mb_aead_speed() 518 static void test_aead_speed(const char *algo, int enc, unsigned int secs, in test_aead_speed() argument 566 tfm = crypto_alloc_aead(algo, 0, 0); in test_aead_speed() 569 pr_err("alg: aead: Failed to load transform for %s: %ld\n", algo, in test_aead_speed() 575 printk(KERN_INFO "\ntesting speed of %s (%s) %s\n", algo, in test_aead_speed() 581 algo); in test_aead_speed() [all …]
|
D | ecrdsa.c | 195 u32 algo, paramlen; in ecrdsa_set_pub_key() local 205 ecrdsa_unpack_u32(&algo, (u8 *)key + keylen)); in ecrdsa_set_pub_key() 207 if (algo == OID_gost2012PKey256) { in ecrdsa_set_pub_key() 211 } else if (algo == OID_gost2012PKey512) { in ecrdsa_set_pub_key() 217 ctx->algo_oid = algo; in ecrdsa_set_pub_key()
|
D | testmgr.c | 2351 const char *algo = crypto_tfm_alg_driver_name(crypto_cipher_tfm(tfm)); in test_cipher() local 2395 algo, j, template[i].setkey_error, ret, in test_cipher() 2401 algo, j, template[i].setkey_error); in test_cipher() 2419 "on %s for %s\n", j, e, algo); in test_cipher() 2903 const char *algo = crypto_tfm_alg_driver_name(crypto_comp_tfm(tfm)); in test_comp() local 2930 "on test %d for %s: ret=%d\n", i + 1, algo, in test_comp() 2941 i + 1, algo, -ret); in test_comp() 2947 "failed for %s: output len = %d\n", i + 1, algo, in test_comp() 2956 i + 1, algo); in test_comp() 2974 "on test %d for %s: ret=%d\n", i + 1, algo, in test_comp() [all …]
|
D | testmgr.h | 154 enum OID algo; member 585 .algo = OID_gost2012PKey256, 611 .algo = OID_gost2012PKey256, 637 .algo = OID_gost2012PKey256, 670 .algo = OID_gost2012PKey512, 705 .algo = OID_gost2012PKey512,
|
/crypto/asymmetric_keys/ |
D | public_key.c | 128 ptr = pkey_pack_u32(ptr, pkey->algo); in software_key_query() 199 ptr = pkey_pack_u32(ptr, pkey->algo); in software_key_eds_op() 290 ptr = pkey_pack_u32(ptr, pkey->algo); in public_key_verify_signature()
|
D | x509_cert_parser.c | 116 cert->pub->algo = ctx->key_algo; in x509_cert_parse()
|