ox_rng.h | Developers

ox_rng.h

Back to the files list

Random number generation syscall. More...

Functions

SYSCALL void cx_trng_get_random_data (uint8_t *buf, size_t size)
 Gets random data from the True Random Number Generation. More...

Detailed Description

Random number generation syscall.

This file contains the function for getting random data from the TRNG.

Function Documentation

cx_trng_get_random_data()

SYSCALL void cx_trng_get_random_data ( uint8_t *  buf,
size_t  size 
)

Gets random data from the True Random Number Generation.

Parameters
[out]bufBuffer where to store the random data.
[in]sizeSize of the random data in bytes.

Back to the files list


Did you find this page helpful?


How would you improve this page for developers?



Getting Started
Theme Features
Customization

Embedded Apps