NetworkManager/src/supplicant
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 devices/wifi: delegate connected periodic scanning to the supplicant (bgo #766482) 2017-08-11 12:35:01 -05:00
nm-supplicant-config.c core,clients: use our own string hashing function nm_str_hash() 2017-10-18 13:05:00 +02:00
nm-supplicant-config.h devices/wifi: delegate connected periodic scanning to the supplicant (bgo #766482) 2017-08-11 12:35:01 -05:00
nm-supplicant-interface.c core,clients: use our own string hashing function nm_str_hash() 2017-10-18 13:05:00 +02:00
nm-supplicant-interface.h supplicant-interface: add support for WPS enrollment 2017-05-15 12:59:55 +02:00
nm-supplicant-manager.c supplicant: enable PMF only when wpa_supplicant supports it 2017-04-15 10:37:33 +02:00
nm-supplicant-manager.h supplicant: add an enum to specify the driver 2017-01-16 17:37:14 +01:00
nm-supplicant-settings-verify.c supplicant: configure PMF for each connection 2017-04-28 09:46:06 +02:00
nm-supplicant-settings-verify.h build: rename "src/supplicant-manager" to "src/supplicant" 2016-11-21 14:07:47 +01:00
nm-supplicant-types.h supplicant: add an enum to specify the driver 2017-01-16 17:37:14 +01:00