libcoap  4.1.1
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
Macros | Functions
prng.h File Reference

Pseudo Random Numbers. More...

#include "config.h"
#include <stdlib.h>

Go to the source code of this file.

Macros

#define prng(Buf, Length)
 Fills Buf with Length bytes of random data. More...
 
#define prng_init(Value)
 Called to set the PRNG seed. More...
 

Functions

static int coap_prng_impl (unsigned char *buf, size_t len)
 Fills buf with len random bytes. More...
 

Detailed Description

Pseudo Random Numbers.

Definition in file prng.h.