Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
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. More...
 
void RAND_Seed (uint64_t aSeed)
 Seed the non-cryptographic Pseudo Random Number Generator. More...
 
void RAND_SeedFromDev (struct ca821x_dev *pDeviceRef)
 Seed the non-cryptographic Pseudo Random Number Generator using entropy from the ca821x. More...
 
ca_error RAND_GetCryptoBytes (uint16_t aNumBytes, void *aBytesOut)
 Get random data for cryptographic purposes. More...
 
void RAND_AddRadioEntropySource (void)
 Add the radio-based RNG as an entropy source used by mbedTLS. More...
 

Detailed Description

Random Number Generation functions.