paul-szczepanek-arm
|
179ad1626f
|
Merge branch 'master' of https://github.com/paul-szczepanek-arm/mbed-os
|
2018-03-01 12:56:33 +00:00 |
paul-szczepanek-arm
|
cebc0f8fd7
|
create encryption result event even when nothing changes
|
2018-03-01 12:56:29 +00:00 |
Vincent Coubard
|
766b8765ad
|
BLE: Accept pairing request when the user authorization is not required.
|
2018-03-01 10:21:35 +00:00 |
paul-szczepanek-arm
|
f9a79bed15
|
fixed initiator distribution bug and setting LINK distribution field based on SC
|
2018-02-28 17:43:54 +00:00 |
paul-szczepanek-arm
|
c52d324dab
|
pass in information about the mitm and sc quality of the ltk to the pal
|
2018-02-28 12:02:54 +00:00 |
paul-szczepanek-arm
|
abcc5db44b
|
fix setting default values which were overriding even when unset
|
2018-02-28 10:00:58 +00:00 |
paul-szczepanek-arm
|
975544f274
|
link key distribution decision made in generic security manager
|
2018-02-27 23:26:34 +00:00 |
paul-szczepanek-arm
|
e186985b26
|
addressing PR review: added documentation, moved code and renamed vars
|
2018-02-27 17:22:13 +00:00 |
paul-szczepanek-arm
|
536f541b93
|
mic event no longer present in user api, removing call
|
2018-02-27 12:13:48 +00:00 |
paul-szczepanek-arm
|
4010bade89
|
reanmed type as per review request
|
2018-02-27 11:43:46 +00:00 |
paul-szczepanek-arm
|
5de1979f5c
|
types renamed as per review requests
|
2018-02-27 10:33:35 +00:00 |
paul-szczepanek-arm
|
b0c7d729fc
|
variable name updated in the undefed cmac blocks
|
2018-02-27 10:00:07 +00:00 |
Vincent Coubard
|
b939721421
|
BLE: Ensure passkey is not null before integer conversion
|
2018-02-27 09:00:26 +00:00 |
Vincent Coubard
|
11a809ee1c
|
BLE: remove MorySecurityDb include from generic security manager.
|
2018-02-23 11:19:21 +00:00 |
Vincent Coubard
|
1ded0d7198
|
BLE: Split security manager control block from the secure DB.
|
2018-02-23 11:15:08 +00:00 |
paul-szczepanek-arm
|
1da5d74470
|
temporary key encryption mitm quality reflected
|
2018-02-22 11:50:11 +00:00 |
paul-szczepanek-arm
|
6b0ba64ee2
|
SM fixes to init and register the event handler correctly
|
2018-02-21 18:35:44 +00:00 |
Vincent Coubard
|
4ce0ed9c0c
|
BLE: Remove dependency of GenericSecurityManager towards gap.
|
2018-02-19 17:46:41 +00:00 |
paul-szczepanek-arm
|
8cf7b3b06f
|
Merge branch 'palsm' of https://github.com/paul-szczepanek-arm/mbed-os into palsm
|
2018-02-19 15:35:39 +00:00 |
paul-szczepanek-arm
|
d9156a28e2
|
connection monitor
|
2018-02-19 15:32:07 +00:00 |
Vincent Coubard
|
6529d677c1
|
BLE: Fix include prefixes.
|
2018-02-19 13:46:46 +00:00 |
paul-szczepanek-arm
|
2f1e211da1
|
set entry state on connect
|
2018-02-13 16:41:36 +00:00 |
paul-szczepanek-arm
|
581b5755b8
|
removed duplicate event handler, removed redundant using statements
|
2018-02-12 13:40:04 +00:00 |
paul-szczepanek-arm
|
934d8f9235
|
pointers changed to references for a consistent PAL
|
2018-02-11 18:08:21 +00:00 |
paul-szczepanek-arm
|
18062fc9de
|
GAP integration for connection and disconnection events
|
2018-02-09 16:35:16 +00:00 |
paul-szczepanek-arm
|
e7cf1529ec
|
remobed todo, will be handled by db
|
2018-02-09 14:21:24 +00:00 |
paul-szczepanek-arm
|
e0c308f8f2
|
fix buffer not being moved in random number generation
|
2018-02-09 13:59:03 +00:00 |
paul-szczepanek-arm
|
769c97e32c
|
random data generation
|
2018-02-09 13:55:33 +00:00 |
paul-szczepanek-arm
|
fe9b558a2a
|
init random number on local device for OOB data
|
2018-02-09 13:29:37 +00:00 |
paul-szczepanek-arm
|
564749674f
|
cmac using the tls implementation
|
2018-02-09 12:54:08 +00:00 |
paul-szczepanek-arm
|
0806584e45
|
oob presence set correctly for legacy pairing
|
2018-02-09 10:52:39 +00:00 |
paul-szczepanek-arm
|
a2cff3079e
|
move oob to db, add cmac helper func
|
2018-02-08 21:48:43 +00:00 |
paul-szczepanek-arm
|
56530d4917
|
sc oob verification needs local random value
|
2018-02-08 18:35:02 +00:00 |
paul-szczepanek-arm
|
d061c89e31
|
storing sc oob, checking for its presence
|
2018-02-08 18:23:23 +00:00 |
paul-szczepanek-arm
|
cba77ad5d1
|
saving public keys
|
2018-02-08 16:36:06 +00:00 |
paul-szczepanek-arm
|
0b15798673
|
style and moved for clarity
|
2018-02-08 16:03:52 +00:00 |
paul-szczepanek-arm
|
b5b86b72fe
|
oob handling inside genric for secure connections
|
2018-02-08 15:17:12 +00:00 |
paul-szczepanek-arm
|
1b6a84d5a4
|
oob data propagated to pal
|
2018-02-07 10:16:44 +00:00 |
paul-szczepanek-arm
|
20444c8dd7
|
missing implementations
|
2018-02-07 08:59:48 +00:00 |
paul-szczepanek-arm
|
8cc36650df
|
added OOB to interface, moved address type to common
|
2018-02-06 22:59:21 +00:00 |
paul-szczepanek-arm
|
1446142b60
|
ltk for secure connections
|
2018-02-06 21:50:57 +00:00 |
paul-szczepanek-arm
|
7aa9ae7888
|
fix typos
|
2018-02-06 15:39:31 +00:00 |
paul-szczepanek-arm
|
9bc8c56df3
|
address types added, secure connectins oob added
|
2018-02-06 10:17:31 +00:00 |
paul-szczepanek-arm
|
32e91ac168
|
removed idenitty list as resolution will be done insite the db asynchronously
|
2018-02-01 10:00:10 -06:00 |
paul-szczepanek-arm
|
f53359f60c
|
doxygen
|
2018-01-31 16:42:35 -06:00 |
paul-szczepanek-arm
|
132b9e01bf
|
fix encryption call to accept 16 octets
|
2018-01-31 16:23:45 -06:00 |
paul-szczepanek-arm
|
714069b965
|
deal with failed LTK retrieval, remove unused functionality, more doxygen
|
2018-01-31 14:16:56 -06:00 |
paul-szczepanek-arm
|
5498b79f55
|
doxygen, moved types to common
|
2018-01-31 12:06:01 -06:00 |
paul-szczepanek-arm
|
62502fe1c8
|
more doxygen and naming consistency
|
2018-01-31 11:27:32 -06:00 |
paul-szczepanek-arm
|
2060ad5df0
|
we don't need two event handler since now the generic security manager implements the interface
|
2018-01-30 17:01:30 -06:00 |
paul-szczepanek-arm
|
e686eec048
|
missing implementation for whitelist from bond table and more doxygen
|
2018-01-30 16:49:35 -06:00 |
paul-szczepanek-arm
|
faf134ae60
|
move helper funcitons under their own heading
|
2018-01-29 17:16:47 -06:00 |
paul-szczepanek-arm
|
9786244386
|
removed redundant const
|
2018-01-29 16:00:53 -06:00 |
paul-szczepanek-arm
|
d0c4186b9e
|
moved fucntion impl to match position in header
|
2018-01-29 21:20:15 +00:00 |
paul-szczepanek-arm
|
eb899bc798
|
split identity away from meta data and csrk, moved privacy feature from db to security manager
|
2018-01-29 21:10:08 +00:00 |
paul-szczepanek-arm
|
647aa1eebe
|
split security manager into a header and moved types to common types
plus a bit of extra doxygen comments
|
2018-01-29 17:57:00 +00:00 |
paul-szczepanek-arm
|
1cc5312d1e
|
octet type for keys
|
2018-01-24 10:22:53 +00:00 |
paul-szczepanek-arm
|
38f8a5b8d5
|
separate live state from stored state in entry
|
2018-01-23 17:01:44 +00:00 |
paul-szczepanek-arm
|
8ef3311be0
|
naive memory implementation for verification purposes
|
2018-01-23 16:01:54 +00:00 |
paul-szczepanek-arm
|
c476fceba3
|
correct naming for private members
|
2018-01-23 15:36:57 +00:00 |
paul-szczepanek-arm
|
92965baaa8
|
removed redundant mitm field
|
2018-01-23 12:27:03 +00:00 |
paul-szczepanek-arm
|
56ea4202d7
|
read mitm of the csrk key not pairing
|
2018-01-23 12:21:32 +00:00 |
paul-szczepanek-arm
|
bc1e809ca3
|
keeping state of connection, storing mitm quality of keys
|
2018-01-23 12:20:12 +00:00 |
paul-szczepanek-arm
|
f1044fe2b6
|
internal function naming
|
2018-01-23 11:25:28 +00:00 |
paul-szczepanek-arm
|
4aa7158c4b
|
temporary code for use during verification before we integrate with gap
|
2018-01-23 10:47:16 +00:00 |
paul-szczepanek-arm
|
10b5e648fd
|
slave request handling
|
2018-01-22 21:01:05 +00:00 |
paul-szczepanek-arm
|
8b84b93b2c
|
fix to apply defaults for pairing response
|
2018-01-22 17:32:13 +00:00 |
paul-szczepanek-arm
|
2b7db78d7b
|
pairing through a single function to keep settings
|
2018-01-22 17:27:01 +00:00 |
paul-szczepanek-arm
|
b4e85b3d06
|
moved db into its own file
|
2018-01-22 16:50:15 +00:00 |
paul-szczepanek-arm
|
2d8451f770
|
block legacy pairing when requested
|
2018-01-22 16:39:41 +00:00 |
paul-szczepanek-arm
|
305975b15a
|
hint role reversal, set the correct ltk keys
|
2018-01-22 16:21:30 +00:00 |
paul-szczepanek-arm
|
69aac8abee
|
const fix
|
2018-01-22 14:55:49 +00:00 |
paul-szczepanek-arm
|
2ae05ea6aa
|
enabling signing
|
2018-01-22 14:54:17 +00:00 |
paul-szczepanek-arm
|
1208dc7c34
|
readability
|
2018-01-22 14:37:34 +00:00 |
paul-szczepanek-arm
|
533f6a464a
|
restructure cases to avoid warnings
|
2018-01-22 14:35:02 +00:00 |
paul-szczepanek-arm
|
4c56d4c90b
|
returning ref to array for csrk
|
2018-01-22 14:30:22 +00:00 |
paul-szczepanek-arm
|
cba92fe82c
|
db changes to suport peer and local keys
|
2018-01-22 14:11:22 +00:00 |
paul-szczepanek-arm
|
d1c29faaa8
|
added slave security request
|
2018-01-22 11:49:42 +00:00 |
paul-szczepanek-arm
|
3300395468
|
missing init, removed redeclaration
|
2018-01-22 09:57:35 +00:00 |
paul-szczepanek-arm
|
d880f6238d
|
encryption needs ltk rand and ediv
|
2018-01-21 22:57:05 +00:00 |
paul-szczepanek-arm
|
e301f7a1c3
|
removed redundant checks
|
2018-01-21 21:43:02 +00:00 |
paul-szczepanek-arm
|
9be7dbef78
|
mitm quality added
|
2018-01-21 19:54:41 +00:00 |
paul-szczepanek-arm
|
0ef6740fc3
|
line wrap
|
2018-01-21 19:41:18 +00:00 |
paul-szczepanek-arm
|
e2a4c08d1f
|
set link security and set link ecryption added
|
2018-01-21 19:38:36 +00:00 |
paul-szczepanek-arm
|
4820d64b9a
|
moved signing to matching positin in file
|
2018-01-21 18:47:06 +00:00 |
paul-szczepanek-arm
|
b20a49f7a3
|
only one key distribution settings
|
2018-01-21 18:45:31 +00:00 |
paul-szczepanek-arm
|
7f90c7c889
|
signing enabling
|
2018-01-21 18:26:35 +00:00 |
paul-szczepanek-arm
|
467b36eaaf
|
get link security no longer needed in generic
|
2018-01-19 17:57:55 +00:00 |
paul-szczepanek-arm
|
f18af9f54d
|
retrieving signing key
|
2018-01-19 17:55:53 +00:00 |
paul-szczepanek-arm
|
ad8dd5fb2c
|
fix wrap
|
2018-01-19 16:53:10 +00:00 |
paul-szczepanek-arm
|
0367cebaa2
|
vincent style wrapping
|
2018-01-19 16:52:17 +00:00 |
paul-szczepanek-arm
|
cb660985a2
|
get rid of all the virtual warnings and fix enum types
|
2018-01-19 16:41:18 +00:00 |
paul-szczepanek-arm
|
e100f7c01f
|
returning csrk key, init distribution list
|
2018-01-19 16:20:37 +00:00 |
paul-szczepanek-arm
|
3074d12ff1
|
security mode split into encryption and signing key
|
2018-01-19 15:56:18 +00:00 |
paul-szczepanek-arm
|
ebe2439ff7
|
move deprecated funcs down, add replacement for encryption status
|
2018-01-19 14:58:07 +00:00 |
paul-szczepanek-arm
|
49e1fc3932
|
moving pairing to its own group to match the other layers
|
2018-01-19 14:24:28 +00:00 |
Vincent Coubard
|
888a050381
|
BLE SM: Slight API adjustements and docs
|
2018-01-19 12:22:51 +00:00 |
paul-szczepanek-arm
|
5fcf2a6cfb
|
Merge branch 'palsm' of https://github.com/paul-szczepanek-arm/mbed-os into palsm
|
2018-01-19 11:40:29 +00:00 |
paul-szczepanek-arm
|
9e3797cb3c
|
timeout pal funcs combined into single result on api side
|
2018-01-19 11:38:42 +00:00 |
Vincent Coubard
|
44a366d103
|
BLE SM: Fix compilation errors
|
2018-01-19 11:30:27 +00:00 |