libcoap  4.0.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator 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.
#define prng_init(Value)
 Called to set the PRNG seed.

Functions

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

Detailed Description

Pseudo Random Numbers.

Definition in file prng.h.