Software APIs
Data Fields
csrng_app_cmd Struct Reference

CSRNG application interface command header parameters. More...

#include <sw/device/lib/dif/dif_csrng_shared.h>

Data Fields

csrng_app_cmd_id_t id
 Application command.
 
dif_csrng_entropy_src_toggle_t entropy_src_enable
 Entropy source enable. More...
 
const dif_csrng_seed_material_tseed_material
 Seed material. More...
 
uint32_t generate_len
 Generate length. More...
 

Detailed Description

CSRNG application interface command header parameters.

Definition at line 42 of file dif_csrng_shared.h.

Field Documentation

◆ entropy_src_enable

dif_csrng_entropy_src_toggle_t csrng_app_cmd::entropy_src_enable

Entropy source enable.

Mapped to flag0 in the hardware command interface.

Definition at line 52 of file dif_csrng_shared.h.

◆ generate_len

uint32_t csrng_app_cmd::generate_len

Generate length.

Specified as number of 128bit blocks.

Definition at line 61 of file dif_csrng_shared.h.

◆ id

csrng_app_cmd_id_t csrng_app_cmd::id

Application command.

Definition at line 46 of file dif_csrng_shared.h.

◆ seed_material

const dif_csrng_seed_material_t* csrng_app_cmd::seed_material

Seed material.

Only used in kCsrngAppCmdInstantiate, kCsrngAppCmdReseed and kCsrngAppCmdUpdate commands.

Definition at line 57 of file dif_csrng_shared.h.