Simon Tatham
|
3daa36293e
Remove dependency of sshrand.c on SHA-512.
|
4 år sedan |
Simon Tatham
|
5d718ef64b
Whitespace rationalisation of entire code base.
|
5 år sedan |
Simon Tatham
|
4fb20b15f3
Move random_save_seed() into sshrand.c.
|
5 år sedan |
Simon Tatham
|
d159a6efac
cgtest: destroy the global PRNG after every cmdgen_main().
|
5 år sedan |
Simon Tatham
|
22131a51fa
Windows PuTTYgen: bound entropy input by PRNG state size.
|
5 år sedan |
Simon Tatham
|
320bf8479f
Replace PuTTY's PRNG with a Fortuna-like system.
|
5 år sedan |
Simon Tatham
|
628e794832
Replace random_byte() with random_read().
|
5 år sedan |
Simon Tatham
|
0b14e7376e
Replace all 'sizeof(x)/sizeof(*x)' with lenof.
|
5 år sedan |
Simon Tatham
|
c5895ec292
Move all extern declarations into header files.
|
6 år sedan |
Simon Tatham
|
3214563d8e
Convert a lot of 'int' variables to 'bool'.
|
6 år sedan |
Simon Tatham
|
a6f1709c2f
Adopt C99 <stdbool.h>'s true/false.
|
6 år sedan |
Simon Tatham
|
a647f2ba11
Adopt C99 <stdint.h> integer types.
|
6 år sedan |
Tim Kosse
|
fa38307244
In random_add_noise, put the hashed noise into the pool, not the raw noise
|
7 år sedan |
Ben Harris
|
1d20c1b396
Add FUZZING build option that disables the random number generator.
|
9 år sedan |
Simon Tatham
|
ab2ddd1772
random_ref() should always increment the reference count.
|
11 år sedan |
Simon Tatham
|
8966f7c1ea
Add some conditionally-compilable diagnostics to the RNG. I got
|
11 år sedan |
Simon Tatham
|
311761e245
Run the random pool setup and teardown functions with random_active
|
11 år sedan |
Simon Tatham
|
33f485c1c3
It suddenly strikes me as probably a good idea to enforce that anyone
|
11 år sedan |
Ben Harris
|
d5836982e2
Two related changes to timing code:
|
12 år sedan |
Jacob Nevins
|
5ea11dfb3a
Plug a few minor memory leaks, based on a patch by Sirp Potijk.
|
15 år sedan |
Simon Tatham
|
31133eb077
Owen's just pointed out that random_stir() is capable of recursion.
|
20 år sedan |
Simon Tatham
|
8c69ba0672
Loose end from timing shakeup: sshrand.c is now a client of
|
20 år sedan |
Simon Tatham
|
06e9857f89
random_init() should be called at most once during the running of
|
20 år sedan |
Simon Tatham
|
d36a4c3685
Introduced wrapper macros snew(), snewn() and sresize() for the
|
21 år sedan |
Ben Harris
|
4296e6b786
random_stir() is unused outside this file. Make it static.
|
22 år sedan |
Simon Tatham
|
a1125a8052
Improve robustness in random seed file handling.
|
22 år sedan |
Simon Tatham
|
dac0d45699
Ensure our network layer is properly cleaned up before PuTTY exits.
|
23 år sedan |
Simon Tatham
|
3730ada5ce
Run entire source base through GNU indent to tidy up the varying
|
23 år sedan |
Simon Tatham
|
f9cf0d70b7
Reintroduce random_stir()
|
24 år sedan |
Simon Tatham
|
36156d858c
Improved entropy gathering.
|
24 år sedan |