diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2011-09-01 18:45:07 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-09-22 07:25:25 -0400 |
commit | 52ba867c8c23dcb24865f80a95c191501e101b9f (patch) | |
tree | 421448ac9400c97e11a233769ae7993dcf36e70a /crypto/Kconfig | |
parent | b2bac6acf86d05d8af0499f37d91ecac15722803 (diff) |
crypto: blowfish - split generic and common c code
Patch splits up the blowfish crypto routine into a common part (key setup)
which will be used by blowfish crypto modules (x86_64 assembly and generic-c).
Also fixes errors/warnings reported by checkpatch.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r-- | crypto/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 55c50cd34690..108cb98e2170 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -600,6 +600,7 @@ config CRYPTO_ARC4 | |||
600 | config CRYPTO_BLOWFISH | 600 | config CRYPTO_BLOWFISH |
601 | tristate "Blowfish cipher algorithm" | 601 | tristate "Blowfish cipher algorithm" |
602 | select CRYPTO_ALGAPI | 602 | select CRYPTO_ALGAPI |
603 | select CRYPTO_BLOWFISH_COMMON | ||
603 | help | 604 | help |
604 | Blowfish cipher algorithm, by Bruce Schneier. | 605 | Blowfish cipher algorithm, by Bruce Schneier. |
605 | 606 | ||
@@ -610,6 +611,15 @@ config CRYPTO_BLOWFISH | |||
610 | See also: | 611 | See also: |
611 | <http://www.schneier.com/blowfish.html> | 612 | <http://www.schneier.com/blowfish.html> |
612 | 613 | ||
614 | config CRYPTO_BLOWFISH_COMMON | ||
615 | tristate | ||
616 | help | ||
617 | Common parts of the Blowfish cipher algorithm shared by the | ||
618 | generic c and the assembler implementations. | ||
619 | |||
620 | See also: | ||
621 | <http://www.schneier.com/blowfish.html> | ||
622 | |||
613 | config CRYPTO_CAMELLIA | 623 | config CRYPTO_CAMELLIA |
614 | tristate "Camellia cipher algorithms" | 624 | tristate "Camellia cipher algorithms" |
615 | depends on CRYPTO | 625 | depends on CRYPTO |