]> git.ipfire.org Git - thirdparty/shadow.git/commit
Use a more precise name for a CSPRNG API with an interval
authorAlejandro Colomar <alx@kernel.org>
Fri, 30 Dec 2022 17:46:22 +0000 (18:46 +0100)
committerSerge Hallyn <serge@hallyn.com>
Sat, 28 Jan 2023 03:48:37 +0000 (21:48 -0600)
commit8f441c9f7a8d1c8019e5b1d843821a456022b525
treee5ec92722984822fbf9425eacb16b0be8e1a5e96
parenta27d5c51f1f34b0c3d965482de400447c072de96
Use a more precise name for a CSPRNG API with an interval

I have plans to split this function in smaller functions that implement
bits of this functionallity, to simplify the implementation.  So, let's
use names that distinguish them.

This one produces a number within an interval, so make that clear.  Also
make clear that the function produces cryptographically-secure numbers.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
libmisc/salt.c