SAE: Clear keys from memory on disassociation
authorJouni Malinen <j@w1.fi>
Mon, 29 Dec 2014 16:40:10 +0000 (18:40 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 29 Dec 2014 18:00:02 +0000 (20:00 +0200)
commit4e70bbf1c68579b3223f1cac0ffcdbf1c52b4a55
treed54c7efcc842a956cbadc58cbd1f9a19d5d90af0
parentfbfc974c6c4307a61b3b4eaf31923d3533dd52de
SAE: Clear keys from memory on disassociation

There is no need to keep temporary keys in memory beyond the end of the
association, so explicitly clear any SAE buffers that can contain keys
as soon as such keys are not needed.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/common/sae.c
wpa_supplicant/events.c
wpa_supplicant/sme.c
wpa_supplicant/sme.h