Bouffalo SDK  1.0
Bouffalolab Software Development Kit
bflb_sec_trng.h File Reference
#include "bflb_core.h"
Include dependency graph for bflb_sec_trng.h:

Go to the source code of this file.

Functions

int bflb_trng_read (struct bflb_device_s *dev, uint8_t data[32])
 Read trng data. More...
 
int bflb_trng_readlen (uint8_t *data, uint32_t len)
 Read trng data with custom length. More...
 
long random (void)
 Get trng data. More...
 
void bflb_group0_request_trng_access (struct bflb_device_s *dev)
 Enable trng in group0. More...
 
void bflb_group0_release_trng_access (struct bflb_device_s *dev)
 Disable trng in group0. More...