paul-szczepanek-arm
|
ca72f5a289
|
merged adv param types
|
2018-11-26 10:21:32 +00:00 |
Vincent Coubard
|
0c1e01952b
|
Compilation fixes
|
2018-11-26 10:21:32 +00:00 |
paul-szczepanek-arm
|
8794c0b43b
|
make packetisation common
|
2018-11-26 10:21:32 +00:00 |
paul-szczepanek-arm
|
87482b5530
|
compilation errors fixed
|
2018-11-26 10:21:32 +00:00 |
paul-szczepanek-arm
|
a5e1bdb97e
|
missing parens
|
2018-11-26 10:21:32 +00:00 |
paul-szczepanek-arm
|
26f40e07f7
|
packetisation
|
2018-11-26 10:21:31 +00:00 |
paul-szczepanek-arm
|
56146a44fb
|
legacy support
|
2018-11-26 10:21:31 +00:00 |
paul-szczepanek-arm
|
6ca5041f53
|
generic advertising
|
2018-11-26 10:21:31 +00:00 |
paul-szczepanek-arm
|
a2c9781682
|
fix whitelist generation (set correct address type)
|
2018-09-05 16:46:01 +01:00 |
paul-szczepanek-arm
|
baaebb47dc
|
fix typo in preferred
|
2018-08-29 20:21:04 +01:00 |
paul-szczepanek-arm
|
8090e7acd8
|
phy API implementation for cordio
phy set types added, nordic implementation updated
|
2018-08-29 20:21:04 +01:00 |
paul-szczepanek-arm
|
265132c5a8
|
check that flags have the IRK stored before retrieving it
|
2018-06-05 15:15:19 +01:00 |
paul-szczepanek-arm
|
3a2dc69f11
|
fix not updating size of array
|
2018-06-01 15:57:22 +01:00 |
Paul Szczepanek
|
f4b7f32793
|
Merge pull request #49 from pan-/fix-privacy-backward-compatibility
Fix privacy backward compatibility
|
2018-05-23 14:20:49 +01:00 |
Vincent Coubard
|
bdad5d6496
|
BLE Generic: Handle peer address type backward compatibility.
|
2018-05-21 13:29:06 +01:00 |
Vincent Coubard
|
28766bd873
|
BLE: Do not pass peer resolvable address in connection event handler
|
2018-05-21 10:17:44 +01:00 |
paul-szczepanek-arm
|
9da64e529e
|
refactor into separate functions for readability and correctness of pal matching db
|
2018-05-18 13:46:55 +01:00 |
paul-szczepanek-arm
|
439d002f7d
|
new API call to change db at runtime
|
2018-05-18 12:34:52 +01:00 |
Vincent Coubard
|
d361960aa3
|
BLE: Use peer_address_type_t instead of the legacy address in security manager.
|
2018-05-18 10:04:27 +01:00 |
Donatien Garnier
|
3f7a7a4213
|
Merge
|
2018-05-16 12:44:36 +01:00 |
paul-szczepanek-arm
|
1ae13bc80f
|
don't reset db on security manager reset as the docs require
|
2018-05-16 11:46:36 +01:00 |
paul-szczepanek-arm
|
bcca75973e
|
reseting the security db
|
2018-05-16 11:23:17 +01:00 |
Donatien Garnier
|
288c3952d8
|
Address Paul's comments
|
2018-05-15 18:37:50 +01:00 |
paul-szczepanek-arm
|
5c598688e4
|
templates for reading and writing to avoid repetition
|
2018-05-15 16:35:54 +01:00 |
paul-szczepanek-arm
|
49db7e2a2a
|
restoring db file blanks file if set to not restore, allow reusing the db
|
2018-05-15 11:46:39 +01:00 |
Donatien Garnier
|
472d3de849
|
Give GenericGap access to the Security Manager's PAL
|
2018-05-14 13:36:02 +01:00 |
Donatien Garnier
|
a3d9d6cebd
|
Business logic for handling non-resolvable private addresses
|
2018-05-14 13:26:39 +01:00 |
paul-szczepanek-arm
|
579cb5e222
|
avoid setting flags twice
|
2018-05-14 10:26:44 +01:00 |
paul-szczepanek-arm
|
f4f3a3c697
|
store ltk and csrk but not irk sent status
and missing asserts
|
2018-05-14 09:52:49 +01:00 |
paul-szczepanek-arm
|
a7f8d54761
|
more doxygen
|
2018-05-13 23:54:44 +01:00 |
paul-szczepanek-arm
|
d3524e2407
|
doxygen
|
2018-05-13 23:49:44 +01:00 |
paul-szczepanek-arm
|
23c6a69d66
|
key dist flags only in db now and not in control block of sec manager
|
2018-05-13 23:26:34 +01:00 |
paul-szczepanek-arm
|
ab117737fa
|
write back counter, sync entry by hand;e
|
2018-05-13 22:55:47 +01:00 |
Donatien Garnier
|
6a2ffaeac0
|
Update own address type generation in GenericGap
|
2018-05-13 22:16:08 +01:00 |
Donatien Garnier
|
4c5e2a8094
|
Added method to update resolution settings in GenericGap
|
2018-05-13 19:14:56 +01:00 |
Donatien Garnier
|
7b4a813aca
|
Added stubs in GenericGap for privacy configuration methods
|
2018-05-13 18:52:54 +01:00 |
Donatien Garnier
|
e9ad148db0
|
Added privacy-related methods overrides in GenericGap
|
2018-05-13 17:57:27 +01:00 |
paul-szczepanek-arm
|
3af4d0b50f
|
get identity list function argument needs to have its own memory allocated
|
2018-05-11 19:52:12 +01:00 |
paul-szczepanek-arm
|
a63f38e767
|
moved logic to security db and left storage in memory and file dbs
db created at init now
|
2018-05-11 19:41:33 +01:00 |
paul-szczepanek-arm
|
678d494c5a
|
init _db pointer
|
2018-05-11 10:20:04 +01:00 |
paul-szczepanek-arm
|
afa4bdcf1a
|
pull common logic into secure db
|
2018-05-11 10:19:48 +01:00 |
paul-szczepanek-arm
|
473482d204
|
move securitydb into generic
|
2018-05-10 11:08:31 +01:00 |
Vincent Coubard
|
cbb33ea938
|
BLE: Add comments to GenericSecurityManager::on_identity_list_retrieved.
|
2018-04-20 10:22:56 +01:00 |
Vincent Coubard
|
951a6be4c8
|
BLE: retrieve and fill resolving list at GenericSecurityManager startup.
|
2018-04-17 15:58:21 +01:00 |
Vincent Coubard
|
77b1903634
|
BLE: Add bonded device to resolving list at the end of bonding.
|
2018-04-17 14:16:35 +01:00 |
paul-szczepanek-arm
|
deeb0ea7e0
|
redundant store for sign counter
|
2018-04-09 15:11:26 +01:00 |
paul-szczepanek-arm
|
55d3423a5e
|
typedef uint32_t
|
2018-04-09 13:35:17 +01:00 |
paul-szczepanek-arm
|
57149b69e4
|
monitor for signing events and set local counter
|
2018-04-04 19:24:00 +01:00 |
paul-szczepanek-arm
|
539a11ee31
|
sign counter added
|
2018-04-04 15:59:10 +01:00 |
paul-szczepanek-arm
|
cbf80e9da5
|
typos, style and other review fixes
|
2018-04-03 15:41:43 +01:00 |
paul-szczepanek-arm
|
f5fee68f99
|
fixed naming for sig failure count
|
2018-04-03 15:41:43 +01:00 |
paul-szczepanek-arm
|
9283413c4c
|
count failures, trigger reparing when verification fails
|
2018-04-03 15:41:43 +01:00 |
paul-szczepanek-arm
|
8d966dbe8c
|
invalid mic event
|
2018-04-03 15:41:43 +01:00 |
paul-szczepanek-arm
|
5ae9cc3b53
|
set peer csrk on pal
|
2018-04-03 15:41:43 +01:00 |
paul-szczepanek-arm
|
aa90f0df65
|
rely solely on random vlalue to know if already calculating
simplify by setting a fake random value at the start so that first run is the same as subsequent runs
|
2018-03-27 12:25:50 +01:00 |
paul-szczepanek-arm
|
98efb9da06
|
generate oob at will and without passing in connection handle
|
2018-03-23 18:31:27 +00:00 |
paul-szczepanek-arm
|
909f9513cf
|
allow preloading legacy oob, generate tk
|
2018-03-22 12:01:34 +00:00 |
paul-szczepanek-arm
|
66867d4dd3
|
oob stored in generic and handed over to pal when requested
|
2018-03-16 14:48:04 +00:00 |
paul-szczepanek-arm
|
b8ba99a184
|
handling OOB data generation and verification now pushed down to PAL level
|
2018-03-05 11:29:13 +00:00 |
Donatien Garnier
|
a3383c139b
|
Addressed Vincent's comments
|
2018-03-01 20:32:37 +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
|
96de1c2752
|
header guards renamed
|
2018-02-27 17:25:57 +00:00 |
paul-szczepanek-arm
|
e186985b26
|
addressing PR review: added documentation, moved code and renamed vars
|
2018-02-27 17:22:13 +00:00 |
Vincent Coubard
|
0b0d614787
|
Merge branch 'master' of https://github.com/paul-szczepanek-arm/mbed-os into pr-sm
|
2018-02-27 11:54:32 +00:00 |
paul-szczepanek-arm
|
62e9011525
|
public key renaned (added coord), also contains missing commit for oob_rand rename
|
2018-02-27 11:50:04 +00:00 |
Vincent Coubard
|
361ae8c7a3
|
BLE: fix references to oob_rand_t.
|
2018-02-27 11:48:21 +00:00 |
Vincent Coubard
|
d586f7f9d2
|
BLE: update SecurityDB comments.
|
2018-02-23 13:54:41 +00:00 |
Vincent Coubard
|
1ded0d7198
|
BLE: Split security manager control block from the secure DB.
|
2018-02-23 11:15:08 +00:00 |
Vincent Coubard
|
4ce0ed9c0c
|
BLE: Remove dependency of GenericSecurityManager towards gap.
|
2018-02-19 17:46:41 +00:00 |
Vincent Coubard
|
28f2f46974
|
BLE: Hide event monitor inside pal.
|
2018-02-19 17:41:18 +00:00 |
paul-szczepanek-arm
|
dd7bc50e4b
|
Merge branch 'master' into palsm
|
2018-02-19 16:39:10 +00:00 |
paul-szczepanek-arm
|
ecacbda507
|
compiler errors fixed after the merge
|
2018-02-19 16:28:01 +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
|
15cfcba16a
|
BLE: Move security DB into PAL.
|
2018-02-19 14:43:56 +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
|
55045010d6
|
fixed all the compilation errors and recent pal changes
|
2018-02-13 11:01:30 +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
|
2c1fcc7235
|
style
|
2018-02-12 10:27:27 +00:00 |
paul-szczepanek-arm
|
90c30c9022
|
typo
|
2018-02-11 18:19:56 +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
|
e91ab466ea
|
doxygen added
|
2018-02-09 16:39:01 +00:00 |
paul-szczepanek-arm
|
18062fc9de
|
GAP integration for connection and disconnection events
|
2018-02-09 16:35:16 +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
|
947c6ed239
|
implement oob data store in db
|
2018-02-09 11:11:35 +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
|
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
|
8cc36650df
|
added OOB to interface, moved address type to common
|
2018-02-06 22:59:21 +00:00 |
paul-szczepanek-arm
|
b6be4df162
|
doxygen
|
2018-02-06 22:01:54 +00:00 |
paul-szczepanek-arm
|
1446142b60
|
ltk for secure connections
|
2018-02-06 21:50:57 +00:00 |
paul-szczepanek-arm
|
3236eada5e
|
multiple ltks single irk and csrk
|
2018-02-06 21:16:22 +00:00 |
paul-szczepanek-arm
|
7aa9ae7888
|
fix typos
|
2018-02-06 15:39:31 +00:00 |