fix burn blake2b stack size.
This commit is contained in:
parent
55450078ea
commit
0f97bb7415
@ -302,7 +302,7 @@ static int blake2b_compress(hash_state *md, const unsigned char *buf)
|
|||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
err = _blake2b_compress(md, buf);
|
err = _blake2b_compress(md, buf);
|
||||||
burn_stack(sizeof(ulong32) * (32 + 2));
|
burn_stack(sizeof(ulong64) * (32 + 1));
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user