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>
This commit is contained in:
parent
619c70a0b2
commit
aadabe7045
5 changed files with 109 additions and 163 deletions
|
@ -175,6 +175,7 @@ endif
|
|||
ifdef CONFIG_SAE
|
||||
CFLAGS += -DCONFIG_SAE
|
||||
OBJS += ../src/common/sae.o
|
||||
NEED_ECC=y
|
||||
endif
|
||||
|
||||
ifdef CONFIG_WNM
|
||||
|
@ -1181,6 +1182,10 @@ OBJS += ../src/crypto/dh_group5.o
|
|||
endif
|
||||
endif
|
||||
|
||||
ifdef NEED_ECC
|
||||
CFLAGS += -DCONFIG_ECC
|
||||
endif
|
||||
|
||||
ifdef CONFIG_NO_RANDOM_POOL
|
||||
CFLAGS += -DCONFIG_NO_RANDOM_POOL
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue