Electroneum
Loading...
Searching...
No Matches
jh.h File Reference

Go to the source code of this file.

Enumerations

enum  HashReturn { SUCCESS = 0 , FAIL = 1 , BAD_HASHLEN = 2 }

Functions

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

Enumeration Type Documentation

◆ HashReturn

enum HashReturn
Enumerator
SUCCESS 
FAIL 
BAD_HASHLEN 

Definition at line 19 of file jh.h.

19{SUCCESS = 0, FAIL = 1, BAD_HASHLEN = 2} HashReturn;
#define FAIL()
Definition gtest.h:1822
HashReturn
Definition jh.h:19
@ SUCCESS
Definition jh.h:19
@ BAD_HASHLEN
Definition jh.h:19

Function Documentation

◆ jh_hash()

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