Lines Matching refs:algo

193 	const char *algo, char *result, struct crypto_wait *wait)  in ahash_partial_update()  argument
206 pr_err("alg: hash: Failed to alloc state for %s\n", algo); in ahash_partial_update()
214 pr_err("alg: hash: Failed to export() for %s\n", algo); in ahash_partial_update()
220 algo); in ahash_partial_update()
226 pr_err("alg: hash: Failed to alloc request for %s\n", algo); in ahash_partial_update()
239 pr_err("alg: hash: Failed to import() for %s\n", algo); in ahash_partial_update()
245 algo); in ahash_partial_update()
272 const char *algo = crypto_tfm_alg_driver_name(crypto_ahash_tfm(tfm)); in __test_hash() local
298 "%s\n", algo); in __test_hash()
326 j, algo, template[i].ksize, MAX_KEYLEN); in __test_hash()
334 "test %d for %s: ret=%d\n", j, algo, in __test_hash()
346 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
356 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
362 "for %s: used req->result\n", j, algo); in __test_hash()
368 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
374 "for %s: used req->result\n", j, algo); in __test_hash()
380 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
390 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
396 "for %s: used req->result\n", j, algo); in __test_hash()
402 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
411 j, algo); in __test_hash()
452 j, algo, template[i].ksize, MAX_KEYLEN); in __test_hash()
463 "for %s: ret=%d\n", j, algo, -ret); in __test_hash()
472 j, algo, -ret); in __test_hash()
479 "failed for %s\n", j, algo); in __test_hash()
509 j, algo, template[i].ksize, MAX_KEYLEN); in __test_hash()
517 j, algo, -ret); in __test_hash()
526 j, algo, -ret); in __test_hash()
532 j, algo, -ret); in __test_hash()
539 hash_buff, k, temp, &sg[0], algo, result, in __test_hash()
543 j, algo, -ret); in __test_hash()
551 j, algo, -ret); in __test_hash()
557 j, algo); in __test_hash()
608 const char *algo = crypto_tfm_alg_driver_name(crypto_aead_tfm(tfm)); in __test_aead() local
662 d, algo); in __test_aead()
702 d, j, algo, template[i].klen, in __test_aead()
712 d, j, algo, crypto_aead_get_flags(tfm)); in __test_aead()
721 d, authsize, j, algo); in __test_aead()
755 d, e, j, algo); in __test_aead()
768 d, e, j, algo, -ret); in __test_aead()
775 d, j, e, algo); in __test_aead()
802 d, j, algo, template[i].klen, MAX_KEYLEN); in __test_aead()
811 d, j, algo, crypto_aead_get_flags(tfm)); in __test_aead()
874 d, authsize, j, algo); in __test_aead()
906 d, e, j, algo); in __test_aead()
919 d, e, j, algo, -ret); in __test_aead()
938 d, j, e, k, algo); in __test_aead()
957 d, j, e, k, algo, n); in __test_aead()
1021 const char *algo = crypto_tfm_alg_driver_name(crypto_cipher_tfm(tfm)); in test_cipher() local
1066 algo, crypto_cipher_get_flags(tfm)); in test_cipher()
1084 "on %s for %s\n", j, e, algo); in test_cipher()
1104 const char *algo = in __test_skcipher() local
1142 d, algo); in __test_skcipher()
1182 d, j, algo, crypto_skcipher_get_flags(tfm)); in __test_skcipher()
1201 d, e, j, algo, -ret); in __test_skcipher()
1208 d, j, e, algo); in __test_skcipher()
1217 d, j, e, algo); in __test_skcipher()
1253 d, j, algo, crypto_skcipher_get_flags(tfm)); in __test_skcipher()
1299 d, e, j, algo, -ret); in __test_skcipher()
1315 d, j, e, k, algo); in __test_skcipher()
1325 d, j, e, k, algo, n); in __test_skcipher()
1384 const char *algo = crypto_tfm_alg_driver_name(crypto_comp_tfm(tfm)); in test_comp() local
1411 "on test %d for %s: ret=%d\n", i + 1, algo, in test_comp()
1422 i + 1, algo, -ret); in test_comp()
1428 "failed for %s: output len = %d\n", i + 1, algo, in test_comp()
1437 i + 1, algo); in test_comp()
1455 "on test %d for %s: ret=%d\n", i + 1, algo, in test_comp()
1462 "failed for %s: output len = %d\n", i + 1, algo, in test_comp()
1470 "failed for %s\n", i + 1, algo); in test_comp()
1490 const char *algo = crypto_tfm_alg_driver_name(crypto_acomp_tfm(tfm)); in test_acomp() local
1527 algo); in test_acomp()
1540 i + 1, algo, -ret); in test_acomp()
1556 i + 1, algo, -ret); in test_acomp()
1564 i + 1, algo, req->dlen); in test_acomp()
1573 i + 1, algo); in test_acomp()
1604 algo); in test_acomp()
1617 i + 1, algo, -ret); in test_acomp()
1625 i + 1, algo, req->dlen); in test_acomp()
1634 i + 1, algo); in test_acomp()
1658 const char *algo = crypto_tfm_alg_driver_name(crypto_rng_tfm(tfm)); in test_cprng() local
1668 "for %s\n", algo); in test_cprng()
1684 "for %s\n", algo); in test_cprng()
1694 "%s (requested %d)\n", algo, in test_cprng()
1704 i, algo); in test_cprng()
2360 const char *algo = in test_akcipher() local
2370 i + 1, algo, ret); in test_akcipher()