summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-07-04 04:02:36 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-07-04 04:02:36 +0000
commit16ae3d0dba5f81e5602798b915105284033dea75 (patch)
treece0c2bf0d7e961b1015d43d1a07269d81e7a9ce9 /kex.h
parent90279d80f57c79ac6566051172a94a2cca9674b1 (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 'kex.h')
-rw-r--r--kex.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kex.h b/kex.h
index ac7ad33f7..80ce31cef 100644
--- a/kex.h
+++ b/kex.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: kex.h,v 1.24 2001/06/25 08:25:37 markus Exp $ */ 1/* $OpenBSD: kex.h,v 1.25 2001/06/26 06:32:53 itojun Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -107,24 +107,24 @@ struct Kex {
107 int flags; 107 int flags;
108 char *client_version_string; 108 char *client_version_string;
109 char *server_version_string; 109 char *server_version_string;
110 int (*verify_host_key)(Key *hostkey); 110 int (*verify_host_key)(Key *);
111 Key *(*load_host_key)(int type); 111 Key *(*load_host_key)(int);
112}; 112};
113 113
114Kex *kex_setup(char *proposal[PROPOSAL_MAX]); 114Kex *kex_setup(char *[PROPOSAL_MAX]);
115void kex_finish(Kex *kex); 115void kex_finish(Kex *);
116 116
117void kex_send_kexinit(Kex *kex); 117void kex_send_kexinit(Kex *);
118void kex_input_kexinit(int type, int plen, void *ctxt); 118void kex_input_kexinit(int, int, void *);
119void kex_derive_keys(Kex *k, u_char *hash, BIGNUM *shared_secret); 119void kex_derive_keys(Kex *, u_char *, BIGNUM *);
120 120
121void kexdh(Kex *); 121void kexdh(Kex *);
122void kexgex(Kex *); 122void kexgex(Kex *);
123 123
124Newkeys *kex_get_newkeys(int mode); 124Newkeys *kex_get_newkeys(int);
125 125
126#if defined(DEBUG_KEX) || defined(DEBUG_KEXDH) 126#if defined(DEBUG_KEX) || defined(DEBUG_KEXDH)
127void dump_digest(char *msg, u_char *digest, int len); 127void dump_digest(char *, u_char *, int);
128#endif 128#endif
129 129
130#endif 130#endif