139 Commits

Author SHA1 Message Date
matthias.ringwald
04b0940343 serialize request to sm_central_device_lookup 2014-06-12 15:42:51 +00:00
matthias.ringwald
4fcbaf28ae prepare ckrk lookup to work in a multi-connection environment 2014-06-12 15:07:01 +00:00
matthias.ringwald
a50f0d8c57 track aes128 state and use of sm_aes128_plaintext var 2014-06-12 13:38:17 +00:00
matthias.ringwald
784e72fdec removed sm_aes128_key 2014-06-12 13:14:43 +00:00
matthias.ringwald
f38c10628c fixed unsafe use in HCI_SUBEVENT_LE_LONG_TERM_KEY_REQUEST 2014-06-12 12:57:24 +00:00
matthias.ringwald
9b4485bbfa fixed unsafe use in SM_STATE_PH3_W4_DIV 2014-06-12 12:51:54 +00:00
matthias.ringwald
44f9951d12 fixed unsafe use in SM_STATE_PH2_C1_W4_RANDOM_B 2014-06-12 12:49:52 +00:00
matthias.ringwald
ea344a2be2 extracted sm_handle_random_result, marked unsafe use of aes128 input vars, fixed unsafe use in SM_STATE_PH2_W4_PAIRING_RANDOM 2014-06-12 12:44:03 +00:00
matthias.ringwald
24ac29f6b9 extraced sm_handle_encryption_result 2014-06-12 10:32:55 +00:00
matthias.ringwald
e776213c37 fix compile with C++ compiler 2014-06-12 10:12:23 +00:00
matthias.ringwald@gmail.com
73b0d685f1 remove l2cap_register_packet_handler as fixed channel already forwards HCI events 2014-04-28 21:02:26 +00:00
matthias.ringwald@gmail.com
1eccbf8411 trate no OOB data callback as no oob data available 2014-04-11 13:07:27 +00:00
matthias.ringwald@gmail.com
404e02de70 include <string.h> instead of <strings.h> to use memcpy 2014-04-03 21:40:48 +00:00
matthias.ringwald@gmail.com
640925c0e2 use l2cap_can_send_connectionless_packet_now instead of hci_can_send_packet_now_using_packet_buffer(HCI_ACL_DATA_PACKET) 2014-04-03 19:00:31 +00:00
matthias.ringwald@gmail.com
64f0b431f7 more use of hci_can_send_packet_now_using_packet_buffer 2014-04-03 15:27:03 +00:00
matthias.ringwald@gmail.com
1fb05f9241 moved swapX functions into utils.c 2014-02-28 21:07:59 +00:00
matthias.ringwald@gmail.com
efc37b8e26 ignore failed connections in SM 2014-02-04 20:48:43 +00:00
matthias.ringwald@gmail.com
98fbd9a22e remove debug 2014-02-02 20:58:58 +00:00
matthias.ringwald@gmail.com
0ebb3f6c57 allow to set IRK 2014-02-02 18:45:00 +00:00
mila@ringwald.ch
98e03ad7b2 reset CMAC engine state to IDLE after sending result 2014-02-01 15:13:46 +00:00
mila@ringwald.ch
b441616f64 handle and return little endian data in CMAC engine 2014-02-01 15:06:31 +00:00
mila@ringwald.ch
09e218a3a4 notify client about availabe CSRK after bonding 2014-02-01 13:47:41 +00:00
matthias.ringwald@gmail.com
0fa661b31f remove timer before adding it 2014-01-31 16:14:06 +00:00
matthias.ringwald@gmail.com
6d9f0ef4d0 provide sm_send_security_request 2014-01-30 10:32:09 +00:00
matthias.ringwald@gmail.com
158bc1b59a dump oob data 2014-01-30 10:07:16 +00:00
matthias.ringwald@gmail.com
0b2c63e4c1 also set OOB data if initiator doesn't have it 2014-01-26 18:43:42 +00:00
matthias.ringwald@gmail.com
4e4ed2b0fc use bd_addr_to_string to fix address output 2014-01-25 08:00:37 +00:00
matthias.ringwald@gmail.com
510d4cc19a fix spelling of sm_set_encryption_key_size_range 2014-01-08 13:08:41 +00:00
matthias.ringwald@gmail.com
0d0bcdceb3 don't use Master Identification Information to replace addr_type and address, sort security check order 2014-01-07 18:24:50 +00:00
matthias.ringwald@gmail.com
f30cb1ae00 fix io cap lookup, ble_peripheral has display 2014-01-07 10:14:30 +00:00
matthias.ringwald@gmail.com
beedfc0222 try to authorize an authenticated connection if required to access attribute 2014-01-06 18:37:25 +00:00
matthias.ringwald@gmail.com
c63eb6a1d7 implement basic authorization api to request, grant, or deny authorization 2014-01-06 12:58:18 +00:00
matthias.ringwald@gmail.com
90eac28174 track if connection is authenticated 2014-01-06 12:26:59 +00:00
matthias.ringwald@gmail.com
9218acdc65 implement sm_encryption_key_size 2014-01-06 12:07:15 +00:00
matthias.ringwald@gmail.com
434961bde4 track att connection encryption state 2014-01-05 22:42:19 +00:00
matthias.ringwald@gmail.com
f7fb899f3b track att connection encryption state 2014-01-05 22:40:51 +00:00
matthias.ringwald@gmail.com
3f0d86542c comment slave keys not used in peripheral role 2014-01-05 22:15:07 +00:00
matthias.ringwald@gmail.com
0063aec7b1 comment master keys not used in peripheral role 2014-01-05 22:11:50 +00:00
matthias.ringwald@gmail.com
831700f276 move Sercurity Manager into main code base 2014-01-05 20:45:37 +00:00