Commit Graph

13 Commits (07cd9a10c7ea47f99ce22bfae518d0031c248022)

Author SHA1 Message Date
Yossi Levy 492e3ebd96 Fixing a bug in FileSystemStore to get the folder path from kv_config in FILESYSTEM and default configuration 2019-01-25 14:29:59 +00:00
offirko 57e1b46df4 DirectAccess DeviceKey added support for default storage type 2019-01-25 14:29:59 +00:00
David Saada 5b281d7301 Remove kvstore's mbed_lib.json file (not relevant any more)
In addition, use the NOT_SUPPORTED directive to skip the tests.
2019-01-14 13:06:14 +00:00
Amir Cohen 7bb8345b65 Kvstore tests api change to run on K64F only
Change KVStore API tests to run only on K64F, these tests check the KVStore functionality without actually testing the board's storage,
Thus they should produce the same results for each device they run on.
K64F was selected for no special technical reason but only because of it being available and convenient to use.
2019-01-14 13:06:14 +00:00
Yossi Levy 16a4e34d2c The direct_access_devicekey test should not run if there is no component flashiap block device in the target 2019-01-14 13:06:14 +00:00
offirko a1788e929d Added utility function to help locate expected internal flash tdbstore position. (Supporting FILESYSTEM and TDB_EXTERNAL configuration only) 2019-01-14 13:06:14 +00:00
offirko 879d234b72 Updated test to consider tdb_internal non default configuration as well 2019-01-14 13:06:14 +00:00
offirko 7136c78bff Adding low code size tool for direct access to Devicekey. This enables application with code size restrictions to access devicekey directly based on address in internal flash without kvconfig overhead 2019-01-14 13:06:14 +00:00
David Saada d85fda724e TDBStore: Perform garbage collection on failed writes
Partial writes may turn storage unusable. GC clears this scenario.
2019-01-14 13:06:14 +00:00
Amir Cohen b261162c9b Remove dead code 2018-12-27 22:26:00 -06:00
Amir Cohen 79103d25fd Improve tests by reducing kvstore reset occurrences 2018-12-27 22:26:00 -06:00
David Saada 04377fa88e Fix a few SecureStore issues (following preliminary security review)
- Remove require integrity flag (authentication) - always authenticate
- Use RBP KV to store CMAC also in write once case
- Allow removing a key if reading it failed on RBP authentication error
- Disable SecureStore if user disables MBED TLS AES CTR or CMAC
2018-12-11 16:14:50 -06:00
David Saada e9c25e23a5 KVStore & derived classes: design docs, implementation & configuration
Implement the following:
KVStore base class
TDBStore class
FileSystemStore class
SecureStore class
Global APIs
Configuration framework
Design documentation
2018-11-24 17:43:35 +02:00