mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
![Eric Rost](/assets/img/avatar_default.png)
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>
22 lines
802 B
C
22 lines
802 B
C
/***********************************************************************
|
|
**
|
|
** 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_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);
|
|
void skein_512_process_block(struct skein_512_ctx *ctx, const u8 *blk_ptr,
|
|
size_t blk_cnt, size_t byte_cnt_add);
|
|
void skein_1024_process_block(struct skein_1024_ctx *ctx, const u8 *blk_ptr,
|
|
size_t blk_cnt, size_t byte_cnt_add);
|
|
|
|
#endif
|