Mbed OS Reference
Loading...
Searching...
No Matches

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...
 

Detailed Description

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 95 of file crypto_entropy_driver.h.

Field Documentation

◆ context_size

const size_t context_size

The driver-specific size of the entropy context.

Definition at line 97 of file crypto_entropy_driver.h.

◆ p_init

Function that performs initialization for the entropy source.

Definition at line 99 of file crypto_entropy_driver.h.

◆ p_get_bits

Function that performs the get_bits operation for the entropy source.

Definition at line 101 of file crypto_entropy_driver.h.