Gilles Peskine
8b96cad204
SE drivers: implement persistent storage
...
Store the persistent data of secure element drivers.
This is fully implemented, but not at all tested.
2019-07-23 17:38:08 +02:00
Gilles Peskine
354f7671f4
SE keys: support destroy
...
When destroying a key in a secure element, call the driver's destroy
method and update the driver's persistent data in storage.
2019-07-12 23:46:38 +02:00
Gilles Peskine
cbaff467ef
SE keys: allocate a slot before creating the key
2019-07-12 23:46:04 +02:00
Gilles Peskine
5243a202c3
Driver context manipulation functions
...
Create the driver context when registering the driver.
Implement some helper functions to access driver information.
2019-07-12 23:42:20 +02:00
Gilles Peskine
f989dbe6d8
SE driver lookup functions
...
Expose the type of an entry in the SE driver table as an opaque type
to other library modules. Soon, driver table entries will have state,
and callers will need to be able to access this state through
functions using this opaque type.
Provide functions to look up a driver by its lifetime and to retrieve
the method table from an entry.
2019-07-12 11:47:50 +02:00
Gilles Peskine
d089021128
Unregister drivers on library deinitialization
2019-06-24 19:55:48 +02:00
Gilles Peskine
a899a72fd0
Implement the secure element driver registration function
2019-06-24 19:55:44 +02:00