Lines Matching +full:trade +full:- +full:off
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Glue Code for 3-way parallel assembler optimized version of Twofish
25 return twofish_setkey(&tfm->base, key, keylen); in twofish_setkey_skcipher()
48 ECB_WALK_START(req, TF_BLOCK_SIZE, -1); in ecb_encrypt()
56 ECB_WALK_START(req, TF_BLOCK_SIZE, -1); in ecb_decrypt()
64 CBC_WALK_START(req, TF_BLOCK_SIZE, -1); in cbc_encrypt()
71 CBC_WALK_START(req, TF_BLOCK_SIZE, -1); in cbc_decrypt()
80 .base.cra_driver_name = "ecb-twofish-3way",
92 .base.cra_driver_name = "cbc-twofish-3way",
116 * On Atom, twofish-3way is slower than original assembler in is_blacklisted_cpu()
117 * implementation. Twofish-3way trades off some performance in in is_blacklisted_cpu()
120 * more performance than was trade off, on out-of-order CPUs. in is_blacklisted_cpu()
129 * On Pentium 4, twofish-3way is slower than original assembler in is_blacklisted_cpu()
131 * left-shifts (which are really slow on P4) needed to store and in is_blacklisted_cpu()
148 "twofish-x86_64-3way: performance on this CPU " in twofish_3way_init()
150 "twofish-x86_64-3way.\n"); in twofish_3way_init()
151 return -ENODEV; in twofish_3way_init()
167 MODULE_DESCRIPTION("Twofish Cipher Algorithm, 3-way parallel asm optimized");
169 MODULE_ALIAS_CRYPTO("twofish-asm");