Lines Matching refs:algo
24 u32 algo; member
36 u32 algo; member
56 u32 algo; member
73 u32 algo; member
92 .algo = CRYPTO_##algo_type, \
102 .algo = CRYPTO_HMAC_##algo_type, \
114 .algo = CRYPTO_##algo_type,\
127 #define CIPHER_TEST(algo, mode, key, iv, plain, cipher) \ argument
128 CIPHER_XTS_TEST(algo, mode, key, NULL, iv, plain, cipher)
134 .algo = CRYPTO_##algo_type,\
153 .algo = CRYPTO_RSA##nbits, \
170 .algo = CRYPTO_##name, \
319 int test_hash_perf(struct udevice *dev, u32 algo, in test_hash_perf() argument
331 ctx.algo = algo; in test_hash_perf()
449 if (test_data->algo == 0) { in test_hash_result()
454 dev = crypto_get_device(test_data->algo); in test_hash_result()
462 csha_ctx.algo = test_data->algo; in test_hash_result()
490 test_hash_perf(dev, test_data->algo, in test_hash_result()
518 if (test_data->algo == 0) { in test_cipher_result()
523 dev = crypto_get_device(test_data->algo); in test_cipher_result()
532 ctx.algo = test_data->algo; in test_cipher_result()
620 if (test_data->algo == 0) { in test_rsa_result()
625 dev = crypto_get_device(test_data->algo); in test_rsa_result()
634 rsa_key.algo = test_data->algo; in test_rsa_result()
657 rsa_key.algo = test_data->algo; in test_rsa_result()
703 if (test_data->algo == 0) { in test_ec_result()
708 dev = crypto_get_device(test_data->algo); in test_ec_result()
717 ec_key.algo = test_data->algo; in test_ec_result()