![]() |
no-OS
|
Implementation of the TRNG Interface. More...
Functions | |
| int | no_os_trng_init (struct no_os_trng_desc **desc, const struct no_os_trng_init_param *param) |
| Initialize the TRNG. | |
| int | no_os_trng_remove (struct no_os_trng_desc *desc) |
| Free the resources allocated by no_os_trng_init(). | |
| int | no_os_trng_fill_buffer (struct no_os_trng_desc *desc, uint8_t *buff, uint32_t len) |
| Fill buffer with rng data. | |
Implementation of the TRNG Interface.
Copyright 2023(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| int no_os_trng_fill_buffer | ( | struct no_os_trng_desc * | desc, |
| uint8_t * | buff, | ||
| uint32_t | len ) |
Fill buffer with rng data.
| desc | - The TRNG descriptor. |
| buff | - Buffer to be filled |
| len | - Size of the buffer |
| int no_os_trng_init | ( | struct no_os_trng_desc ** | desc, |
| const struct no_os_trng_init_param * | param ) |
Initialize the TRNG.
| desc | - The TRNG descriptor. |
| param | - The structure that contains the TRNG parameters. |
| int no_os_trng_remove | ( | struct no_os_trng_desc * | desc | ) |
Free the resources allocated by no_os_trng_init().
| desc | - The TRNG descriptor. |