]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/staging/skein/skein_block.h
Merge tag 'microblaze-3.16-rc1' of git://git.monstr.eu/linux-2.6-microblaze into...
[karo-tx-linux.git] / drivers / staging / skein / skein_block.h
1 /***********************************************************************
2 **
3 ** Implementation of the Skein hash function.
4 **
5 ** Source code author: Doug Whiting, 2008.
6 **
7 ** This algorithm and source code is released to the public domain.
8 **
9 ************************************************************************/
10 #ifndef _SKEIN_BLOCK_H_
11 #define _SKEIN_BLOCK_H_
12
13 #include "skein.h" /* get the Skein API definitions   */
14
15 void skein_256_process_block(struct skein_256_ctx *ctx, const u8 *blk_ptr,
16                              size_t blk_cnt, size_t byte_cnt_add);
17 void skein_512_process_block(struct skein_512_ctx *ctx, const u8 *blk_ptr,
18                              size_t blk_cnt, size_t byte_cnt_add);
19 void skein_1024_process_block(struct skein_1024_ctx *ctx, const u8 *blk_ptr,
20                               size_t blk_cnt, size_t byte_cnt_add);
21
22 #endif