2020-10-11 09:58:57 +02:00
|
|
|
ALL=sae
|
2020-04-04 17:28:06 +02:00
|
|
|
include ../rules.include
|
|
|
|
|
|
|
|
CFLAGS += -DCONFIG_SHA256
|
|
|
|
CFLAGS += -DCONFIG_ECC
|
|
|
|
|
|
|
|
LIBS += $(SRC)/common/libcommon.a
|
|
|
|
LIBS += $(SRC)/utils/libutils.a
|
|
|
|
|
|
|
|
OBJS += $(SRC)/crypto/crypto_openssl.o
|
|
|
|
OBJS += $(SRC)/crypto/dh_groups.o
|
|
|
|
OBJS += $(SRC)/crypto/sha256-prf.o
|
|
|
|
OBJS += $(SRC)/crypto/sha256-kdf.o
|
|
|
|
OBJS += $(SRC)/common/dragonfly.o
|
|
|
|
|
2020-10-11 09:58:57 +02:00
|
|
|
OBJS += sae.o
|
|
|
|
|
|
|
|
_OBJS_VAR := OBJS
|
|
|
|
include ../../../src/objs.mk
|
|
|
|
|
|
|
|
sae: $(OBJS) $(LIBS)
|
2020-04-21 23:51:13 +02:00
|
|
|
$(LDO) $(LDFLAGS) -o $@ $^ -lcrypto
|
2020-04-04 17:28:06 +02:00
|
|
|
|
2020-10-11 09:58:57 +02:00
|
|
|
clean: common-clean
|
2020-04-04 17:28:06 +02:00
|
|
|
rm -f sae *~ *.o *.d ../*~ ../*.o ../*.d
|