summaryrefslogtreecommitdiff
path: root/source4/selftest/test_posix.sh
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-10-16 01:27:15 +0200
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:43:03 +0100
commit6554433fc227baab93398576db703c91db1541f2 (patch)
tree13437d4d9377c247afa30e4cb946b11a7c98c01c /source4/selftest/test_posix.sh
parent1eaefd15cb7ad20165ea4c754535986b642e24f0 (diff)
downloadsamba-6554433fc227baab93398576db703c91db1541f2.tar.gz
samba-6554433fc227baab93398576db703c91db1541f2.tar.bz2
samba-6554433fc227baab93398576db703c91db1541f2.zip
r25660: Add a new interface 'generate_secret_buffer()', to be used when we
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 6a5630d37191542022f02fae519227b7829ef620)
Diffstat (limited to 'source4/selftest/test_posix.sh')
0 files changed, 0 insertions, 0 deletions