108 Commits

Author SHA1 Message Date
Matthias Ringwald
71d5257663 test: remove HAVE_ASSERT from coverage tests 2021-01-29 21:47:15 +01:00
Matthias Ringwald
e2c00bfeb6 test: use ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS by all tests 2021-01-29 20:54:04 +01:00
Matthias Ringwald
e501675b4f test/security_manager: update test for ENABLE_SOFTWARE_AES128 2021-01-29 14:24:56 +01:00
Matthias Ringwald
77cfc86276 test/security_manager: enable pklg 2021-01-29 12:25:55 +01:00
Matthias Ringwald
cd56fb443c test: enable address sanitzier for make test 2020-12-10 11:52:05 +01:00
Matthias Ringwald
3d87570f86 test: prepare separate builds for unit test with address sanitizer vs. coverage 2020-12-10 11:52:05 +01:00
Milanka Ringwald
39426e8a44 test/config: add ENABLE_PRINTF_HEXDUMP 2020-11-06 14:07:45 +01:00
Milanka Ringwald
02a3cd7f00 test/config: sort defines alphabetically 2020-11-06 14:03:27 +01:00
Matthias Ringwald
28b5b606bb test/coverage: disable address sanitizer for coverage measurements 2020-09-24 15:28:06 +02:00
Matthias Ringwald
7e7f1cd46a test/security_manager: re-enable coverage flags 2020-09-18 12:15:07 +02:00
Matthias Ringwald
837e41c7f7 test/security_manager: configure with support for Secure Connections 2020-09-16 13:13:09 +02:00
Matthias Ringwald
ecbd4bc00b test/security_manager: configure with support for Secure Connections 2020-09-16 12:31:49 +02:00
Matthias Ringwald
90fe6d5fb1 test/security_manager: adapt test for queued sm_run callbacks 2020-09-16 10:24:43 +02:00
Matthias Ringwald
ccc4a51891 test: add -fanitize=address,undefined to most tests 2020-01-07 11:26:31 +01:00
Matthias Ringwald
f13fc29007 btstack_crypto: move rijndael/aes128 implementation into 3rd-party [a2471] 2019-12-07 22:32:03 +01:00
Matthias Ringwald
b338ca6049 coverage: line and function coverage for core 2019-09-17 15:11:58 +02:00
Matthias Ringwald
b2bfd6ae96 test/security_manager: fix test - no hashes are calculated on connect 2019-05-17 19:39:32 +02:00
Matthias Ringwald
489a58de68 fix compilation 2019-03-30 21:30:47 +01:00
Matthias Ringwald
bdcc259dd8 test: move crypto tests from seurity manager into own crypto folder 2018-10-26 10:32:43 +02:00
Matthias Ringwald
7d6d7cf52c test/security_manager: move rijndael aes128 into test/rijndael folder 2018-10-05 15:31:38 +02:00
Matthias Ringwald
9e6f232991 test: remove outdated include paths 2018-06-26 13:40:35 +02:00
Matthias Ringwald
6894dd3986 test/sm: change to btstack_cyrpto - comment aes_cmac tests, fix test 2018-04-20 11:10:59 +02:00
Matthias Ringwald
e1f907047d test/security_manager: fix test 2017-08-14 18:10:26 +02:00
Matthias Ringwald
0c92bcc661 sm: drop support for mbed-tls for ECDH 2017-08-14 11:17:52 +02:00
Matthias Ringwald
ee6b16138c test: fix compile. libusb: fix warning 2017-07-04 17:38:30 +02:00
Matthias Ringwald
375650c212 test: sort security manager files 2017-04-13 16:49:28 +02:00
Matthias Ringwald
2bfd9ab5af test: fix security manager test 2017-04-13 16:41:53 +02:00
Matthias Ringwald
af03003c8a 3rd-party: add micro-ecc/static e4d264b https://github.com/kmackay/micro-ecc.git and test/security_manager/ecc_micro_ecc 2017-04-13 15:23:09 +02:00
Matthias Ringwald
9d28751f62 test/sm: rename ectest -> ecc_mbed_tls 2017-04-13 15:23:09 +02:00
Matthias Ringwald
b95a5a357a gap_le: cleanup use of own address for scanning, advertisements, and connection creation 2017-01-18 11:50:45 +01:00
Matthias Ringwald
2527d18c69 fix build 2016-11-10 22:00:31 +01:00
Matthias Ringwald
766515d4f7 test/sm: avoid c++ warning 2016-06-27 16:05:17 +02:00
Matthias Ringwald
9513b6ea90 test/sm: add gap_local_bd_addr 2016-06-27 16:04:27 +02:00
Matthias Ringwald
4dfd504ad1 sm: sm_cmac_start -> sm_cmac_signed_write 2016-06-20 11:34:56 +02:00
Matthias Ringwald
3cb420dbce test/ectest: init dh_key - fixing crash 2016-06-10 14:06:18 +02:00
Matthias Ringwald
bba2e72ac5 test: fix security_manager tests 2016-06-10 13:47:11 +02:00
Matthias Ringwald
e01675d351 sm: provide basic memory allocator for use with mbedtls 2016-06-03 16:59:29 +02:00
Matthias Ringwald
514d35fc5d sm: add sm_cmac_general_start for aes_cmac calculation in secure connection functions 2016-05-27 16:40:53 +02:00
Matthias Ringwald
74c92e7149 test/sm: added cmac signing test 2016-05-27 16:40:53 +02:00
Matthias Ringwald
b6a6a351f8 test/sm: extract aes_cmac implementation 2016-05-27 16:40:53 +02:00
Matthias Ringwald
c040243fc3 test/sm: fix g2 calculation 2016-05-27 16:40:53 +02:00
Matthias Ringwald
e53be89155 sm: calculate DHKey, LTK, and DHKey Check values. Require only Encryption in example 2016-05-27 16:40:53 +02:00
Matthias Ringwald
5d1a0b5570 test/sm: generate ec keypair. remove files not needed for software ec calculation 2016-05-27 16:40:53 +02:00
Matthias Ringwald
cd4b45e272 test/sm: try nist p256r1 ec 2016-05-27 16:40:53 +02:00
Matthias Ringwald
4243f62ef6 test/sm: implement h6 2016-05-27 16:40:53 +02:00
Matthias Ringwald
6bea6160f4 test/sm: implement g2 2016-05-27 16:40:53 +02:00
Matthias Ringwald
4f55d09f61 test/sm: implement f6 2016-05-27 16:40:53 +02:00
Matthias Ringwald
2fde466246 test/sm: implement f5 2016-05-27 16:40:53 +02:00
Matthias Ringwald
587b3d906a test/sm: implement f4 2016-05-27 16:40:53 +02:00
Matthias Ringwald
94d1976d90 test/sm: re-implemented aes_cmac using software AES 2016-05-27 16:40:53 +02:00