]> err.no Git - linux-2.6/commit
[CRYPTO] twofish: Split out common c code
authorJoachim Fritschi <jfritschi@freenet.de>
Tue, 20 Jun 2006 10:37:23 +0000 (20:37 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 21 Sep 2006 01:16:27 +0000 (11:16 +1000)
commit2729bb427f686e47970406d6bde6b11892885f29
tree6c17bab6970fc4bcc92c0de76d174e35d8043844
parent799111020c66c41aef621a3b53ad112543754124
[CRYPTO] twofish: Split out common c code

This patch splits up the twofish crypto routine into a common part ( key
setup  ) which will be uses by all twofish crypto modules ( generic-c , i586
assembler and x86_64 assembler ) and generic-c part. It also creates a new
header file which will be used by all 3 modules.

This eliminates all code duplication.

Correctness was verified with the tcrypt module and automated test scripts.

Signed-off-by: Joachim Fritschi <jfritschi@freenet.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
crypto/Makefile
crypto/twofish.c
crypto/twofish_common.c [new file with mode: 0644]
include/crypto/twofish.h [new file with mode: 0644]