summaryrefslogtreecommitdiffstats
path: root/drivers/staging/skein/Kconfig
diff options
context:
space:
mode:
authorJason Cooper <jason@lakedaemon.net>2014-03-24 02:32:49 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-18 15:46:48 -0700
commitc2c7426bfcf2473ed4cf7135c2b15bae9c13dd6e (patch)
tree57139fd405b6ac6468c0a0fa32e85d2ed12c4926 /drivers/staging/skein/Kconfig
parent449bb8125e3fd260f6b605a61f3df8b186bd5e55 (diff)
downloadop-kernel-dev-c2c7426bfcf2473ed4cf7135c2b15bae9c13dd6e.zip
op-kernel-dev-c2c7426bfcf2473ed4cf7135c2b15bae9c13dd6e.tar.gz
staging: crypto: skein: allow building statically
These are the minimum changes required to get the code to build statically in the kernel. It's necessary to do this first so that we can empirically determine that future cleanup patches aren't changing the generated object code. Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/skein/Kconfig')
-rw-r--r--drivers/staging/skein/Kconfig32
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/staging/skein/Kconfig b/drivers/staging/skein/Kconfig
new file mode 100644
index 0000000..8f5a72a
--- /dev/null
+++ b/drivers/staging/skein/Kconfig
@@ -0,0 +1,32 @@
+config CRYPTO_SKEIN
+ bool "Skein digest algorithm"
+ depends on (X86 || UML_X86) && 64BIT
+ select CRYPTO_THREEFISH
+ select CRYPTO_HASH
+ help
+ Skein secure hash algorithm is one of 5 finalists from the NIST SHA3
+ competition.
+
+ Skein is optimized for modern, 64bit processors and is highly
+ customizable. See:
+
+ http://www.skein-hash.info/sites/default/files/skein1.3.pdf
+
+ for more information. This module depends on the threefish block
+ cipher module.
+
+config CRYPTO_THREEFISH
+ bool "Threefish tweakable block cipher"
+ depends on (X86 || UML_X86) && 64BIT
+ select CRYPTO_ALGAPI
+ help
+ Threefish cipher algorithm is the tweakable block cipher underneath
+ the Skein family of secure hash algorithms. Skein is one of 5
+ finalists from the NIST SHA3 competition.
+
+ Skein is optimized for modern, 64bit processors and is highly
+ customizable. See:
+
+ http://www.skein-hash.info/sites/default/files/skein1.3.pdf
+
+ for more information.
OpenPOWER on IntegriCloud