Lines Matching defs:len
30 lwip_prng_impl(unsigned char *buf, size_t len) {
32 while (len > sizeof(v)) {
34 len -= sizeof(v);
39 memcpy(buf, &v, len);
50 * fill @p len bytes of random data into the buffer starting at @p
53 typedef int (*coap_rand_func_t)(void *out, size_t len);
73 * Fills @p buf with @p len random bytes using the default pseudo
75 * coap_set_prng(). This function returns 1 when @p len random bytes
79 * @param len The number of random bytes to write into @p buf.
83 int coap_prng(void *buf, size_t len);