90 Commits

Author SHA1 Message Date
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
Matthias Ringwald
7d2c9f1338 test: fix sm and sdp client 2016-04-08 15:38:45 +02:00
Matthias Ringwald
fdee1660ea test: fix security manager aes test compile 2016-03-28 12:15:13 +02:00
Matthias Ringwald
40d883bd01 replace bzero with memset and drop HAVE_BZERO 2016-03-27 22:49:03 +02:00
Matthias Ringwald
15a95bd5aa gap: declare more hci functions as gap functions 2016-02-18 17:12:57 +01:00
Matthias Ringwald
591423b2a5 att -> att_db 2016-02-11 21:23:06 +01:00
Matthias Ringwald
9c80e4cce8 util.h: rename swapX into reverse_x 2016-02-11 14:37:22 +01:00
Matthias Ringwald
adbe29e86c l2cap: add fixed l2cap channel id to l2cap_can_send_fixed_channel_now 2016-02-05 21:20:17 +01:00
Matthias Ringwald
d9a7306a10 hci/sm: use btstack_packet_handler instead of (*fn)(type,packet,size) for events 2016-02-04 17:45:02 +01:00
Matthias Ringwald
406722e45a sm: replace sm_register_packet_handler with sm_add_event_handler 2016-02-04 16:20:00 +01:00
Matthias Ringwald
c5b64319fd l2cap: don't forward HCI to l2cap packet handler. Replace l2cap_register_packet_handler with hci_add_event_handler. Fix tests 2016-02-03 21:55:36 +01:00
Matthias Ringwald
f8fbdce0c5 use little/big_endian_read/store_16/24/32 2016-01-31 00:07:32 +01:00
Matthias Ringwald
5611a760af use for event types 2016-01-30 23:58:36 +01:00
Matthias Ringwald
5604262918 hci_cmds -> hci_cmd 2016-01-21 11:33:17 +01:00
Matthias Ringwald
bcc59d6cd9 hci_create_cmd_internal -> hci_cmd_create_from_template 2016-01-21 11:30:24 +01:00
Matthias Ringwald
f032a44114 fix test compile 2016-01-20 16:23:34 +01:00
Matthias Ringwald
eb8860135e fix missing bstack_ for struct data_source and struct timer. utils->btstack_util 2016-01-20 16:10:07 +01:00
Matthias Ringwald
528a4a3b3e prefix run_loop_ functions with btstack_ 2016-01-20 15:58:46 +01:00
Matthias Ringwald
4ab92137d3 missing run_loop.c -> btstack_run_loop.c renames 2016-01-20 15:42:54 +01:00