mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
sha3: Make sure to wipe the internal Keccak state
This commit is contained in:
parent
b7d7a6be3a
commit
e0e99c1dd3
@ -462,6 +462,7 @@ METHOD(sha3_keccak_t, squeeze, void,
|
||||
METHOD(sha3_keccak_t, destroy, void,
|
||||
private_sha3_keccak_t *this)
|
||||
{
|
||||
memwipe(this->state, sizeof(this->state));
|
||||
free(this);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user