Unified · Split
| @@ -24,7 +24,12 @@ · 23 unmodified lines | ||
| 24 | 24 | #include <stdint.h> |
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | − * Get a seed to use in conjunction with random functions. | |
| 27 | + * Get random data. | |
| 28 | + * | |
| 29 | + * This function can be called repeatedly to generate more random bits | |
| 30 | + * as needed. It is generally quite slow, and usually used to seed a | |
| 31 | + * PRNG. As it uses /dev/urandom and /dev/random, the quality of the | |
| 32 | + * returned random data depends on the platform. | |
| 28 | 33 | */ |
| 29 | 34 | uint32_t av_get_random_seed(void); |
| 30 | 35 | |