blake2b: declaration after execution statements, for embedded compiler
This commit is contained in:
parent
2a141f6a82
commit
539bc81682
@ -106,9 +106,10 @@ static INLINE int blake2b_init0( blake2b_state *S )
|
||||
int blake2b_init_param( blake2b_state *S, const blake2b_param *P )
|
||||
{
|
||||
word32 i;
|
||||
byte *p ;
|
||||
blake2b_init0( S );
|
||||
byte *p = ( byte * )( P );
|
||||
|
||||
p = ( byte * )( P );
|
||||
|
||||
/* IV XOR ParamBlock */
|
||||
for( i = 0; i < 8; ++i )
|
||||
S->h[i] ^= load64( p + sizeof( S->h[i] ) * i );
|
||||
|
Loading…
x
Reference in New Issue
Block a user