mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-20 04:19:25 +01:00
dpp: zero nonces/keys on dpp_reset
This commit is contained in:
parent
ba040219ce
commit
ce9188ee35
@ -163,6 +163,12 @@ static void dpp_reset(struct dpp_sm *dpp)
|
|||||||
|
|
||||||
dpp->state = DPP_STATE_NOTHING;
|
dpp->state = DPP_STATE_NOTHING;
|
||||||
|
|
||||||
|
explicit_bzero(dpp->r_nonce, dpp->nonce_len);
|
||||||
|
explicit_bzero(dpp->i_nonce, dpp->nonce_len);
|
||||||
|
explicit_bzero(dpp->e_nonce, dpp->nonce_len);
|
||||||
|
explicit_bzero(dpp->ke, dpp->key_len);
|
||||||
|
explicit_bzero(dpp->k2, dpp->key_len);
|
||||||
|
|
||||||
dpp_free_auth_data(dpp);
|
dpp_free_auth_data(dpp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user