Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5b04fc17 authored by Joachim Fritschi's avatar Joachim Fritschi Committed by Herbert Xu
Browse files

crypto: twofish: Rename twofish to twofish_generic and add an alias



This fixes the broken autoloading of the corresponding twofish assembler
ciphers on x86 and x86_64 if they are available. The module name of the
generic implementation was in conflict with the alias in the assembler
modules. The generic twofish c implementation is renamed to
twofish_generic according to the other algorithms with assembler
implementations and an module alias is added for 'twofish'. You can now
load 'twofish' giving you the best implementation by priority,
'twofish-generic' to get the c implementation or 'twofish-asm' to get
the assembler version of cipher.

Signed-off-by: default avatarJoachim Fritschi <jfritschi@freenet.de>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 0b767f96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment