blake2b: declaration after execution statements, for embedded compiler

This commit is contained in:
Takashi Kojo 2015-08-29 12:30:40 +09:00
parent 2a141f6a82
commit 539bc81682
1 changed files with 3 additions and 2 deletions

View File

@ -106,8 +106,9 @@ 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 )