Lines Matching refs:algo

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()
343 "failed for %s\n", j, algo); in test_hash()
364 const char *algo = crypto_tfm_alg_driver_name(crypto_aead_tfm(tfm)); in test_aead() local
396 "%s\n", algo); in test_aead()
436 "test %d for %s: flags=%x\n", j, algo, in test_aead()
447 authsize, j, algo); in test_aead()
472 e, j, algo); in test_aead()
493 "%d for %s: ret=%d\n", e, j, algo, -ret); in test_aead()
500 "%s for %s\n", j, e, algo); in test_aead()
527 algo, crypto_aead_get_flags(tfm)); in test_aead()
561 "%s\n", authsize, j, algo); in test_aead()
608 e, j, algo); in test_aead()
630 algo, -ret); in test_aead()
646 "%u for %s\n", j, e, k, algo); in test_aead()
668 algo, n); in test_aead()
692 const char *algo = crypto_tfm_alg_driver_name(crypto_cipher_tfm(tfm)); in test_cipher() local
731 algo, crypto_cipher_get_flags(tfm)); in test_cipher()
749 "on %s for %s\n", j, e, algo); in test_cipher()
767 const char *algo = in test_skcipher() local
793 "for %s\n", algo); in test_skcipher()
827 algo, crypto_ablkcipher_get_flags(tfm)); in test_skcipher()
854 "test %d for %s: ret=%d\n", e, j, algo, in test_skcipher()
862 "failed on %s for %s\n", j, e, algo); in test_skcipher()
891 j, algo, in test_skcipher()
942 algo, -ret); in test_skcipher()
956 "%u for %s\n", j, e, k, algo); in test_skcipher()
969 k, algo, n); in test_skcipher()
990 const char *algo = crypto_tfm_alg_driver_name(crypto_comp_tfm(tfm)); in test_comp() local
1006 "on test %d for %s: ret=%d\n", i + 1, algo, in test_comp()
1013 "failed for %s: output len = %d\n", i + 1, algo, in test_comp()
1021 "failed for %s\n", i + 1, algo); in test_comp()
1039 "on test %d for %s: ret=%d\n", i + 1, algo, in test_comp()
1046 "failed for %s: output len = %d\n", i + 1, algo, in test_comp()
1054 "failed for %s\n", i + 1, algo); in test_comp()
1072 const char *algo = crypto_tfm_alg_driver_name(crypto_pcomp_tfm(tfm)); in test_pcomp() local
1085 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1092 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1106 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1118 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1130 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1137 "output len = %d (expected %d)\n", i + 1, algo, in test_pcomp()
1146 algo, produced, ctemplate[i].outlen); in test_pcomp()
1152 "%s\n", i + 1, algo); in test_pcomp()
1166 "test %d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1173 "%d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1187 "test %d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1199 "test %d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1211 "test %d for %s: error=%d\n", i + 1, algo, res); in test_pcomp()
1220 algo, COMP_BUF_SIZE - req.avail_out, in test_pcomp()
1228 algo, produced, dtemplate[i].outlen); in test_pcomp()
1234 "%s\n", i + 1, algo); in test_pcomp()
1247 const char *algo = crypto_tfm_alg_driver_name(crypto_rng_tfm(tfm)); in test_cprng() local
1257 "for %s\n", algo); in test_cprng()
1273 "for %s\n", algo); in test_cprng()
1283 "%s (requested %d, got %d)\n", algo, in test_cprng()
1293 i, algo); in test_cprng()