]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: skein: Renames skein to skein_base
authorEric Rost <eric.rost@mybabylon.net>
Fri, 24 Oct 2014 22:32:53 +0000 (17:32 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 08:39:58 +0000 (16:39 +0800)
Renames skein.c to skein_base.c and skein.h to skein_base.h in
preparation for naming loadable module skein.ko

Signed-off-by: Eric Rost <eric.rost@mybabylon.net>
Reviewed-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/skein/Makefile
drivers/staging/skein/skein_api.h
drivers/staging/skein/skein_base.c [moved from drivers/staging/skein/skein.c with 99% similarity]
drivers/staging/skein/skein_base.h [moved from drivers/staging/skein/skein.h with 100% similarity]
drivers/staging/skein/skein_block.c
drivers/staging/skein/skein_block.h
drivers/staging/skein/skein_iv.h
drivers/staging/skein/threefish_api.h

index 4b60171c81ddcad51740d1b7eed86ad0344da76f..ca746a9eb2ad581770d3713fbe651b4ca419dfb5 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Makefile for the skein secure hash algorithm
 #
-obj-$(CONFIG_CRYPTO_SKEIN) += skein.o \
+obj-$(CONFIG_CRYPTO_SKEIN) += skein_base.o \
                              skein_api.o \
                              skein_block.o \
                              threefish_block.o \
index e02fa19d94586cf92e0626a997cd2989303cb7af..171b87549548fa3f73fe16cb3b579f48d4347830 100644 (file)
@@ -79,7 +79,7 @@ OTHER DEALINGS IN THE SOFTWARE.
  */
 
 #include <linux/types.h>
-#include "skein.h"
+#include "skein_base.h"
 
 /**
  * Which Skein size to use
similarity index 99%
rename from drivers/staging/skein/skein.c
rename to drivers/staging/skein/skein_base.c
index 8cc83587b1f1ff11b4b061fe82634fcb71933d0b..e0994eae5b40278766aa9aa8e9acb443a138003d 100644 (file)
@@ -11,7 +11,8 @@
 #define  SKEIN_PORT_CODE /* instantiate any code in skein_port.h */
 
 #include <linux/string.h>       /* get the memcpy/memset functions */
-#include "skein.h" /* get the Skein API definitions   */
+#include <linux/export.h>
+#include "skein_base.h" /* get the Skein API definitions   */
 #include "skein_iv.h"    /* get precomputed IVs */
 #include "skein_block.h"
 
index 88bc718ae5b6846890a244769f03d3510f826fed..36b0b400acf329eae61b6ac0928a5199dcdfe986 100644 (file)
@@ -15,7 +15,7 @@
 ************************************************************************/
 
 #include <linux/string.h>
-#include "skein.h"
+#include "skein_base.h"
 #include "skein_block.h"
 
 #ifndef SKEIN_USE_ASM
index bd7bdc35df29e0dfa34679e478849cb4c2339359..9d40f4a5267b9f84a6b6b908d67881b9a6b37225 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef _SKEIN_BLOCK_H_
 #define _SKEIN_BLOCK_H_
 
-#include "skein.h" /* get the Skein API definitions   */
+#include "skein_base.h" /* get the Skein API definitions   */
 
 void skein_256_process_block(struct skein_256_ctx *ctx, const u8 *blk_ptr,
                             size_t blk_cnt, size_t byte_cnt_add);
index d9dc1d5ed55186c1a2f007341f8ce1cb6af890c6..8a06314d0ed45eef3f9cbe4b01386975e72a7df6 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _SKEIN_IV_H_
 #define _SKEIN_IV_H_
 
-#include "skein.h"    /* get Skein macros and types */
+#include "skein_base.h"    /* get Skein macros and types */
 
 /*
 ***************** Pre-computed Skein IVs *******************
index 8d5ddf8b3a9b39f34553457a6c14facf4e5103e8..8e0a0b77eccebc2ee20585045148116c6b866c3e 100644 (file)
@@ -29,7 +29,7 @@
  */
 
 #include <linux/types.h>
-#include "skein.h"
+#include "skein_base.h"
 
 #define KEY_SCHEDULE_CONST 0x1BD11BDAA9FC1A22L