30#ifndef PSA_CRYPTO_ENTROPY_DRIVER_H
31#define PSA_CRYPTO_ENTROPY_DRIVER_H
84 uint32_t *p_received_entropy_bits);
Definitions for all PSA crypto drivers.
psa_status_t(* psa_drv_entropy_get_bits_t)(void *p_context, uint8_t *p_buffer, uint32_t buffer_size, uint32_t *p_received_entropy_bits)
Get a specified number of bits from the entropy source.
psa_status_t(* psa_drv_entropy_init_t)(void *p_context)
Initialize an entropy driver.
int32_t psa_status_t
Function return status.
A struct containing all of the function pointers needed to interface to an entropy source.
const size_t context_size
The driver-specific size of the entropy context.
psa_drv_entropy_get_bits_t p_get_bits
Function that performs the get_bits operation for the entropy source.
psa_drv_entropy_init_t p_init
Function that performs initialization for the entropy source.