SAE-PK: Fix build without AES-SIV

CONFIG_SAE_PK=y was not pulling in AES-SIV implementation even though it
needs this.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2022-05-26 20:45:37 +03:00
parent c41004d861
commit 9e305878c0
4 changed files with 4 additions and 0 deletions

View file

@ -256,6 +256,7 @@ L_CFLAGS += -DCONFIG_SAE
OBJS += src/common/sae.c OBJS += src/common/sae.c
ifdef CONFIG_SAE_PK ifdef CONFIG_SAE_PK
L_CFLAGS += -DCONFIG_SAE_PK L_CFLAGS += -DCONFIG_SAE_PK
NEED_AES_SIV=y
OBJS += src/common/sae_pk.c OBJS += src/common/sae_pk.c
endif endif
NEED_ECC=y NEED_ECC=y

View file

@ -295,6 +295,7 @@ CFLAGS += -DCONFIG_SAE
OBJS += ../src/common/sae.o OBJS += ../src/common/sae.o
ifdef CONFIG_SAE_PK ifdef CONFIG_SAE_PK
CFLAGS += -DCONFIG_SAE_PK CFLAGS += -DCONFIG_SAE_PK
NEED_AES_SIV=y
OBJS += ../src/common/sae_pk.o OBJS += ../src/common/sae_pk.o
endif endif
NEED_ECC=y NEED_ECC=y

View file

@ -243,6 +243,7 @@ L_CFLAGS += -DCONFIG_SAE
OBJS += src/common/sae.c OBJS += src/common/sae.c
ifdef CONFIG_SAE_PK ifdef CONFIG_SAE_PK
L_CFLAGS += -DCONFIG_SAE_PK L_CFLAGS += -DCONFIG_SAE_PK
NEED_AES_SIV=y
OBJS += src/common/sae_pk.c OBJS += src/common/sae_pk.c
endif endif
NEED_ECC=y NEED_ECC=y

View file

@ -266,6 +266,7 @@ CFLAGS += -DCONFIG_SAE
OBJS += ../src/common/sae.o OBJS += ../src/common/sae.o
ifdef CONFIG_SAE_PK ifdef CONFIG_SAE_PK
CFLAGS += -DCONFIG_SAE_PK CFLAGS += -DCONFIG_SAE_PK
NEED_AES_SIV=y
OBJS += ../src/common/sae_pk.o OBJS += ../src/common/sae_pk.o
endif endif
NEED_ECC=y NEED_ECC=y