1*cc02325aSMatthias Ringwaldcmake_minimum_required (VERSION 3.5) 2*cc02325aSMatthias Ringwald 3*cc02325aSMatthias Ringwaldproject(test-crypto) 4*cc02325aSMatthias Ringwald 5*cc02325aSMatthias Ringwaldinclude_directories(../../3rd-party/micro-ecc) 6*cc02325aSMatthias Ringwaldinclude_directories(../../3rd-party/rijndael) 7*cc02325aSMatthias Ringwaldinclude_directories(../../src) 8*cc02325aSMatthias Ringwaldinclude_directories(..) 9*cc02325aSMatthias Ringwald 10*cc02325aSMatthias Ringwaldadd_executable(aes_ccm_test 11*cc02325aSMatthias Ringwald ../../3rd-party/rijndael/rijndael.c 12*cc02325aSMatthias Ringwald ../../src/btstack_crypto.c 13*cc02325aSMatthias Ringwald ../../src/btstack_linked_list.c 14*cc02325aSMatthias Ringwald ../../src/hci_cmd.c 15*cc02325aSMatthias Ringwald ../../src/btstack_util.c 16*cc02325aSMatthias Ringwald ../../src/hci_dump.c 17*cc02325aSMatthias Ringwald aes_ccm.c 18*cc02325aSMatthias Ringwald aes_ccm_test.c 19*cc02325aSMatthias Ringwald aes_cmac.c 20*cc02325aSMatthias Ringwald mock.c 21*cc02325aSMatthias Ringwald) 22*cc02325aSMatthias Ringwald 23*cc02325aSMatthias Ringwaldadd_executable(aestest 24*cc02325aSMatthias Ringwald ../../3rd-party/rijndael/rijndael.c 25*cc02325aSMatthias Ringwald aestest.c 26*cc02325aSMatthias Ringwald) 27*cc02325aSMatthias Ringwald 28*cc02325aSMatthias Ringwaldadd_executable(ecc_micro_ecc 29*cc02325aSMatthias Ringwald ../../3rd-party/micro-ecc/uECC.c 30*cc02325aSMatthias Ringwald ecc_micro_ecc.c 31*cc02325aSMatthias Ringwald) 32*cc02325aSMatthias Ringwald 33*cc02325aSMatthias Ringwaldadd_executable(aes_cmac_test 34*cc02325aSMatthias Ringwald ../../3rd-party/rijndael/rijndael.c 35*cc02325aSMatthias Ringwald aes_cmac_test.c 36*cc02325aSMatthias Ringwald aes_cmac.c 37*cc02325aSMatthias Ringwald) 38