diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-04 01:56:17 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-04 01:56:17 +0000 |
commit | 20d7c7b02c92c28007dba8b08e617a415146d1df (patch) | |
tree | 8b5258b1065f6ad079d7410c3a29562903f128bb /dh.h | |
parent | 86ebcb6cf55ea296a7921d157afdc03c07102933 (diff) |
- markus@cvs.openbsd.org 2001/04/03 19:53:29
[dh.c dh.h kex.c kex.h sshconnect2.c sshd.c]
move kex to kex*.c, used dispatch_set() callbacks for kex. should
make rekeying easier.
Diffstat (limited to 'dh.h')
-rw-r--r-- | dh.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh.h,v 1.4 2001/03/29 21:17:39 markus Exp $ */ | 1 | /* $OpenBSD: dh.h,v 1.5 2001/04/03 19:53:29 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Niels Provos. All rights reserved. | 4 | * Copyright (c) 2000 Niels Provos. All rights reserved. |
@@ -40,6 +40,8 @@ DH *dh_new_group1(void); | |||
40 | void dh_gen_key(DH *, int); | 40 | void dh_gen_key(DH *, int); |
41 | int dh_pub_is_valid(DH *dh, BIGNUM *dh_pub); | 41 | int dh_pub_is_valid(DH *dh, BIGNUM *dh_pub); |
42 | 42 | ||
43 | int dh_estimate(int bits); | ||
44 | |||
43 | #define DH_GRP_MIN 1024 | 45 | #define DH_GRP_MIN 1024 |
44 | #define DH_GRP_MAX 8192 | 46 | #define DH_GRP_MAX 8192 |
45 | 47 | ||