Share common SAE and EAP-pwd functionality: suitable groups
Start sharing common SAE and EAP-pwd functionality by adding a new source code file that can be included into both. This first step is bringing in a shared function to check whether a group is suitable. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
ff229da309
commit
2b84ca4dd9
8 changed files with 74 additions and 29 deletions
|
@ -275,6 +275,7 @@ CFLAGS += -DCONFIG_SAE
|
|||
OBJS += ../src/common/sae.o
|
||||
NEED_ECC=y
|
||||
NEED_DH_GROUPS=y
|
||||
NEED_DRAGONFLY=y
|
||||
endif
|
||||
|
||||
ifdef CONFIG_DPP
|
||||
|
@ -720,6 +721,7 @@ OBJS += ../src/eap_peer/eap_pwd.o ../src/eap_common/eap_pwd_common.o
|
|||
CONFIG_IEEE8021X_EAPOL=y
|
||||
NEED_SHA256=y
|
||||
NEED_ECC=y
|
||||
NEED_DRAGONFLY=y
|
||||
endif
|
||||
|
||||
ifdef CONFIG_EAP_EKE
|
||||
|
@ -1023,6 +1025,10 @@ ifdef CONFIG_SMARTCARD
|
|||
CFLAGS += -DCONFIG_SMARTCARD
|
||||
endif
|
||||
|
||||
ifdef NEED_DRAGONFLY
|
||||
OBJS += ../src/common/dragonfly.o
|
||||
endif
|
||||
|
||||
ifdef MS_FUNCS
|
||||
OBJS += ../src/crypto/ms_funcs.o
|
||||
NEED_DES=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue