Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
cascoda_rand.c File Reference
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include "cascoda-util/cascoda_rand.h"
#include "ca821x_api.h"
Include dependency graph for cascoda_rand.c:

Macros

#define MIN(a, b)   (((a) < (b)) ? (a) : (b))
 

Functions

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...
 
void RAND_GetBytes (uint16_t aNumBytes, void *aBytesOut)
 Get random data for non-cryptographic purposes. More...
 

Macro Definition Documentation

◆ MIN

#define MIN (   a,
 
)    (((a) < (b)) ? (a) : (b))