aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2016-08-12 13:07:35 (GMT)
committerJouni Malinen <j@w1.fi>2016-08-28 19:24:33 (GMT)
commit7dcec248814beacd40d7df55d4a2524199910ba2 (patch)
treed7e888f3e13fe059512d686a1f72026a8a0bb12d /wpa_supplicant
parent95e9460d6a9d18d7805af08cfb38982c3cb1cdc5 (diff)
downloadhostap-7dcec248814beacd40d7df55d4a2524199910ba2.zip
hostap-7dcec248814beacd40d7df55d4a2524199910ba2.tar.gz
hostap-7dcec248814beacd40d7df55d4a2524199910ba2.tar.bz2
mka: Clean up key allocation
Assign cs in ieee802_1x_mka_decode_dist_sak_body and reuse it. Cleanup of key allocation: ieee802_1x_kay_generate_new_sak() and ieee802_1x_mka_decode_dist_sak_body() both allocate a struct key_conf, fill it, and ask ieee802_1x_kay_init_data_key() to allocate and set up a struct data_key. They also allocate multiple key buffers and copy the same data around. Stop moving data from buffer to buffer, and just allocate what we really need. Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Diffstat (limited to 'wpa_supplicant')
0 files changed, 0 insertions, 0 deletions