#include "coap3/coap_internal.h"
#include <stdlib.h>
Go to the source code of this file.
|
| static int | coap_prng_default (void *buf, size_t len) |
| |
| void | coap_set_prng (coap_rand_func_t rng) |
| | Replaces the current random number generation function with the default function rng.
|
| |
| void | coap_prng_init (unsigned int seed) |
| | Seeds the default random number generation function with the given seed.
|
| |
| int | coap_prng (void *buf, size_t len) |
| | Fills buf with len random bytes using the default pseudo random number generator.
|
| |
◆ coap_prng_default()
| static int coap_prng_default |
( |
void * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
◆ rand_func