aesni: Make sure to wipe salt

This commit is contained in:
Tobias Brunner 2023-07-11 11:35:09 +02:00
parent 9bda4a4415
commit ad8484a6cc

View File

@ -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);
}