Commit Graph

8 Commits (9920e63d98b1a870cb15b067cf22fd42a6a94265)

Author SHA1 Message Date
Cruz Monrreal 06180e89f7
Merge pull request #6642 from yossi2le/yossi-device-key-driver
Device key implementation
2018-05-24 10:06:14 -05:00
David Saada c90182a02c NVStore: add the allocate_key API (instead of set_alloc_key)
Add the allocate_key API. This replaces the previously added set_alloc_key API
(which allocates a key and sets the value at the same time).
Reason for the change: Key allocation will typically be used by other storage
features (like StorageLite), keeping the allocated keys in another location.
Previous API created problems in the case key allocation and value setting
couldn't be done at the same time (for instance, if the set value was
derived from the allocated key, such as hash or CMAC).
2018-05-14 19:00:46 +03:00
Yossi Levy a8febd57a1 Device key implementation 2018-04-11 15:35:00 +03:00
David Saada b7bb29a301 NVStore: key management enhancements
- Define an enum for predefined keys (later filled by internal users of NVStore)
- Add the set_alloc_key API, allocating a free key from the non predefined keys
2018-03-19 12:00:47 +02:00
David Saada f20c54e275 NVStore: add comments in header file for Doxygen formatting sake. 2018-03-14 18:15:13 +02:00
David Saada 9e35f8283e NVStore: Enclose header file with DOXYGEN_ONLY option as well. 2018-03-06 15:35:00 +02:00
Amanda Butler 6ddff638d4
Copy edit nvstore.h
Copy edit for typos and minor spelling nits.
2018-02-28 18:47:17 -06:00
David Saada 2b7766a73b Add NVStore (A.K.A SOTP) feature 2018-02-26 15:57:32 +02:00