21 void macSkein(uint8_t* key, int32_t key_length,
22 const uint8_t* data, uint32_t data_length,
23 uint8_t* mac, int32_t mac_length,
SkeinSize_t skeinSize)
34 void macSkein(uint8_t* key, int32_t key_length,
35 const uint8_t* data[], uint32_t data_length[],
36 uint8_t* mac, int32_t mac_length,
SkeinSize_t skeinSize)
61 void macSkeinCtx(
void* ctx,
const uint8_t* data, uint32_t data_length,
71 void macSkeinCtx(
void* ctx,
const uint8_t* data[], uint32_t data_length[],
void skeinReset(SkeinCtx_t *ctx)
Resets a Skein context for furter use.
void macSkein(uint8_t *key, int32_t key_length, const uint8_t *data, uint32_t data_length, uint8_t *mac, int32_t mac_length, SkeinSize_t skeinSize)
Compute Skein MAC.
int skeinUpdate(SkeinCtx_t *ctx, const uint8_t *msg, size_t msgByteCnt)
Update Skein with the next part of the message.
void macSkeinCtx(void *ctx, const uint8_t *data, uint32_t data_length, uint8_t *mac)
Compute Skein MAC.
int skeinFinal(SkeinCtx_t *ctx, uint8_t *hash)
Finalize Skein and return the hash.
void freeSkeinMacContext(void *ctx)
Free Skein MAC context.
void * createSkeinMacContext(uint8_t *key, int32_t key_length, int32_t mac_length, SkeinSize_t skeinSize)
Create and initialize a Skein MAC context.
int skeinMacInit(SkeinCtx_t *ctx, const uint8_t *key, size_t keyLen, size_t hashBitLen)
Initializes or reuses a Skein context for MAC usage.
Function that provide Skein MAC support.
int skeinCtxPrepare(SkeinCtx_t *ctx, SkeinSize_t size)
Prepare a Skein context.
enum SkeinSize SkeinSize_t
Which Skein size to use.