kex.h (221420) | kex.h (224638) |
---|---|
1/* $OpenBSD: kex.h,v 1.52 2010/09/22 05:01:29 djm Exp $ */ | 1/* $OpenBSD: kex.h,v 1.52 2010/09/22 05:01:29 djm Exp $ */ |
2/* $FreeBSD$ */ |
|
2 3/* 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * 1. Redistributions of source code must retain the above copyright --- 125 unchanged lines hidden (view full) --- 135 Key *(*load_host_public_key)(int); 136 Key *(*load_host_private_key)(int); 137 int (*host_key_index)(Key *); 138 void (*kex[KEX_MAX])(Kex *); 139}; 140 141int kex_names_valid(const char *); 142 | 3 4/* 5 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright --- 125 unchanged lines hidden (view full) --- 136 Key *(*load_host_public_key)(int); 137 Key *(*load_host_private_key)(int); 138 int (*host_key_index)(Key *); 139 void (*kex[KEX_MAX])(Kex *); 140}; 141 142int kex_names_valid(const char *); 143 |
144#ifdef NONE_CIPHER_ENABLED 145void kex_prop2buf(Buffer *, char *[PROPOSAL_MAX]); 146#endif 147 |
|
143Kex *kex_setup(char *[PROPOSAL_MAX]); 144void kex_finish(Kex *); 145 146void kex_send_kexinit(Kex *); 147void kex_input_kexinit(int, u_int32_t, void *); 148void kex_derive_keys(Kex *, u_char *, u_int, BIGNUM *); 149 150Newkeys *kex_get_newkeys(int); --- 35 unchanged lines hidden --- | 148Kex *kex_setup(char *[PROPOSAL_MAX]); 149void kex_finish(Kex *); 150 151void kex_send_kexinit(Kex *); 152void kex_input_kexinit(int, u_int32_t, void *); 153void kex_derive_keys(Kex *, u_char *, u_int, BIGNUM *); 154 155Newkeys *kex_get_newkeys(int); --- 35 unchanged lines hidden --- |