mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
6554433fc2
require top-quality entropy. We don't want to waste system enropy
generating challenges (which simply need to be unpredictable, not
secret) or when generating UUIDs.
Rework generate_random_buffer() to use /dev/urandom less often, only
to seed the existing RC4 based PRNG. (With an exception to ensure we
don't waste this setup cost for very small entropy requests).
Perhaps we should be using heimdal's code for this instead?
This should drasticly reduce our entropy use, particularly in the
build farm (automated Samba build on hosts without much other source
of entropy).
Andrew Bartlett
(This used to be commit
|
||
---|---|---|
.. | ||
credentials | ||
gensec | ||
kerberos | ||
ntlmssp | ||
auth_anonymous.c | ||
auth_developer.c | ||
auth_sam_reply.c | ||
auth_sam.c | ||
auth_server.c | ||
auth_simple.c | ||
auth_unix.c | ||
auth_util.c | ||
auth_winbind.c | ||
auth.c | ||
auth.h | ||
config.m4 | ||
config.mk | ||
ntlm_check.c | ||
pam_errors.c | ||
sam.c |