Commit Graph

11 Commits

Author SHA1 Message Date
Simon Wilkinson
887993e8b3 Add mutex protection for the fortuna PRNG
The fortuna PRNG has an statically held internal state. Prevent
concurrent access to this internal state by adding mutexes around
all of the access classes.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-04-19 14:26:53 +02:00
Asanka Herath
c4b95f7330 Make build on windows
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-25 02:22:31 +01:00
Love Hornquist Astrand
3a031244bc Drop RCSID and HAVE_CONFIG_H 2009-08-05 13:37:37 +02:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
5bf46d38c5 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23463 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:15:06 +00:00
Love Hörnquist Åstrand
9f52c260e1 Make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:11:19 +00:00
Love Hörnquist Åstrand
de2bd2f00b If we forked, force a reseed again. Add the pid as part of the reseed().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-22 02:52:44 +00:00
Love Hörnquist Åstrand
124f90e3dc Reseed the random generator now and then from external sources.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 05:08:58 +00:00
Love Hörnquist Åstrand
5e25789281 Use /etc/shadow, not /dev/shadow, pointed out by Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 05:19:45 +00:00
Love Hörnquist Åstrand
58055ddfc9 Fall back to gattering data from timer and secret files, this is
really the last resort.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 03:51:21 +00:00
Love Hörnquist Åstrand
7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00