summaryrefslogtreecommitdiffstats
path: root/drivers/staging/skein/threefishApi.c
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/threefishApi.c
parent449bb8125e3fd260f6b605a61f3df8b186bd5e55 (diff)
downloadlinux-c2c7426bfcf2473ed4cf7135c2b15bae9c13dd6e.tar.bz2
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/threefishApi.c')
-rw-r--r--drivers/staging/skein/threefishApi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/skein/threefishApi.c b/drivers/staging/skein/threefishApi.c
index 5afa0338aef4..968d3d21fe61 100644
--- a/drivers/staging/skein/threefishApi.c
+++ b/drivers/staging/skein/threefishApi.c
@@ -1,8 +1,7 @@
+#include <linux/string.h>
#include <threefishApi.h>
-#include <stdlib.h>
-#include <string.h>
void threefishSetKey(ThreefishKey_t* keyCtx, ThreefishSize_t stateSize,
uint64_t* keyData, uint64_t* tweak)