Lines Matching refs:algo
205 const char *algo = crypto_tfm_alg_driver_name(crypto_ahash_tfm(tfm)); in __test_hash() local
230 "%s\n", algo); in __test_hash()
258 j, algo, template[i].ksize, MAX_KEYLEN); in __test_hash()
266 "test %d for %s: ret=%d\n", j, algo, in __test_hash()
277 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
284 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
290 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
296 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
304 j, algo); in __test_hash()
342 j, algo, template[i].ksize, MAX_KEYLEN); in __test_hash()
353 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
374 "ret=%d\n", j, algo, -ret); in __test_hash()
381 "failed for %s\n", j, algo); in __test_hash()
431 const char *algo = crypto_tfm_alg_driver_name(crypto_aead_tfm(tfm)); in __test_aead() local
484 d, algo); in __test_aead()
523 d, j, algo, template[i].klen, in __test_aead()
533 d, j, algo, crypto_aead_get_flags(tfm)); in __test_aead()
542 d, authsize, j, algo); in __test_aead()
575 d, e, j, algo); in __test_aead()
595 d, e, j, algo, -ret); in __test_aead()
602 d, j, e, algo); in __test_aead()
629 d, j, algo, template[i].klen, MAX_KEYLEN); in __test_aead()
638 d, j, algo, crypto_aead_get_flags(tfm)); in __test_aead()
701 d, authsize, j, algo); in __test_aead()
732 d, e, j, algo); in __test_aead()
752 d, e, j, algo, -ret); in __test_aead()
771 d, j, e, k, algo); in __test_aead()
790 d, j, e, k, algo, n); in __test_aead()
853 const char *algo = crypto_tfm_alg_driver_name(crypto_cipher_tfm(tfm)); in test_cipher() local
892 algo, crypto_cipher_get_flags(tfm)); in test_cipher()
910 "on %s for %s\n", j, e, algo); in test_cipher()
929 const char *algo = in __test_skcipher() local
966 d, algo); in __test_skcipher()
1001 d, j, algo, crypto_skcipher_get_flags(tfm)); in __test_skcipher()
1031 d, e, j, algo, -ret); in __test_skcipher()
1038 d, j, e, algo); in __test_skcipher()
1048 d, j, e, algo); in __test_skcipher()
1079 d, j, algo, crypto_skcipher_get_flags(tfm)); in __test_skcipher()
1136 d, e, j, algo, -ret); in __test_skcipher()
1153 d, j, e, k, algo); in __test_skcipher()
1163 d, j, e, k, algo, n); in __test_skcipher()
1219 const char *algo = crypto_tfm_alg_driver_name(crypto_comp_tfm(tfm)); in test_comp() local
1235 "on test %d for %s: ret=%d\n", i + 1, algo, in test_comp()
1242 "failed for %s: output len = %d\n", i + 1, algo, in test_comp()
1250 "failed for %s\n", i + 1, algo); in test_comp()
1268 "on test %d for %s: ret=%d\n", i + 1, algo, in test_comp()
1275 "failed for %s: output len = %d\n", i + 1, algo, in test_comp()
1283 "failed for %s\n", i + 1, algo); in test_comp()
1301 const char *algo = crypto_tfm_alg_driver_name(crypto_pcomp_tfm(tfm)); in test_pcomp() local
1314 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1321 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1335 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1347 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1359 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1366 "output len = %d (expected %d)\n", i + 1, algo, in test_pcomp()
1375 algo, produced, ctemplate[i].outlen); in test_pcomp()
1381 "%s\n", i + 1, algo); in test_pcomp()
1395 "test %d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1402 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1416 "test %d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1428 "test %d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1440 "test %d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1449 algo, COMP_BUF_SIZE - req.avail_out, in test_pcomp()
1457 algo, produced, dtemplate[i].outlen); in test_pcomp()
1463 "%s\n", i + 1, algo); in test_pcomp()
1476 const char *algo = crypto_tfm_alg_driver_name(crypto_rng_tfm(tfm)); in test_cprng() local
1486 "for %s\n", algo); in test_cprng()
1502 "for %s\n", algo); in test_cprng()
1512 "%s (requested %d)\n", algo, in test_cprng()
1522 i, algo); in test_cprng()