Commit c17cdeb4 authored by Eric Rost's avatar Eric Rost Committed by Greg Kroah-Hartman

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: default avatarEric Rost <eric.rost@mybabylon.net>
Reviewed-by: default avatarJason Cooper <jason@lakedaemon.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 24443a24
# #
# 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 \
......
...@@ -79,7 +79,7 @@ OTHER DEALINGS IN THE SOFTWARE. ...@@ -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
......
...@@ -11,7 +11,8 @@ ...@@ -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"
......
...@@ -15,7 +15,7 @@ ...@@ -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
......
...@@ -10,7 +10,7 @@ ...@@ -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);
......
#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 *******************
......
...@@ -29,7 +29,7 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment