1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 20:45:17 -07:00

Suggest randombytes_stir()

This commit is contained in:
Frank Denis 2015-06-01 10:22:01 +02:00
parent e326ef9030
commit 315029188e

View File

@ -4,8 +4,9 @@
/*
* THREAD SAFETY: randombytes_salsa20_random*() functions are
* fork()-safe but not thread-safe.
* Always wrap them in a mutex if you need thread safety.
* not thread-safe.
* Always wrap them in a mutex if you need thread safety,
* and call randombytes_stir() after fork()ing.
*/
#include <stddef.h>