test: fix security_manager tests

This commit is contained in:
Matthias Ringwald 2016-06-10 13:47:11 +02:00
parent a3aba2f99a
commit bba2e72ac5
2 changed files with 6 additions and 2 deletions

View File

@ -19,7 +19,7 @@
#define ENABLE_LOG_INTO_HCI_DUMP
#define ENABLE_SDP_DES_DUMP
#define ENABLE_SDP_EXTRA_QUERIES
#define ENABLE_LE_SECURE_CONNECTIONS
// #define ENABLE_LE_SECURE_CONNECTIONS
// BTstack configuration. buffers, sizes, ...
#define HCI_ACL_PAYLOAD_SIZE 52

View File

@ -36,7 +36,8 @@ MBEDTLS = \
ecp_curves.c \
bignum.c \
all: security_manager aestest ectest aes_cmac_test sm_mbedtls_allocator_test
all: security_manager aestest ectest aes_cmac_test
# sm_mbedtls_allocator_test
security_manager: ${CORE_OBJ} ${COMMON_OBJ} security_manager.c
${CC} ${CORE_OBJ} ${COMMON_OBJ} security_manager.c ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o $@
@ -45,6 +46,7 @@ aestest: aestest.o rijndael.o
${CC} ${CFLAGS} $^ -o $@
ectest: ectest.o ${MBEDTLS} rijndael.o
echo "compiling ectest"
gcc ${CFLAGS} $^ -o $@
aes_cmac_test: aes_cmac_test.o aes_cmac.o rijndael.o
@ -57,6 +59,8 @@ test: all
./security_manager
./aes_cmac_test
./aestest
./ectest
./aes_cmac_test
clean:
rm -f security_manager