version 1.22, 2001/04/04 20:25:37 |
version 1.22.2.1, 2001/09/27 19:03:54 |
|
|
/* $OpenBSD$ */ |
/* $OpenBSD$ */ |
|
|
/* |
/* |
* Copyright (c) 2000 Markus Friedl. All rights reserved. |
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
* |
* |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
* modification, are permitted provided that the following conditions |
|
|
int flags; |
int flags; |
char *client_version_string; |
char *client_version_string; |
char *server_version_string; |
char *server_version_string; |
int (*check_host_key)(Key *hostkey); |
int (*verify_host_key)(Key *); |
Key *(*load_host_key)(int type); |
Key *(*load_host_key)(int); |
}; |
}; |
|
|
Kex *kex_setup(char *proposal[PROPOSAL_MAX]); |
Kex *kex_setup(char *[PROPOSAL_MAX]); |
void kex_finish(Kex *kex); |
void kex_finish(Kex *); |
|
|
void kex_send_kexinit(Kex *kex); |
void kex_send_kexinit(Kex *); |
void kex_input_kexinit(int type, int plen, void *ctxt); |
void kex_input_kexinit(int, int, void *); |
void kex_derive_keys(Kex *k, u_char *hash, BIGNUM *shared_secret); |
void kex_derive_keys(Kex *, u_char *, BIGNUM *); |
|
|
void kexdh(Kex *); |
void kexdh(Kex *); |
void kexgex(Kex *); |
void kexgex(Kex *); |
|
|
Newkeys *kex_get_newkeys(int mode); |
Newkeys *kex_get_newkeys(int); |
|
|
#if defined(DEBUG_KEX) || defined(DEBUG_KEXDH) |
#if defined(DEBUG_KEX) || defined(DEBUG_KEXDH) |
void dump_digest(char *msg, u_char *digest, int len); |
void dump_digest(char *, u_char *, int); |
#endif |
#endif |
|
|
#endif |
#endif |