Deleted Added
full compact
packet.h (221420) packet.h (224638)
1/* $OpenBSD: packet.h,v 1.55 2010/11/13 23:27:50 djm Exp $ */
1/* $OpenBSD: packet.h,v 1.55 2010/11/13 23:27:50 djm Exp $ */
2/* $FreeBSD$ */
2
3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
6 * All rights reserved
7 * Interface for the packet protocol functions.
8 *
9 * As far as I am concerned, the code I have written for this software

--- 23 unchanged lines hidden (view full) ---

33u_int packet_get_encryption_key(u_char *);
34void packet_set_protocol_flags(u_int);
35u_int packet_get_protocol_flags(void);
36void packet_start_compression(int);
37void packet_set_interactive(int, int, int);
38int packet_is_interactive(void);
39void packet_set_server(void);
40void packet_set_authenticated(void);
3
4/*
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
7 * All rights reserved
8 * Interface for the packet protocol functions.
9 *
10 * As far as I am concerned, the code I have written for this software

--- 23 unchanged lines hidden (view full) ---

34u_int packet_get_encryption_key(u_char *);
35void packet_set_protocol_flags(u_int);
36u_int packet_get_protocol_flags(void);
37void packet_start_compression(int);
38void packet_set_interactive(int, int, int);
39int packet_is_interactive(void);
40void packet_set_server(void);
41void packet_set_authenticated(void);
42#ifdef NONE_CIPHER_ENABLED
43int packet_get_authentication_state(void);
44#endif
41
42void packet_start(u_char);
43void packet_put_char(int ch);
44void packet_put_int(u_int value);
45void packet_put_int64(u_int64_t value);
46void packet_put_bignum(BIGNUM * value);
47void packet_put_bignum2(BIGNUM * value);
48#ifdef OPENSSL_HAS_ECC

--- 63 unchanged lines hidden (view full) ---

112 if (_len > 0) { \
113 logit("Packet integrity error (%d bytes remaining) at %s:%d", \
114 _len ,__FILE__, __LINE__); \
115 packet_disconnect("Packet integrity error."); \
116 } \
117} while (0)
118
119int packet_need_rekeying(void);
45
46void packet_start(u_char);
47void packet_put_char(int ch);
48void packet_put_int(u_int value);
49void packet_put_int64(u_int64_t value);
50void packet_put_bignum(BIGNUM * value);
51void packet_put_bignum2(BIGNUM * value);
52#ifdef OPENSSL_HAS_ECC

--- 63 unchanged lines hidden (view full) ---

116 if (_len > 0) { \
117 logit("Packet integrity error (%d bytes remaining) at %s:%d", \
118 _len ,__FILE__, __LINE__); \
119 packet_disconnect("Packet integrity error."); \
120 } \
121} while (0)
122
123int packet_need_rekeying(void);
124#ifdef NONE_CIPHER_ENABLED
125void packet_request_rekeying(void);
126#endif
120void packet_set_rekey_limit(u_int32_t);
121
122void packet_backup_state(void);
123void packet_restore_state(void);
124
125void *packet_get_input(void);
126void *packet_get_output(void);
127
128#endif /* PACKET_H */
127void packet_set_rekey_limit(u_int32_t);
128
129void packet_backup_state(void);
130void packet_restore_state(void);
131
132void *packet_get_input(void);
133void *packet_get_output(void);
134
135#endif /* PACKET_H */