mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
DPP: Move configurator backup into a separate source code file
This continues splitting dpp.c into smaller pieces. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
fdbbb74064
commit
21c612017b
@ -538,6 +538,7 @@ ifdef CONFIG_DPP
|
|||||||
L_CFLAGS += -DCONFIG_DPP
|
L_CFLAGS += -DCONFIG_DPP
|
||||||
OBJS += src/common/dpp.c
|
OBJS += src/common/dpp.c
|
||||||
OBJS += src/common/dpp_auth.c
|
OBJS += src/common/dpp_auth.c
|
||||||
|
OBJS += src/common/dpp_backup.c
|
||||||
OBJS += src/common/dpp_crypto.c
|
OBJS += src/common/dpp_crypto.c
|
||||||
OBJS += src/common/dpp_pkex.c
|
OBJS += src/common/dpp_pkex.c
|
||||||
OBJS += src/common/dpp_reconfig.c
|
OBJS += src/common/dpp_reconfig.c
|
||||||
|
@ -569,6 +569,7 @@ ifdef CONFIG_DPP
|
|||||||
CFLAGS += -DCONFIG_DPP
|
CFLAGS += -DCONFIG_DPP
|
||||||
OBJS += ../src/common/dpp.o
|
OBJS += ../src/common/dpp.o
|
||||||
OBJS += ../src/common/dpp_auth.o
|
OBJS += ../src/common/dpp_auth.o
|
||||||
|
OBJS += ../src/common/dpp_backup.o
|
||||||
OBJS += ../src/common/dpp_crypto.o
|
OBJS += ../src/common/dpp_crypto.o
|
||||||
OBJS += ../src/common/dpp_pkex.o
|
OBJS += ../src/common/dpp_pkex.o
|
||||||
OBJS += ../src/common/dpp_reconfig.o
|
OBJS += ../src/common/dpp_reconfig.o
|
||||||
|
1202
src/common/dpp.c
1202
src/common/dpp.c
File diff suppressed because it is too large
Load Diff
1211
src/common/dpp_backup.c
Normal file
1211
src/common/dpp_backup.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -47,6 +47,13 @@ int dpp_prepare_channel_list(struct dpp_authentication *auth,
|
|||||||
void dpp_auth_fail(struct dpp_authentication *auth, const char *txt);
|
void dpp_auth_fail(struct dpp_authentication *auth, const char *txt);
|
||||||
int dpp_gen_uri(struct dpp_bootstrap_info *bi);
|
int dpp_gen_uri(struct dpp_bootstrap_info *bi);
|
||||||
|
|
||||||
|
/* dpp_backup.c */
|
||||||
|
|
||||||
|
void dpp_free_asymmetric_key(struct dpp_asymmetric_key *key);
|
||||||
|
struct wpabuf * dpp_build_enveloped_data(struct dpp_authentication *auth);
|
||||||
|
int dpp_conf_resp_env_data(struct dpp_authentication *auth,
|
||||||
|
const u8 *env_data, size_t env_data_len);
|
||||||
|
|
||||||
/* dpp_crypto.c */
|
/* dpp_crypto.c */
|
||||||
|
|
||||||
struct dpp_signed_connector_info {
|
struct dpp_signed_connector_info {
|
||||||
|
@ -22,6 +22,7 @@ OBJS += $(SRC)/crypto/sha512-kdf.o
|
|||||||
OBJS += $(SRC)/tls/asn1.o
|
OBJS += $(SRC)/tls/asn1.o
|
||||||
OBJS += $(SRC)/common/dpp.o
|
OBJS += $(SRC)/common/dpp.o
|
||||||
OBJS += $(SRC)/common/dpp_auth.o
|
OBJS += $(SRC)/common/dpp_auth.o
|
||||||
|
OBJS += $(SRC)/common/dpp_backup.o
|
||||||
OBJS += $(SRC)/common/dpp_crypto.o
|
OBJS += $(SRC)/common/dpp_crypto.o
|
||||||
OBJS += $(SRC)/common/dpp_pkex.o
|
OBJS += $(SRC)/common/dpp_pkex.o
|
||||||
OBJS += $(SRC)/common/dpp_reconfig.o
|
OBJS += $(SRC)/common/dpp_reconfig.o
|
||||||
|
@ -248,6 +248,7 @@ ifdef CONFIG_DPP
|
|||||||
L_CFLAGS += -DCONFIG_DPP
|
L_CFLAGS += -DCONFIG_DPP
|
||||||
OBJS += src/common/dpp.c
|
OBJS += src/common/dpp.c
|
||||||
OBJS += src/common/dpp_auth.c
|
OBJS += src/common/dpp_auth.c
|
||||||
|
OBJS += src/common/dpp_backup.c
|
||||||
OBJS += src/common/dpp_crypto.c
|
OBJS += src/common/dpp_crypto.c
|
||||||
OBJS += src/common/dpp_pkex.c
|
OBJS += src/common/dpp_pkex.c
|
||||||
OBJS += src/common/dpp_reconfig.c
|
OBJS += src/common/dpp_reconfig.c
|
||||||
|
@ -280,6 +280,7 @@ ifdef CONFIG_DPP
|
|||||||
CFLAGS += -DCONFIG_DPP
|
CFLAGS += -DCONFIG_DPP
|
||||||
OBJS += ../src/common/dpp.o
|
OBJS += ../src/common/dpp.o
|
||||||
OBJS += ../src/common/dpp_auth.o
|
OBJS += ../src/common/dpp_auth.o
|
||||||
|
OBJS += ../src/common/dpp_backup.o
|
||||||
OBJS += ../src/common/dpp_crypto.o
|
OBJS += ../src/common/dpp_crypto.o
|
||||||
OBJS += ../src/common/dpp_pkex.o
|
OBJS += ../src/common/dpp_pkex.o
|
||||||
OBJS += ../src/common/dpp_reconfig.o
|
OBJS += ../src/common/dpp_reconfig.o
|
||||||
|
Loading…
Reference in New Issue
Block a user