2069 Commits

Author SHA1 Message Date
matthias.ringwald@gmail.com
cb220d641c use #defines 2013-12-28 10:36:44 +00:00
matthias.ringwald@gmail.com
c0cb54544a fix value of SM_AUTHREQ_MITM_PROTECTION 2013-12-27 23:28:08 +00:00
matthias.ringwald@gmail.com
de45c647b6 improve event enumeration 2013-12-26 18:58:55 +00:00
matthias.ringwald@gmail.com
6413c62205 cache ATT Server Request instead of ATT Server Response to allow for signed write signature validation 2013-12-22 23:03:06 +00:00
matthias.ringwald@gmail.com
c934fd0d78 calculate CMAC using AES128 engine 2013-12-22 00:00:14 +00:00
matthias.ringwald@gmail.com
6ebbe91aaf return full MAC 2013-12-21 22:31:22 +00:00
matthias.ringwald@gmail.com
29634d544e use latest cc2564 init script 2013-12-21 22:31:04 +00:00
matthias.ringwald@gmail.com
f9a84882e4 added CLIENT_CONFIGURATION to test profile 2013-12-21 22:30:34 +00:00
matthias.ringwald@gmail.com
3624b7d954 CMAC implementation finished and tested 2013-12-21 21:47:03 +00:00
matthias.ringwald@gmail.com
0dfc5dea2b start implementing CMAC for signed writes, first step: generate subkeys 2013-12-21 21:01:18 +00:00
matthias.ringwald@gmail.com
5aae4a8148 allow to define Client Characteristic Configuration by adding 'CLIENT_CONFIGURATION' to characteristic property definition in .gatt file 2013-12-20 22:17:07 +00:00
matthias.ringwald@gmail.com
ad51f761ed respond with attribute UUID instead of attribute value in find information response 2013-12-20 21:30:36 +00:00
matthias.ringwald@gmail.com
10297a1983 generate resolvable and non-resolvable random addresses 2013-12-20 20:40:38 +00:00
matthias.ringwald@gmail.com
2b7ae8fa57 add gap_random_adress_set_mode() to start/stop/choose type of random private adress 2013-12-20 20:14:21 +00:00
matthias.ringwald@gmail.com
b36cf1a947 send DAEMON_EVENT_HCI_PACKET_SENT as valid HCI Event - fixes issue #360 2013-12-20 19:22:19 +00:00
matthias.ringwald@gmail.com
9012c5085a added sm_register_packet_handler to allow for user interaction during bonding 2013-12-19 23:26:45 +00:00
matthias.ringwald@gmail.com
d8e47b18fa remove unncessary comparison as suggested by #355 2013-12-19 22:52:33 +00:00
matthias.ringwald@gmail.com
9314412306 waste 1 extra byte per SDP record to allow compilation with older compilers 2013-12-19 22:41:50 +00:00
matthias.ringwald@gmail.com
eb984d877b added Asus BT400 to list of known Bluetooth USB dongles 2013-12-19 14:24:58 +00:00
matthias.ringwald@gmail.com
ec1531682d first implementation of random adresses 2013-12-13 22:24:49 +00:00
matthias.ringwald@gmail.com
219e15bf19 provided API to enable random address updates / privacy 2013-12-13 21:25:53 +00:00
matthias.ringwald@gmail.com
0ea4fcb96d extracted sm_aes128_start to trigger aes128 operation 2013-12-13 20:54:43 +00:00
matthias.ringwald@gmail.com
2ff0111162 moved sm_d1 to other aes128 c implementation only functions 2013-12-13 20:46:02 +00:00
matthias.ringwald@gmail.com
7f767c8433 remove DHK calculation from LTK calc path 2013-12-13 20:42:05 +00:00
matthias.ringwald@gmail.com
25815557c1 also calculate DHK durign startup 2013-12-13 20:34:28 +00:00
matthias.ringwald@gmail.com
833c40cbea calculate IRK after HCI startup 2013-12-13 20:25:27 +00:00
matthias.ringwald@gmail.com
f5a7b8eea0 protect aes128 engine with mutex 2013-12-13 17:37:25 +00:00
mila@ringwald.ch
04118274b2 ble client: query charcteristic draft implementation 2013-12-09 09:53:45 +00:00
matthias.ringwald@gmail.com
29ebd0071f use min encrytion key size, truncate key before using or distribution 2013-12-06 22:19:32 +00:00
matthias.ringwald@gmail.com
fd4c6f057c assert max encryption size above our minimum 2013-12-06 16:15:22 +00:00
matthias.ringwald@gmail.com
ae8cec9a27 use configurable max encrypted key size 2013-12-06 16:11:46 +00:00
matthias.ringwald@gmail.com
af11092cb3 add setters for max/min encrypted key size 2013-12-06 16:10:01 +00:00
matthias.ringwald@gmail.com
8363021c65 more pre-c99 fixes 2013-12-06 15:20:34 +00:00
matthias.ringwald@gmail.com
89a1014dfe init in with 0 instead of NULL 2013-12-06 15:09:54 +00:00
matthias.ringwald@gmail.com
51c0b90d25 added sm_set_accepted_stk_generation_method and checks to abort pairing if resulting method is not listed 2013-12-06 14:00:33 +00:00
mila@ringwald.ch
4f2f629291 struct initialization in old style, init in with 0 instead of NULL 2013-12-06 13:46:41 +00:00
matthias.ringwald@gmail.com
e6691d32ca use Initiator No MITM AND Responder No MITM => Just Works 2013-12-06 13:36:34 +00:00
matthias.ringwald@gmail.com
a93c825714 assert correct state before handing SM PDUs 2013-12-06 11:05:03 +00:00
mila@ringwald.ch
b47e04a3f1 ble client: add INCLUDE service identifier 2013-12-06 11:00:03 +00:00
mila@ringwald.ch
4eb637e285 struct initialization in old style 2013-12-06 09:28:43 +00:00
mila@ringwald.ch
82db68a572 struct initialization in old style 2013-12-06 09:23:34 +00:00
mila@ringwald.ch
b436dac04b support for included services 2013-12-05 14:26:48 +00:00
mila@ringwald.ch
cad6844b1d struct initialization in old style 2013-12-05 12:39:50 +00:00
mila@ringwald.ch
68494c4897 ble client: get charachteristics from included services with max search depth predefined 2013-12-05 09:29:19 +00:00
matthias.ringwald@gmail.com
3462f8724a add sm_set_authentication_requirements to request bonding 2013-11-29 23:44:12 +00:00
matthias.ringwald@gmail.com
3e1e0aede8 fix confirm calculation 2013-11-29 23:14:01 +00:00
matthias.ringwald@gmail.com
9383decc66 store sm_s_stk in sm_s_ltk 2013-11-29 22:53:26 +00:00
matthias.ringwald@gmail.com
eabb4ec387 sort vars 2013-11-29 22:19:10 +00:00
matthias.ringwald@gmail.com
9b80a8b850 replaced individual vars for key distribution with single set variable 2013-11-29 22:05:35 +00:00
matthias.ringwald@gmail.com
78390e1e97 fix set of keys to distribute 2013-11-29 21:52:00 +00:00