Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
zpal_entropy.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Silicon Laboratories Inc. <https://www.silabs.com/>
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
12#ifndef ZPAL_ENTROPY_H_
13#define ZPAL_ENTROPY_H_
14
15#include <stddef.h>
16#include <stdint.h>
17#include "zpal_status.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
55
67zpal_status_t zpal_get_random_data(uint8_t *data, size_t len);
68
75
81#ifdef __cplusplus
82}
83#endif
84
85#endif /* ZPAL_ENTROPY_H_ */
uint8_t zpal_get_pseudo_random(void)
Returns a pseudo random byte.
zpal_status_t zpal_get_random_data(uint8_t *data, size_t len)
Generate true random array of bytes based on the given length and fill a data buffer....
void zpal_entropy_init(void)
Initialize entropy module.
zpal_status_t
ZPAL statuses to be used by ZPAL APIs.
Definition zpal_status.h:38