From f6027d3407f8665cc64321bcee8786311a58fa0c Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Fri, 22 Mar 2002 01:42:04 +0000 Subject: - markus@cvs.openbsd.org 2002/03/18 17:16:38 [packet.c packet.h] export/import cipher state, iv and ssh2 seqnr; needed by ssh-privsep --- packet.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'packet.h') diff --git a/packet.h b/packet.h index d6bf2aab4..151ca74a1 100644 --- a/packet.h +++ b/packet.h @@ -1,4 +1,4 @@ -/* $OpenBSD: packet.h,v 1.33 2002/03/04 17:27:39 stevesk Exp $ */ +/* $OpenBSD: packet.h,v 1.34 2002/03/18 17:16:38 markus Exp $ */ /* * Author: Tatu Ylonen @@ -56,6 +56,16 @@ void *packet_get_string(u_int *length_ptr); void packet_disconnect(const char *fmt,...) __attribute__((format(printf, 1, 2))); void packet_send_debug(const char *fmt,...) __attribute__((format(printf, 1, 2))); +void set_newkeys(int mode); +int packet_get_keyiv_len(int); +void packet_get_keyiv(int, u_char *, u_int); +int packet_get_keycontext(int, u_char *); +void packet_set_keycontext(int, u_char *); +u_int32_t packet_get_seqnr(int); +void packet_set_seqnr(int, u_int32_t); +int packet_get_ssh1_cipher(void); +void packet_set_iv(int, u_char *); + void packet_write_poll(void); void packet_write_wait(void); int packet_have_data_to_write(void); -- cgit v1.2.3