iwd/src
Denis Kenzior ff319b8234 crypto: Fix valgrind warning
==40686== Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s)
==40686==    at 0x5147037: sendmsg (in /usr/lib64/libc-2.24.so)
==40686==    by 0x43957C: operate_cipher (cipher.c:354)
==40686==    by 0x439C18: l_cipher_decrypt (cipher.c:415)
==40686==    by 0x40FAB8: arc4_skip (crypto.c:181)

Initialize the skip buffer to 0s.  This isn't strictly necessary, but
hides the above valgrind warning.

The aim of arc4 skip is simply to seed some data into the RC4 cipher so
it makes it harder for the attacker to decrypt.  This 'initialization'
doesn't really care what data is fed.
2017-06-06 13:33:08 -05:00
..
agent.c dbus: Switch to using org.freedesktop.DBus.Properties 2016-09-21 16:46:34 -05:00
agent.h agent: Add reason parameter to Cancel 2016-06-10 09:26:56 -05:00
backtrace.c backtrace: Try to find absolute executable path 2017-03-16 15:17:41 -05:00
backtrace.h backtrace: Try to find absolute executable path 2017-03-16 15:17:41 -05:00
common.c common: Add security_from_str 2016-06-08 11:08:10 -05:00
common.h common: Add security_from_str 2016-06-08 11:08:10 -05:00
crypto.c crypto: Fix valgrind warning 2017-06-06 13:33:08 -05:00
crypto.h crypto: Add crypto_derive_pmkid 2017-04-17 14:24:02 -05:00
dbus.c dbus: Use the shutdown procedure instead of l_main_quit 2017-05-04 10:50:29 -05:00
dbus.h device: Add a SignalLevelAgent D-bus API 2017-05-30 11:32:51 -05:00
device.c device: Add extra sanity check to UnregisterAgent 2017-05-30 11:40:09 -05:00
device.h device: Start a roaming attempt on low RSSI detection 2017-01-18 17:27:35 -06:00
eap-md5.c eap: Extract md5 logic into eap-md5.c 2016-11-21 11:08:50 -06:00
eap-mschapv2.c mschapv2: Call set_key_material last in handle_success 2017-01-06 13:22:05 -06:00
eap-mschapv2.h eap-mschap: Add crypto functions for mschapv2 2016-12-14 22:46:18 -06:00
eap-tls.c eap-tls: Fix msg size miscalculation 2016-11-03 22:19:46 -05:00
eap-ttls.c eap-ttls: Fix msg size miscalculation 2016-11-07 16:27:26 -06:00
eap-wsc.c eap-wsc: Obtain DevicePasswordId from settings 2017-02-22 11:46:40 -06:00
eap-wsc.h eap-wsc: Send credential obtained events 2016-09-13 13:32:47 -05:00
eap.c eap: Move eap->method NULL check before first dereference 2017-05-30 17:10:31 -05:00
eap.h eap-mschapv2: add code for eap method 2016-12-14 22:56:56 -06:00
eapol.c eapol: After EAP skip the RSNE PMKID check in step 1/4 2017-05-04 10:50:29 -05:00
eapol.h eapol: Add preauth_sm class, drop eapol_sm.preauth 2017-05-01 11:13:32 -05:00
ftutil.c netdev: Handle the FT Authentication Response message 2017-01-12 10:33:40 -06:00
ftutil.h netdev: Handle the FT Authentication Response message 2017-01-12 10:33:40 -06:00
handshake.c handshake: Fix valgrind warning 2017-05-15 15:23:03 -05:00
handshake.h handshake: Add handshake_util_find_pmkid_kde 2017-04-17 14:28:09 -05:00
ie.c ie: Parse GTK and IGTK subelements in FTE 2017-02-01 10:02:14 -06:00
ie.h ie: Parse GTK and IGTK subelements in FTE 2017-02-01 10:02:14 -06:00
iwd-dbus.conf dbus: Add hwsim interface to DBus policy file 2017-03-09 11:45:41 -06:00
iwd.conf src: Introduce iwd.conf 2016-10-24 11:10:26 -05:00
iwd.h dbus: Use the shutdown procedure instead of l_main_quit 2017-05-04 10:50:29 -05:00
knownnetworks.c dbus: Switch to using org.freedesktop.DBus.Properties 2016-09-21 16:46:34 -05:00
knownnetworks.h knownnetworks: Implement KnownNetworks interface 2016-06-21 11:41:37 -05:00
main.c main: Don't init nl80211 if we're terminating 2017-05-04 10:50:33 -05:00
mpdu.c mpdu: fix transaction_sequence byte-ordering 2015-01-22 12:41:10 -06:00
mpdu.h eapol: Define and use IEEE80211_MAX_DATA_LEN 2017-03-10 10:01:33 -06:00
netdev.c netdev: Use CMD_DISCONNECT for non-FT cases 2017-05-31 11:08:40 -05:00
netdev.h netdev: Implement RSSI level notifications API 2017-05-30 11:28:33 -05:00
network.c network: Sort out reference counting 2017-05-11 19:50:05 -05:00
network.h network: Add network_set_psk 2016-09-21 16:20:09 -05:00
rfkill.c rfkill: Fix wiphy ID lookup 2016-07-20 15:29:39 -05:00
rfkill.h Add rfkill enable/disable and watch support 2016-07-07 13:21:08 -05:00
scan.c scan: Add error code argument to scan results callback 2017-03-26 20:26:53 -05:00
scan.h scan: Add error code argument to scan results callback 2017-03-26 20:26:53 -05:00
storage.c storage: Return const char * 2016-06-10 09:59:59 -05:00
storage.h storage: Return const char * 2016-06-10 09:59:59 -05:00
util.c util: Remove unused msg_append_attr functions 2017-01-31 11:48:50 -06:00
util.h util: Move mem_is_zero to util 2017-02-21 16:45:41 -06:00
watchlist.c watchlist: Make re-entrant safe 2016-09-22 15:28:29 -05:00
watchlist.h watchlist: Make re-entrant safe 2016-09-22 15:28:29 -05:00
wiphy.c wiphy: Add wiphy_get_ext_feature 2017-05-19 10:01:53 -05:00
wiphy.h wiphy: Add wiphy_get_ext_feature 2017-05-19 10:01:53 -05:00
wsc.c scan: Add error code argument to scan results callback 2017-03-26 20:26:53 -05:00
wsc.h wsc: Squash wsc_sm structure 2016-09-13 14:53:30 -05:00
wscutil.c wscutil: Add wsc_pin_generate 2017-02-17 12:27:13 -06:00
wscutil.h wscutil: Add wsc_pin_generate 2017-02-17 12:27:13 -06:00