ssl2.h (89837) | ssl2.h (109998) |
---|---|
1/* ssl/ssl2.h */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 119 unchanged lines hidden (view full) --- 128 129/* Authentication Type Code */ 130#define SSL2_AT_MD5_WITH_RSA_ENCRYPTION 0x01 131 132#define SSL2_MAX_SSL_SESSION_ID_LENGTH 32 133 134/* Upper/Lower Bounds */ 135#define SSL2_MAX_MASTER_KEY_LENGTH_IN_BITS 256 | 1/* ssl/ssl2.h */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 119 unchanged lines hidden (view full) --- 128 129/* Authentication Type Code */ 130#define SSL2_AT_MD5_WITH_RSA_ENCRYPTION 0x01 131 132#define SSL2_MAX_SSL_SESSION_ID_LENGTH 32 133 134/* Upper/Lower Bounds */ 135#define SSL2_MAX_MASTER_KEY_LENGTH_IN_BITS 256 |
136#ifdef MPE | 136#ifdef OPENSSL_SYS_MPE |
137#define SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER 29998u 138#else 139#define SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER 32767u /* 2^15-1 */ 140#endif 141#define SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER 16383 /* 2^14-1 */ 142 143#define SSL2_CHALLENGE_LENGTH 16 144/*#define SSL2_CHALLENGE_LENGTH 32 */ --- 39 unchanged lines hidden (view full) --- 184 unsigned int padding; 185 unsigned int rlength; /* passed to ssl2_enc */ 186 int ract_data_length; /* Set when things are encrypted. */ 187 unsigned int wlength; /* passed to ssl2_enc */ 188 int wact_data_length; /* Set when things are decrypted. */ 189 unsigned char *ract_data; 190 unsigned char *wact_data; 191 unsigned char *mac_data; | 137#define SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER 29998u 138#else 139#define SSL2_MAX_RECORD_LENGTH_2_BYTE_HEADER 32767u /* 2^15-1 */ 140#endif 141#define SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER 16383 /* 2^14-1 */ 142 143#define SSL2_CHALLENGE_LENGTH 16 144/*#define SSL2_CHALLENGE_LENGTH 32 */ --- 39 unchanged lines hidden (view full) --- 184 unsigned int padding; 185 unsigned int rlength; /* passed to ssl2_enc */ 186 int ract_data_length; /* Set when things are encrypted. */ 187 unsigned int wlength; /* passed to ssl2_enc */ 188 int wact_data_length; /* Set when things are decrypted. */ 189 unsigned char *ract_data; 190 unsigned char *wact_data; 191 unsigned char *mac_data; |
192 unsigned char *pad_data_UNUSED; /* only for binary compatibility with 0.9.6b */ | |
193 194 unsigned char *read_key; 195 unsigned char *write_key; 196 197 /* Stuff specifically to do with this SSL session */ 198 unsigned int challenge_length; 199 unsigned char challenge[SSL2_MAX_CHALLENGE_LENGTH]; 200 unsigned int conn_id_length; --- 69 unchanged lines hidden --- | 192 193 unsigned char *read_key; 194 unsigned char *write_key; 195 196 /* Stuff specifically to do with this SSL session */ 197 unsigned int challenge_length; 198 unsigned char challenge[SSL2_MAX_CHALLENGE_LENGTH]; 199 unsigned int conn_id_length; --- 69 unchanged lines hidden --- |