Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
** 1: return SKEIN_FAIL to flag errors
**
***************************************************************************/
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-#include <stddef.h> /* get size_t definition */
-
typedef unsigned int uint_t; /* native unsigned integer */
typedef uint8_t u08b_t; /* 8-bit unsigned integer */
typedef uint64_t u64b_t; /* 64-bit unsigned integer */
#define SKEIN1024_ROUNDS_TOTAL (8*((((SKEIN_ROUNDS ) + 5) % 10) + 5))
#endif
-#ifdef __cplusplus
-}
-#endif
-
#endif /* ifndef _SKEIN_H_ */
#include <linux/types.h>
#include <skein.h>
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
/**
* Which Skein size to use
*/
*/
int skeinFinal(SkeinCtx_t* ctx, uint8_t* hash);
-#ifdef __cplusplus
-}
-#endif
-
/**
* @}
*/
#define KeyScheduleConst 0x1BD11BDAA9FC1A22L
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
/**
* Which Threefish size to use
*/
void threefishDecrypt256(ThreefishKey_t* keyCtx, uint64_t* input, uint64_t* output);
void threefishDecrypt512(ThreefishKey_t* keyCtx, uint64_t* input, uint64_t* output);
void threefishDecrypt1024(ThreefishKey_t* keyCtx, uint64_t* input, uint64_t* output);
-#ifdef __cplusplus
-}
-#endif
-
/**
* @}
*/