summaryrefslogtreecommitdiff
path: root/entropy.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-09-27 22:46:32 +1000
committerDarren Tucker <dtucker@zip.com.au>2005-09-27 22:46:32 +1000
commitc6f8219e0d4ee1f64fb7b4da88523c951a03c68a (patch)
treed861d4cbccee17f7de7c864e1d26634c0174741d /entropy.h
parentf1377bdeed3ca7268c6a5d3fa171a09df7be9064 (diff)
- (dtucker) [entropy.c entropy.h sshd.c] Pass RNG seed to the reexec'ed
process when sshd relies on ssh-random-helper. Should result in faster logins on systems without a real random device or prngd. ok djm@
Diffstat (limited to 'entropy.h')
-rw-r--r--entropy.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/entropy.h b/entropy.h
index 5f63c1f1f..ec1ebcc57 100644
--- a/entropy.h
+++ b/entropy.h
@@ -22,12 +22,17 @@
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24 24
25/* $Id: entropy.h,v 1.4 2001/02/09 01:55:36 djm Exp $ */ 25/* $Id: entropy.h,v 1.5 2005/09/27 12:46:32 dtucker Exp $ */
26 26
27#ifndef _RANDOMS_H 27#ifndef _RANDOMS_H
28#define _RANDOMS_H 28#define _RANDOMS_H
29 29
30#include "buffer.h"
31
30void seed_rng(void); 32void seed_rng(void);
31void init_rng(void); 33void init_rng(void);
32 34
35void rexec_send_rng_seed(Buffer *);
36void rexec_recv_rng_seed(Buffer *);
37
33#endif /* _RANDOMS_H */ 38#endif /* _RANDOMS_H */