84 typedef signed __int8 int8_t;
85 typedef unsigned __int8 uint8_t;
86 typedef signed __int16 int16_t;
87 typedef unsigned __int16 uint16_t;
88 typedef signed __int32 int32_t;
89 typedef unsigned __int32 uint32_t;
90 typedef signed __int64 int64_t;
91 typedef unsigned __int64 uint64_t;
void skeinReset(SkeinCtx_t *ctx)
Resets a Skein context for furter use.
int skeinUpdate(SkeinCtx_t *ctx, const uint8_t *msg, size_t msgByteCnt)
Update Skein with the next part of the message.
int skeinUpdateBits(SkeinCtx_t *ctx, const uint8_t *msg, size_t msgBitCnt)
Update the hash with a message bit string.
int skeinFinal(SkeinCtx_t *ctx, uint8_t *hash)
Finalize Skein and return the hash.
int skeinMacInit(SkeinCtx_t *ctx, const uint8_t *key, size_t keyLen, size_t hashBitLen)
Initializes or reuses a Skein context for MAC usage.
SkeinSize
Which Skein size to use.
#define SKEIN_MAX_STATE_WORDS
int skeinCtxPrepare(SkeinCtx_t *ctx, SkeinSize_t size)
Prepare a Skein context.
u64b_t XSave[SKEIN_MAX_STATE_WORDS]
struct SkeinCtx SkeinCtx_t
Context for Skein.
enum SkeinSize SkeinSize_t
Which Skein size to use.
int skeinInit(SkeinCtx_t *ctx, size_t hashBitLen)
Initialize a Skein context.