#include <lib/pkcs11/pkcs11_init.h>
Data Fields | |
hal_mutex_t | dev_lock |
pkcs11_dev_res | resources [PKCS11_MAX_SLOTS_ALLOWED] |
Device state tracker structure
hal_mutex_t pkcs11_dev_state::dev_lock |
Lock to protect concurent access to the device
pkcs11_dev_res pkcs11_dev_state::resources[PKCS11_MAX_SLOTS_ALLOWED] |
Track the usage of device resources