Lines Matching +full:tie +full:- +full:off
1 /* SPDX-License-Identifier: GPL-2.0
42 /* tie all skcipher structures together */
81 pr_info("lib encryption took: %lld nsec", end - start); in test_lib_chacha()
95 pr_info("lib decryption took: %lld nsec", end - start); in test_lib_chacha()
107 rc = crypto_wait_req(crypto_skcipher_encrypt(sk->req), in test_skcipher_encdec()
108 &sk->wait); in test_skcipher_encdec()
115 rc = crypto_wait_req(crypto_skcipher_decrypt(sk->req), in test_skcipher_encdec()
116 &sk->wait); in test_skcipher_encdec()
133 int ret = -EFAULT; in test_skcipher()
144 ret = -ENOMEM; in test_skcipher()
157 ret = -EAGAIN; in test_skcipher()
187 pr_info("%s tfm encryption successful, took %lld nsec\n", name, end - start); in test_skcipher()
211 pr_info("%s tfm decryption successful, took %lld nsec\n", name, end - start); in test_skcipher()
222 name, sk.req->cryptlen, in test_skcipher()
224 crypto_skcipher_alg(sk.tfm)->walksize, in test_skcipher()
240 int ret = -1; in chacha_s390_test_init()
249 ret = -2; in chacha_s390_test_init()
258 ret = -2; in chacha_s390_test_init()
265 ret = -2; in chacha_s390_test_init()
272 ret = -2; in chacha_s390_test_init()
282 ret = test_skcipher("chacha20-generic", revert, cipher_generic, plain); in chacha_s390_test_init()
288 ret = -2; in chacha_s390_test_init()
297 ret = test_skcipher("chacha20-s390", revert, cipher_s390, plain); in chacha_s390_test_init()
303 ret = -2; in chacha_s390_test_init()
311 ret = -2; in chacha_s390_test_init()
325 ret = -2; in chacha_s390_test_init()
333 ret = -2; in chacha_s390_test_init()
339 pr_info("--- chacha20 s390 test end ---\n"); in chacha_s390_test_init()
351 return -1; in chacha_s390_test_init()
362 MODULE_PARM_DESC(debug, "Debug level (0=off,1=on)");
367 MODULE_DESCRIPTION("s390 ChaCha20 self-test");