@@ -1934,8 +1934,8 @@ hashState;
1934
1934
1935
1935
/* "incremental" hashing API */
1936
1936
static SkeinHashReturn Init (hashState * state , int hashbitlen );
1937
- static SkeinHashReturn Update (hashState * state , const SkeinBitSequence * data , SkeinDataLength databitlen );
1938
- static SkeinHashReturn Final (hashState * state , SkeinBitSequence * hashval );
1937
+ static SkeinHashReturn Update (hashState * state , const BitSequence * data , DataLength databitlen );
1938
+ static SkeinHashReturn Final (hashState * state , BitSequence * hashval );
1939
1939
1940
1940
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
1941
1941
/* select the context size and init the context */
@@ -1963,7 +1963,7 @@ static SkeinHashReturn Init(hashState *state, int hashbitlen)
1963
1963
1964
1964
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
1965
1965
/* process data to be hashed */
1966
- static SkeinHashReturn Update (hashState * state , const SkeinBitSequence * data , SkeinDataLength databitlen )
1966
+ static SkeinHashReturn Update (hashState * state , const BitSequence * data , DataLength databitlen )
1967
1967
{
1968
1968
/* only the final Update() call is allowed do partial bytes, else assert an error */
1969
1969
Skein_Assert ((state -> u .h .T [1 ] & SKEIN_T1_FLAG_BIT_PAD ) == 0 || databitlen == 0 , SKEIN_FAIL );
@@ -2008,7 +2008,7 @@ static SkeinHashReturn Update(hashState *state, const SkeinBitSequence *data, Sk
2008
2008
2009
2009
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
2010
2010
/* finalize hash computation and output the result (hashbitlen bits) */
2011
- static SkeinHashReturn Final (hashState * state , SkeinBitSequence * hashval )
2011
+ static SkeinHashReturn Final (hashState * state , BitSequence * hashval )
2012
2012
{
2013
2013
Skein_Assert (state -> statebits % 256 == 0 && (state -> statebits - 256 ) < 1024 ,FAIL );
2014
2014
switch ((state -> statebits >> 8 ) & 3 )
@@ -2022,8 +2022,8 @@ static SkeinHashReturn Final(hashState *state, SkeinBitSequence *hashval)
2022
2022
2023
2023
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
2024
2024
/* all-in-one hash function */
2025
- SkeinHashReturn c_skein_hash (int hashbitlen , const SkeinBitSequence * data , /* all-in-one call */
2026
- SkeinDataLength databitlen ,SkeinBitSequence * hashval )
2025
+ SkeinHashReturn c_skein_hash (int hashbitlen , const BitSequence * data , /* all-in-one call */
2026
+ DataLength databitlen ,BitSequence * hashval )
2027
2027
{
2028
2028
hashState state ;
2029
2029
SkeinHashReturn r = Init (& state ,hashbitlen );
0 commit comments