Merge remote-tracking branch 'origin/pr/2799' into development
Manually edit ChangeLog to ensure correct placement of ChangeLog notes. * origin/pr/2799: (42 commits) Handle deleting non-existant files on Windows Update submodule Use 3rdparty headers from the submodule Add Everest components to all.sh 3rdparty: Add config checks for Everest Fix macros in benchmark.c Update generated files 3rdparty: Fix inclusion order of CMakeLists.txt Fix trailing whitespace ECDH: Fix inclusion of platform.h for proper use of MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED ECDH: Fix use of ECDH API in full handshake benchmark ECDH: Removed unnecessary calls to mbedtls_ecp_group_load in ECDH benchmark ECDH: Fix Everest x25519 make_public Fix file permissions 3rdparty: Rename THIRDPARTY_OBJECTS 3rdparty: Update description of MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED 3rdparty: Fix Makefile coding conventions ECDSA: Refactor return value checks for mbedtls_ecdsa_can_do Add a changelog entry for Everest ECDH (X25519) Document that curve lists can include partially-supported curves ...
This commit is contained in:
commit
49fcbeab14
67 changed files with 413 additions and 257 deletions
|
@ -66,6 +66,8 @@ set(src_crypto
|
|||
xtea.c
|
||||
)
|
||||
|
||||
list(APPEND src_crypto ${thirdparty_src})
|
||||
|
||||
set(src_x509
|
||||
certs.c
|
||||
pkcs11.c
|
||||
|
|
|
@ -80,6 +80,12 @@ OBJS_TLS= debug.o net_sockets.o \
|
|||
ssl_srv.o ssl_ticket.o \
|
||||
ssl_tls.o
|
||||
|
||||
INCLUDING_FROM_MBEDTLS:=1
|
||||
include ../crypto/3rdparty/Makefile.inc
|
||||
LOCAL_CFLAGS += $(patsubst -I../3rdparty/%, -I../crypto/3rdparty/%, $(THIRDPARTY_INCLUDES))
|
||||
OBJS_CRYPTO += $(patsubst ../3rdparty/%, ../crypto/3rdparty/%, $(THIRDPARTY_CRYPTO_OBJECTS))
|
||||
|
||||
|
||||
.SILENT:
|
||||
|
||||
.PHONY: all static shared clean
|
||||
|
@ -153,11 +159,13 @@ libmbedcrypto.%:
|
|||
|
||||
.c.o:
|
||||
echo " CC $<"
|
||||
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) -c $<
|
||||
$(CC) $(LOCAL_CFLAGS) $(CFLAGS) -o $@ -c $<
|
||||
|
||||
clean:
|
||||
ifndef WINDOWS
|
||||
rm -f *.o libmbed*
|
||||
rm -f *.o libmbed* $(OBJS_CRYPTO)
|
||||
else
|
||||
del /Q /F *.o libmbed*
|
||||
if exist *.o del /Q /F *.o
|
||||
if exist libmbed* del /Q /F libmbed*
|
||||
if exist $(OBJS_CRYPTO) del /Q /F $(OBJS_CRYPTO)
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue