summaryrefslogtreecommitdiffstats
path: root/drivers/staging/skein/include/skein_block.h
diff options
context:
space:
mode:
authorJason Cooper <jason@lakedaemon.net>2014-03-24 01:49:15 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-18 15:47:43 -0700
commit906b492e770dd36b3dcb518e47e36eee1f944465 (patch)
treeda7c5315d6d71594b8e4fb4dc17f5f178b4e32de /drivers/staging/skein/include/skein_block.h
parent522e358d2d4f31319478386f7ff79156a246740d (diff)
downloadop-kernel-dev-906b492e770dd36b3dcb518e47e36eee1f944465.zip
op-kernel-dev-906b492e770dd36b3dcb518e47e36eee1f944465.tar.gz
staging: crypto: skein: remove externs from .c files
Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/skein/include/skein_block.h')
-rw-r--r--drivers/staging/skein/include/skein_block.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/staging/skein/include/skein_block.h b/drivers/staging/skein/include/skein_block.h
new file mode 100644
index 0000000..b15c079
--- /dev/null
+++ b/drivers/staging/skein/include/skein_block.h
@@ -0,0 +1,22 @@
+/***********************************************************************
+**
+** Implementation of the Skein hash function.
+**
+** Source code author: Doug Whiting, 2008.
+**
+** This algorithm and source code is released to the public domain.
+**
+************************************************************************/
+#ifndef _SKEIN_BLOCK_H_
+#define _SKEIN_BLOCK_H_
+
+#include <skein.h> /* get the Skein API definitions */
+
+void Skein_256_Process_Block(struct skein_256_ctx *ctx, const u8 *blkPtr,
+ size_t blkCnt, size_t byteCntAdd);
+void Skein_512_Process_Block(struct skein_512_ctx *ctx, const u8 *blkPtr,
+ size_t blkCnt, size_t byteCntAdd);
+void Skein1024_Process_Block(struct skein1024_ctx *ctx, const u8 *blkPtr,
+ size_t blkCnt, size_t byteCntAdd);
+
+#endif
OpenPOWER on IntegriCloud