This file is indexed.

/usr/include/dovecot/randgen.h is in dovecot-dev 1:2.2.9-1ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#ifndef RANDGEN_H
#define RANDGEN_H

/* Fill given buffer with semi-strong randomness, usually from /dev/urandom. */
void random_fill(void *buf, size_t size);
/* Fill given buffer with weak randomness, ie. with rand(). This is better if
   no real randomness is required, as reading from /dev/urandom usually also
   consumes /dev/random entropy, which may disturb other processes. */
void random_fill_weak(void *buf, size_t size);

/* may be called multiple times */
void random_init(void);
void random_deinit(void);

#endif