]> git.ipfire.org Git - thirdparty/hostap.git/commit - hostapd/Makefile
Use internal FIPS 186-2 PRF if needed
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 11 Mar 2014 14:33:05 +0000 (16:33 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 11 Mar 2014 14:44:22 +0000 (16:44 +0200)
commit09eef142eabb14d3f4242af7aafb909dd9cda9b8
tree6a35dcabc85904959a8cf0d4b37bb05a06a72371
parent9b3e2ad3a7bd8a4d1aeed97c3c6a216dcd741dc8
Use internal FIPS 186-2 PRF if needed

Previously, EAP-SIM/AKA/AKA' did not work with number of crypto
libraries (GnuTLS, CryptoAPI, NSS) since the required FIPS 186-2 PRF
function was not implemented. This resulted in somewhat confusing error
messages since the placeholder functions were silently returning an
error. Fix this by using the internal implementation of FIP 186-2 PRF
(including internal SHA-1 implementation) with crypto libraries that do
not implement this in case EAP-SIM/AKA/AKA' is included in the build.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd/Android.mk
hostapd/Makefile
src/crypto/Makefile
src/crypto/fips_prf_cryptoapi.c [deleted file]
src/crypto/fips_prf_gnutls.c [deleted file]
src/crypto/fips_prf_nss.c [deleted file]
src/crypto/sha1-internal.c
wpa_supplicant/Android.mk
wpa_supplicant/Makefile