psa_drv_entropy_t Struct Reference

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.

#include <crypto_entropy_driver.h>

Data Fields

const size_t context_size
psa_drv_entropy_init_t p_init
psa_drv_entropy_get_bits_t p_get_bits

Field Documentation

const size_t psa_drv_entropy_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 psa_drv_entropy_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 psa_drv_entropy_t::p_init

Function that performs initialization for the entropy source

Definition at line 98 of file crypto_entropy_driver.h.

The documentation for this struct was generated from the following file:
  • crypto_entropy_driver.h