aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Android.mk
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-12-31 17:41:21 (GMT)
committerJouni Malinen <j@w1.fi>2013-01-12 15:51:52 (GMT)
commitaadabe7045fe38846793cc577d78fae9cfe13d76 (patch)
treec27d12d606c770e64f6565aa1a955d61a709d61d /wpa_supplicant/Android.mk
parent619c70a0b24bb910ebcef6786a85ddff3b05427e (diff)
downloadhostap-aadabe7045fe38846793cc577d78fae9cfe13d76.zip
hostap-aadabe7045fe38846793cc577d78fae9cfe13d76.tar.gz
hostap-aadabe7045fe38846793cc577d78fae9cfe13d76.tar.bz2
SAE: Use crypto wrappers instead of direct OpenSSL calls
This makes the SAE implementation independent of the crypto/bignum library. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/Android.mk')
-rw-r--r--wpa_supplicant/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 432662e..7dce6e6 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -182,6 +182,7 @@ endif
ifdef CONFIG_SAE
L_CFLAGS += -DCONFIG_SAE
OBJS += src/common/sae.c
+NEED_ECC=y
endif
ifdef CONFIG_TDLS
@@ -1154,6 +1155,10 @@ OBJS += src/crypto/dh_group5.c
endif
endif
+ifdef NEED_ECC
+L_CFLAGS += -DCONFIG_ECC
+endif
+
ifdef CONFIG_NO_RANDOM_POOL
L_CFLAGS += -DCONFIG_NO_RANDOM_POOL
else