summaryrefslogtreecommitdiffhomepage
path: root/random.c
AgeCommit message (Collapse)Author
2013-04-02fix tabsMatt Johnston
2013-04-02Fix segfault when /dev/urandom isn't writableMatt Johnston
2013-03-21Make sure "struct timeval" is initialised on OS X to avoid valgrind warningsMatt Johnston
2013-03-19Include /proc/vmstat as another random sourceMatt Johnston
2013-03-11fix signedness error in prototypeMatt Johnston
2013-02-23add loadavg and entropy_avail as sourcesMatt Johnston
2012-07-19/dev/random blocks on busy servers too.Matt Johnston
2012-06-30Add a few more files in /proc for LinuxMatt Johnston
2012-06-29Improve RNG seeding.Matt Johnston
Try to read from /dev/urandom multiple times, take input from extra sources, and use /dev/random when generating private keys
2011-02-27- Fix DROPBEAR_PRNGD_SOCKET since it doesn't need to call connect()Matt Johnston
any more --HG-- extra : convert_revision : 535f2029a34cba3d86eb8ce104d57c910c89c4a4
2011-02-23Improve capitalisation for all logged stringsMatt Johnston
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
2007-08-16propagate from branch 'au.asn.ucc.matt.dropbear' (head ↵Matt Johnston
8a7db1e2fdc5636abb338adb636babc32f465739) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head d82c25da2f7e4fb6da510d806c64344e80bb270d) --HG-- branch : agent-client extra : convert_revision : 78d02301ae8310efa2639f15da0ea62dea110e4b
2007-07-19Just use /dev/urandom since that's what everyone ends up using anyway.Matt Johnston
Make -u a nop. --HG-- extra : convert_revision : ef0615311b43c8bfe1985df64a4a95ce4ec0d8e6
2007-04-16Add -u option to specify /dev/urandom insteadMatt Johnston
--HG-- extra : convert_revision : 6925cd3fd7727fbc69db9883675aa90f594f58a0
2007-02-16Fix for -pedantic -ansi compilation, change // to /**/, plus some signednessMatt Johnston
and trailing-comma-in-array issues --HG-- extra : convert_revision : c22be8b8f570b48e9662dac32c7b3e7148a42206
2007-02-03Remove extraneous tests in random mpint generation,Matt Johnston
courtesy of Klocwork --HG-- extra : convert_revision : 2b5e1d92fd1ce08361e69155a525fca481e79fe4
2006-06-06propagate from branch 'au.asn.ucc.matt.dropbear' (head ↵Matt Johnston
138a11bc1e2babcd8b1182e6cb2a85d4e9404b11) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 12b2f59db65e7339d340e95ac67d6d9ddb193c2b) --HG-- branch : agent-client extra : convert_revision : d82c25da2f7e4fb6da510d806c64344e80bb270d
2006-03-26A few more fixups, make sure that variable declarations are theMatt Johnston
first thing in a function --HG-- extra : convert_revision : 5e475ab869513f9ce5baff42838a656f99300487
2006-03-22minor cleanups for some warningsMatt Johnston
--HG-- extra : convert_revision : 6ace12c71fc2773210f2f3d374c96622ca54fe48
2006-03-21propagate from branch 'au.asn.ucc.matt.dropbear' (head ↵Matt Johnston
0501e6f661b5415eb76f3b312d183c3adfbfb712) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 01038174ec27245b51bd43a66c01ad930880f67b) --HG-- branch : agent-client extra : convert_revision : 12b2f59db65e7339d340e95ac67d6d9ddb193c2b
2006-02-11Only read /dev/random once when the program startsMatt Johnston
rather than for every connection, to "conserve entropy". --HG-- extra : convert_revision : 21df240b71c0af8454725dec9abb428dd4bb97a2
2005-07-18- progress towards client agent forwardingMatt Johnston
(incomplete and does not compile) --HG-- branch : agent-client extra : convert_revision : 01038174ec27245b51bd43a66c01ad930880f67b
2005-05-10* add a "label" argument to printhex()Matt Johnston
* make some vars static in random.c --HG-- extra : convert_revision : ef941a918e42e8af23b132946f44e6836a327e71
2005-05-05merge of 6b56bdff53b47ae7366d93b496ce353d9e3753dcMatt Johnston
and b68c53583ba80ad14fd0ba70ff26ea3dbd8e8823 --HG-- extra : convert_revision : 0a69485db882269664dcd5ec88e66b8ea9570855
2005-05-05- refactored random mp_int generation and byte->mp_int codeMatt Johnston
- added RSA blinding --HG-- extra : convert_revision : 5d5b4657a24a1c8f53c6fc45d5ec29ddb85fb45a
2005-04-24* warn if we seem to be blocking on /dev/randomMatt Johnston
--HG-- extra : convert_revision : a160efd238030ac4f7fd8304c5a87928145feccc
2004-12-27random.c: fix missed instance of DROPBEAR_EGD_SOCKETMatt Johnston
--HG-- extra : convert_revision : 0be7aaee2230fa65f252b2e74deee7102558ceb6
2004-12-20Cleaned up the random code, use /dev/random by default,Matt Johnston
and remove the addrandom() function which wasn't used. --HG-- extra : convert_revision : d560d214ad20001f8ef5d5494ff3c97e6184d9cc
2004-08-12Merging in the changes from 0.41-0.43 main Dropbear treeMatt Johnston
--HG-- extra : convert_revision : 4c3428781bc8faf0fd7cadd7099fbd7f4ea386e7
2004-06-01Makefile.in contains updated files requiredMatt Johnston
--HG-- extra : convert_revision : cc8a8c49dc70e632c352853a39801089b08149be