ccm: Make sure to wipe salt
This commit is contained in:
@@ -338,6 +338,7 @@ METHOD(aead_t, destroy, void,
|
|||||||
{
|
{
|
||||||
this->crypter->destroy(this->crypter);
|
this->crypter->destroy(this->crypter);
|
||||||
this->iv_gen->destroy(this->iv_gen);
|
this->iv_gen->destroy(this->iv_gen);
|
||||||
|
memwipe(this->salt, sizeof(this->salt));
|
||||||
free(this);
|
free(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user