hostap/src
Sabrina Dubroca 7dcec24881 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>
2016-08-28 22:24:33 +03:00
..
ap Initialize hapd->nr_db in hostapd_alloc_bss_data() 2016-08-22 17:44:05 +03:00
common mka: Store cipher suite ID in a u64 instead of u8 pointer 2016-08-28 21:55:54 +03:00
crypto OpenSSL: Fix OpenSSL 1.1.0 compatibility functions 2016-08-13 21:07:05 +03:00
drivers mka: Store cipher suite ID in a u64 instead of u8 pointer 2016-08-28 21:55:54 +03:00
eap_common TLS: Split tls_connection_prf() into two functions 2016-05-23 20:40:12 +03:00
eap_peer TNCC: Mark functions static 2016-06-24 01:38:04 +03:00
eap_server TNCS: Mark functions static 2016-06-24 19:02:47 +03:00
eapol_auth RADIUS: Share a single function for generating session IDs 2016-02-06 17:19:35 +02:00
eapol_supp Fix EAPOL reauth after FT protocol or offloaded PMKSA cache use 2015-11-19 21:16:18 +02:00
fst FST: Make fst_action_names static 2016-06-23 17:48:48 +03:00
l2_packet l2_packet: Extend bridge workaround RX processing to cover two frames 2016-01-07 13:30:59 +02:00
p2p P2Ps: Clear existing value when peer stops sending adv_service_instance 2016-07-23 20:55:52 +03:00
pae mka: Clean up key allocation 2016-08-28 22:24:33 +03:00
radius radius: Sanity check for NULL pointer segfault 2016-08-19 12:16:20 +03:00
rsn_supp TDLS: Declare tdls_testing as extern in a header file 2016-06-23 13:31:04 +03:00
tls TLS: Make tls_cert_chain_failure_event() more robust 2015-12-28 18:31:11 +02:00
utils utils: os_unix: Use access() for checking file existence 2016-08-08 00:24:07 +03:00
wps Share a single str_starts() implementation 2016-08-06 12:38:21 +03:00
lib.rules Add QUIET=1 option for make 2014-12-29 15:49:05 +02:00
Makefile FST: Add the Fast Session Transfer (FST) module 2015-07-16 18:26:15 +03:00