fix burn blake2b stack size.

This commit is contained in:
Kelvin Sherlock 2017-04-10 16:37:34 -04:00
parent 55450078ea
commit 0f97bb7415

View File

@ -302,7 +302,7 @@ static int blake2b_compress(hash_state *md, const unsigned char *buf)
{
int err;
err = _blake2b_compress(md, buf);
burn_stack(sizeof(ulong32) * (32 + 2));
burn_stack(sizeof(ulong64) * (32 + 1));
return err;
}
#endif