mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
aesni: Make sure to wipe salt
This commit is contained in:
parent
9bda4a4415
commit
ad8484a6cc
@ -1361,6 +1361,7 @@ METHOD(aead_t, destroy, void,
|
||||
memwipe(&this->hh, sizeof(this->hh));
|
||||
memwipe(&this->hhh, sizeof(this->hhh));
|
||||
memwipe(&this->hhhh, sizeof(this->hhhh));
|
||||
memwipe(this->salt, sizeof(this->salt));
|
||||
this->iv_gen->destroy(this->iv_gen);
|
||||
free_align(this);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user