mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
gcm: Make sure to wipe salt and H
This commit is contained in:
parent
e8f8d32494
commit
0abb37b830
@ -370,6 +370,8 @@ METHOD(aead_t, destroy, void,
|
||||
{
|
||||
this->crypter->destroy(this->crypter);
|
||||
this->iv_gen->destroy(this->iv_gen);
|
||||
memwipe(this->salt, sizeof(this->salt));
|
||||
memwipe(this->h, sizeof(this->h));
|
||||
free(this);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user