hostap/src/rsn_supp
Johannes Berg a1f11e34c4 Use os_memdup()
This leads to cleaner code overall, and also reduces the size
of the hostapd and wpa_supplicant binaries (in hwsim test build
on x86_64) by about 2.5 and 3.5KiB respectively.

The mechanical conversions all over the code were done with
the following spatch:

    @@
    expression SIZE, SRC;
    expression a;
    @@
    -a = os_malloc(SIZE);
    +a = os_memdup(SRC, SIZE);
    <...
    if (!a) {...}
    ...>
    -os_memcpy(a, SRC, SIZE);

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-03-07 13:19:10 +02:00
..
Makefile tests: Add eapol-fuzzer 2015-04-22 11:44:19 +03:00
peerkey.c PeerKey: Fix STK 4-way handshake regression 2016-12-18 19:56:05 +02:00
peerkey.h PeerKey: Fix EAPOL-Key processing 2016-12-18 19:07:29 +02:00
pmksa_cache.c FILS: Use FILS Cache Identifier to extend PMKSA applicability 2017-02-26 12:05:40 +02:00
pmksa_cache.h FILS: Use FILS Cache Identifier to extend PMKSA applicability 2017-02-26 12:05:40 +02:00
preauth.c FILS: Use FILS Cache Identifier to extend PMKSA applicability 2017-02-26 12:05:40 +02:00
preauth.h Fix wpa_supplicant build with IEEE8021X_EAPOL=y and CONFIG_NO_WPA=y 2016-01-15 20:04:41 +02:00
tdls.c Use os_memdup() 2017-03-07 13:19:10 +02:00
wpa.c Use os_memdup() 2017-03-07 13:19:10 +02:00
wpa.h FILS: Use FILS Cache Identifier to extend PMKSA applicability 2017-02-26 12:05:40 +02:00
wpa_ft.c FT: Allow CCMP-256 and GCMP-256 as group ciphers 2015-07-07 16:25:06 +03:00
wpa_i.h FILS: Use FILS Cache Identifier to extend PMKSA applicability 2017-02-26 12:05:40 +02:00
wpa_ie.c FILS: Add AKM definitions 2016-10-10 20:46:36 +03:00
wpa_ie.h Simplify VHT Capabilities element parsing 2015-04-22 22:05:11 +03:00