77 Commits

Author SHA1 Message Date
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
Matthias Ringwald
8f2a52f4d9 forgot to add files in earlier commit 2016-01-20 15:38:37 +01:00
Matthias Ringwald
d2e6c4b762 prefix memory_pool files with btstack_ 2016-01-20 14:56:28 +01:00
Matthias Ringwald
665d90f25e prefixed all linked list types and functions with btstack_ 2016-01-20 14:50:38 +01:00
Matthias Ringwald
2c539f6e7e rename bk_linked_list_t to btstack_linked_list_t 2016-01-20 14:37:23 +01:00
Matthias Ringwald
4fd23d4738 rename bk_linked_list to btstack_linked_list 2016-01-20 14:34:04 +01:00
Matthias Ringwald
dd9e275ce1 platform/posix: drop src folder 2016-01-20 14:20:47 +01:00
Matthias Ringwald
9796ebea28 hci_trasport: add type to hci transport config, update all ports 2016-01-06 23:02:46 +01:00
Matthias Ringwald
f89ed3dce5 fix compile 2016-01-06 23:01:06 +01:00
Matthias Ringwald
a484130c09 run_loop: pass in run_loop_X_get_instance() to run_loop_init(). Various other fixes 2016-01-06 17:31:20 +01:00
Matthias Ringwald
8736ab0cf2 prefix linked_list 2015-12-22 21:48:13 +01:00
Matthias Ringwald
3edc84c5b6 fix paths after source reorg 2015-11-13 15:04:41 +01:00
Matthias Ringwald
195a80287b removed btstack/include folder 2015-10-15 16:33:34 +02:00
Matthias Ringwald
75e30611be use HCI Event style packet instead of sm_event_t 2015-10-11 23:33:03 +02:00