Lines Matching refs:algo
195 const char *algo = crypto_tfm_alg_driver_name(crypto_ahash_tfm(tfm)); in __test_hash() local
220 "%s\n", algo); in __test_hash()
248 j, algo, template[i].ksize, MAX_KEYLEN); in __test_hash()
256 "test %d for %s: ret=%d\n", j, algo, in __test_hash()
267 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
274 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
280 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
286 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
294 j, algo); in __test_hash()
332 j, algo, template[i].ksize, MAX_KEYLEN); in __test_hash()
343 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
364 "ret=%d\n", j, algo, -ret); in __test_hash()
371 "failed for %s\n", j, algo); in __test_hash()
421 const char *algo = crypto_tfm_alg_driver_name(crypto_aead_tfm(tfm)); in __test_aead() local
476 d, algo); in __test_aead()
515 d, j, algo, template[i].klen, in __test_aead()
525 d, j, algo, crypto_aead_get_flags(tfm)); in __test_aead()
534 d, authsize, j, algo); in __test_aead()
563 d, e, j, algo); in __test_aead()
583 d, e, j, algo, -ret); in __test_aead()
590 d, j, e, algo); in __test_aead()
617 d, j, algo, template[i].klen, MAX_KEYLEN); in __test_aead()
626 d, j, algo, crypto_aead_get_flags(tfm)); in __test_aead()
667 d, authsize, j, algo); in __test_aead()
713 d, e, j, algo); in __test_aead()
733 d, e, j, algo, -ret); in __test_aead()
752 d, j, e, k, algo); in __test_aead()
771 d, j, e, k, algo, n); in __test_aead()
834 const char *algo = crypto_tfm_alg_driver_name(crypto_cipher_tfm(tfm)); in test_cipher() local
873 algo, crypto_cipher_get_flags(tfm)); in test_cipher()
891 "on %s for %s\n", j, e, algo); in test_cipher()
910 const char *algo = in __test_skcipher() local
946 d, algo); in __test_skcipher()
980 d, j, algo, crypto_ablkcipher_get_flags(tfm)); in __test_skcipher()
1010 d, e, j, algo, -ret); in __test_skcipher()
1017 d, j, e, algo); in __test_skcipher()
1047 d, j, algo, crypto_ablkcipher_get_flags(tfm)); in __test_skcipher()
1104 d, e, j, algo, -ret); in __test_skcipher()
1121 d, j, e, k, algo); in __test_skcipher()
1131 d, j, e, k, algo, n); in __test_skcipher()
1187 const char *algo = crypto_tfm_alg_driver_name(crypto_comp_tfm(tfm)); in test_comp() local
1203 "on test %d for %s: ret=%d\n", i + 1, algo, in test_comp()
1210 "failed for %s: output len = %d\n", i + 1, algo, in test_comp()
1218 "failed for %s\n", i + 1, algo); in test_comp()
1236 "on test %d for %s: ret=%d\n", i + 1, algo, in test_comp()
1243 "failed for %s: output len = %d\n", i + 1, algo, in test_comp()
1251 "failed for %s\n", i + 1, algo); in test_comp()
1269 const char *algo = crypto_tfm_alg_driver_name(crypto_pcomp_tfm(tfm)); in test_pcomp() local
1282 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1289 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1303 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1315 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1327 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1334 "output len = %d (expected %d)\n", i + 1, algo, in test_pcomp()
1343 algo, produced, ctemplate[i].outlen); in test_pcomp()
1349 "%s\n", i + 1, algo); in test_pcomp()
1363 "test %d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1370 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1384 "test %d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1396 "test %d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1408 "test %d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1417 algo, COMP_BUF_SIZE - req.avail_out, in test_pcomp()
1425 algo, produced, dtemplate[i].outlen); in test_pcomp()
1431 "%s\n", i + 1, algo); in test_pcomp()
1444 const char *algo = crypto_tfm_alg_driver_name(crypto_rng_tfm(tfm)); in test_cprng() local
1454 "for %s\n", algo); in test_cprng()
1470 "for %s\n", algo); in test_cprng()
1480 "%s (requested %d)\n", algo, in test_cprng()
1490 i, algo); in test_cprng()