diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:02:36 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:02:36 +0000 |
commit | 16ae3d0dba5f81e5602798b915105284033dea75 (patch) | |
tree | ce0c2bf0d7e961b1015d43d1a07269d81e7a9ce9 /dh.h | |
parent | 90279d80f57c79ac6566051172a94a2cca9674b1 (diff) |
- itojun@cvs.openbsd.org 2001/06/26 06:32:58
[atomicio.h authfd.h authfile.h auth.h auth-options.h bufaux.h
buffer.h canohost.h channels.h cipher.h clientloop.h compat.h
compress.h crc32.h deattack.h dh.h dispatch.h groupaccess.h
hostfile.h kex.h key.h log.h mac.h match.h misc.h mpaux.h packet.h
radix.h readconf.h readpass.h rsa.h]
prototype pedant. not very creative...
- () -> (void)
- no variable names
Diffstat (limited to 'dh.h')
-rw-r--r-- | dh.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh.h,v 1.5 2001/04/03 19:53:29 markus Exp $ */ | 1 | /* $OpenBSD: dh.h,v 1.6 2001/06/26 06:32:52 itojun Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Niels Provos. All rights reserved. | 4 | * Copyright (c) 2000 Niels Provos. All rights reserved. |
@@ -32,15 +32,15 @@ struct dhgroup { | |||
32 | BIGNUM *p; | 32 | BIGNUM *p; |
33 | }; | 33 | }; |
34 | 34 | ||
35 | DH *choose_dh(int min, int nbits, int max); | 35 | DH *choose_dh(int, int, int); |
36 | DH *dh_new_group_asc(const char *, const char *); | 36 | DH *dh_new_group_asc(const char *, const char *); |
37 | DH *dh_new_group(BIGNUM *, BIGNUM *); | 37 | DH *dh_new_group(BIGNUM *, BIGNUM *); |
38 | DH *dh_new_group1(void); | 38 | DH *dh_new_group1(void); |
39 | 39 | ||
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 *, BIGNUM *); |
42 | 42 | ||
43 | int dh_estimate(int bits); | 43 | int dh_estimate(int); |
44 | 44 | ||
45 | #define DH_GRP_MIN 1024 | 45 | #define DH_GRP_MIN 1024 |
46 | #define DH_GRP_MAX 8192 | 46 | #define DH_GRP_MAX 8192 |