NetworkManager/src/devices/wifi
Thomas Haller 3434261811 core,clients: use our own string hashing function nm_str_hash()
Replace the usage of g_str_hash() with our own nm_str_hash().

GLib's g_str_hash() uses djb2 hashing function, just like we
do at the moment. The only difference is, that we use a diffrent
seed value.

Note, that we initialize the hash seed with random data (by calling
getrandom() or reading /dev/urandom). That is a change compared to
before.

This change of the hashing function and accessing the random pool
might be undesired for libnm/libnm-core. Hence, the change is not
done there as it possibly changes behavior for public API. Maybe
we should do that later though.

At this point, there isn't much of a change. This patch becomes
interesting, if we decide to use a different hashing algorithm.
2017-10-18 13:05:00 +02:00
..
tests wifi/test-general: don't do g_message() in test 2017-04-15 12:30:05 +02:00
nm-device-olpc-mesh.c src/devices: use macros for property and signal names 2017-09-18 15:40:31 +02:00
nm-device-olpc-mesh.h build: don't add subdirectories to include search path but require qualified include 2016-11-21 14:26:37 +01:00
nm-device-wifi.c core,clients: use our own string hashing function nm_str_hash() 2017-10-18 13:05:00 +02:00
nm-device-wifi.h devices/wifi: flip meaning of scanning allowed signal 2017-08-11 11:59:58 -05:00
nm-wifi-ap.c wifi/ap: maintain the WPS flags 2017-05-15 12:59:55 +02:00
nm-wifi-ap.h wifi/ap: maintain the WPS flags 2017-05-15 12:59:55 +02:00
nm-wifi-factory.c build: don't add subdirectories to include search path but require qualified include 2016-11-21 14:26:37 +01:00
nm-wifi-utils.c wifi: rename NMAccessPoint to NMWifiAP 2016-10-06 20:35:05 +02:00
nm-wifi-utils.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00