浏览代码

staging: skein: Renames skein to skein_base

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>
Eric Rost 10 年之前
父节点
当前提交
c17cdeb419

+ 1 - 1
drivers/staging/skein/Makefile

@@ -1,7 +1,7 @@
 #
 #
 # Makefile for the skein secure hash algorithm
 # Makefile for the skein secure hash algorithm
 #
 #
-obj-$(CONFIG_CRYPTO_SKEIN) += skein.o \
+obj-$(CONFIG_CRYPTO_SKEIN) += skein_base.o \
 			      skein_api.o \
 			      skein_api.o \
 			      skein_block.o \
 			      skein_block.o \
 			      threefish_block.o \
 			      threefish_block.o \

+ 1 - 1
drivers/staging/skein/skein_api.h

@@ -79,7 +79,7 @@ OTHER DEALINGS IN THE SOFTWARE.
  */
  */
 
 
 #include <linux/types.h>
 #include <linux/types.h>
-#include "skein.h"
+#include "skein_base.h"
 
 
 /**
 /**
  * Which Skein size to use
  * Which Skein size to use

+ 2 - 1
drivers/staging/skein/skein.c → drivers/staging/skein/skein_base.c

@@ -11,7 +11,8 @@
 #define  SKEIN_PORT_CODE /* instantiate any code in skein_port.h */
 #define  SKEIN_PORT_CODE /* instantiate any code in skein_port.h */
 
 
 #include <linux/string.h>       /* get the memcpy/memset functions */
 #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_iv.h"    /* get precomputed IVs */
 #include "skein_block.h"
 #include "skein_block.h"
 
 

+ 0 - 0
drivers/staging/skein/skein.h → drivers/staging/skein/skein_base.h


+ 1 - 1
drivers/staging/skein/skein_block.c

@@ -15,7 +15,7 @@
 ************************************************************************/
 ************************************************************************/
 
 
 #include <linux/string.h>
 #include <linux/string.h>
-#include "skein.h"
+#include "skein_base.h"
 #include "skein_block.h"
 #include "skein_block.h"
 
 
 #ifndef SKEIN_USE_ASM
 #ifndef SKEIN_USE_ASM

+ 1 - 1
drivers/staging/skein/skein_block.h

@@ -10,7 +10,7 @@
 #ifndef _SKEIN_BLOCK_H_
 #ifndef _SKEIN_BLOCK_H_
 #define _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,
 void skein_256_process_block(struct skein_256_ctx *ctx, const u8 *blk_ptr,
 			     size_t blk_cnt, size_t byte_cnt_add);
 			     size_t blk_cnt, size_t byte_cnt_add);

+ 1 - 1
drivers/staging/skein/skein_iv.h

@@ -1,7 +1,7 @@
 #ifndef _SKEIN_IV_H_
 #ifndef _SKEIN_IV_H_
 #define _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 *******************
 ***************** Pre-computed Skein IVs *******************

+ 1 - 1
drivers/staging/skein/threefish_api.h

@@ -29,7 +29,7 @@
  */
  */
 
 
 #include <linux/types.h>
 #include <linux/types.h>
-#include "skein.h"
+#include "skein_base.h"
 
 
 #define KEY_SCHEDULE_CONST 0x1BD11BDAA9FC1A22L
 #define KEY_SCHEDULE_CONST 0x1BD11BDAA9FC1A22L