41 #ifndef CASCODA_RAND_H
42 #define CASCODA_RAND_H
The main ca821x-api include file.
Global error declarations for use across the Cascoda SDK.
void RAND_GetBytes(uint16_t aNumBytes, void *aBytesOut)
Get random data for non-cryptographic purposes.
Definition: cascoda_rand.c:84
void RAND_SeedFromDev(struct ca821x_dev *pDeviceRef)
Seed the non-cryptographic Pseudo Random Number Generator using entropy from the ca821x.
Definition: cascoda_rand.c:79
void RAND_AddRadioEntropySource(void)
Add the radio-based RNG as an entropy source used by mbedTLS.
Definition: cascoda_rand.c:121
ca_error RAND_GetCryptoBytes(uint16_t aNumBytes, void *aBytesOut)
Get random data for cryptographic purposes.
Definition: cascoda_rand.c:109
void RAND_Seed(uint64_t aSeed)
Seed the non-cryptographic Pseudo Random Number Generator.
Definition: cascoda_rand.c:73
ca_error
Cascoda error type.
Definition: ca821x_error.h:51
CA-821x Device reference struct.
Definition: ca821x_api.h:123