A struct containing all of the function pointers needed to interface to an entropy source. More...
#include <crypto_entropy_driver.h>
Data Fields | |
const size_t | context_size |
The driver-specific size of the entropy context. More... | |
psa_drv_entropy_init_t | p_init |
Function that performs initialization for the entropy source. More... | |
psa_drv_entropy_get_bits_t | p_get_bits |
Function that performs the get_bits operation for the entropy source. More... | |
A struct containing all of the function pointers needed to interface to an entropy source.
PSA Crypto API implementations should populate instances of the table as appropriate upon startup.
If one of the functions is not implemented, it should be set to NULL.
Definition at line 94 of file crypto_entropy_driver.h.
const size_t context_size |
The driver-specific size of the entropy context.
Definition at line 96 of file crypto_entropy_driver.h.
psa_drv_entropy_get_bits_t p_get_bits |
Function that performs the get_bits operation for the entropy source.
Definition at line 100 of file crypto_entropy_driver.h.
psa_drv_entropy_init_t p_init |
Function that performs initialization for the entropy source.
Definition at line 98 of file crypto_entropy_driver.h.