SmartSnippets DA1459x SDK
sdk
bsp
util
include
chacha20.h
Go to the documentation of this file.
1
45
#ifndef CHACHA20_H_
46
#define CHACHA20_H_
47
48
#if dg_configUSE_SYS_DRBG
49
50
#if dg_configUSE_CHACHA20_RAND
51
52
#include <stdint.h>
53
62
void
csprng_seed
(
const
uint8_t key[16]);
63
71
uint32_t
csprng_get_next_uint32
(
void
);
72
73
#endif
/* dg_configUSE_CHACHA20_RAND */
74
75
#endif
/* dg_configUSE_SYS_DRBG */
76
77
#endif
/* CHACHA20_H_ */
78
csprng_get_next_uint32
uint32_t csprng_get_next_uint32(void)
Get random number.
csprng_seed
void csprng_seed(const uint8_t key[16])
Set its argument as the seed for random numbers to be returned by csprng_get_next_uint32().
Generated on Tue Oct 24 2023 10:38:23 for SmartSnippets DA1459x SDK by
1.8.16