Electroneum
Loading...
Searching...
No Matches
skein.h File Reference
#include "skein_port.h"
Include dependency graph for skein.h:

Go to the source code of this file.

Typedefs

typedef size_t DataLength
typedef u08b_t BitSequence

Enumerations

enum  HashReturn { SKEIN_SUCCESS = 0 , SKEIN_FAIL = 1 , SKEIN_BAD_HASHLEN = 2 }

Functions

HashReturn skein_hash (int hashbitlen, const BitSequence *data, DataLength databitlen, BitSequence *hashval)

Typedef Documentation

◆ BitSequence

Definition at line 41 of file skein.h.

◆ DataLength

typedef size_t DataLength

Definition at line 40 of file skein.h.

Enumeration Type Documentation

◆ HashReturn

enum HashReturn
Enumerator
SKEIN_SUCCESS 
SKEIN_FAIL 
SKEIN_BAD_HASHLEN 

Definition at line 32 of file skein.h.

33{
34 SKEIN_SUCCESS = 0, /* return codes from Skein calls */
35 SKEIN_FAIL = 1,
37}
@ SKEIN_FAIL
Definition skein.h:35
@ SKEIN_BAD_HASHLEN
Definition skein.h:36
@ SKEIN_SUCCESS
Definition skein.h:34

Function Documentation

◆ skein_hash()

HashReturn skein_hash ( int hashbitlen,
const BitSequence * data,
DataLength databitlen,
BitSequence * hashval )