Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
Loading...
Searching...
No Matches
cascoda_rand.h File Reference

Random Number Generation functions. More...

#include <stddef.h>
#include <stdint.h>
#include "ca821x_api.h"
#include "ca821x_error.h"
Include dependency graph for cascoda_rand.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void RAND_GetBytes (uint16_t aNumBytes, void *aBytesOut)
 Get random data for non-cryptographic purposes.
 
void RAND_Seed (uint64_t aSeed)
 Seed the non-cryptographic Pseudo Random Number Generator.
 
void RAND_SeedFromDev (struct ca821x_dev *pDeviceRef)
 Seed the non-cryptographic Pseudo Random Number Generator using entropy from the ca821x.
 
ca_error RAND_GetCryptoBytes (uint16_t aNumBytes, void *aBytesOut)
 Get random data for cryptographic purposes.
 
void RAND_AddRadioEntropySource (void)
 Add the radio-based RNG as an entropy source used by mbedTLS.
 

Detailed Description

Random Number Generation functions.