• Joachim Fritschi's avatar
    crypto: twofish: Rename twofish to twofish_generic and add an alias · 5b04fc17
    Joachim Fritschi authored
    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>
    5b04fc17
Makefile 3.06 KB