ssl_locl.h (76866) | ssl_locl.h (100936) |
---|---|
1/* ssl/ssl_locl.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 * --- 269 unchanged lines hidden (view full) --- 278 * namespace of SSL_LOW-SSL_HIGH to lower values. As development of speed 279 * and ciphers goes, another extension to SSL_SUPER and/or SSL_ULTRA would 280 * be possible. 281 */ 282#define SSL_EXP_MASK 0x00000003L 283#define SSL_NOT_EXP 0x00000001L 284#define SSL_EXPORT 0x00000002L 285 | 1/* ssl/ssl_locl.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 * --- 269 unchanged lines hidden (view full) --- 278 * namespace of SSL_LOW-SSL_HIGH to lower values. As development of speed 279 * and ciphers goes, another extension to SSL_SUPER and/or SSL_ULTRA would 280 * be possible. 281 */ 282#define SSL_EXP_MASK 0x00000003L 283#define SSL_NOT_EXP 0x00000001L 284#define SSL_EXPORT 0x00000002L 285 |
286#define SSL_STRONG_MASK 0x0000007cL 287#define SSL_EXP40 0x00000004L | 286#define SSL_STRONG_MASK 0x000000fcL 287#define SSL_STRONG_NONE 0x00000004L 288#define SSL_EXP40 0x00000008L |
288#define SSL_MICRO (SSL_EXP40) | 289#define SSL_MICRO (SSL_EXP40) |
289#define SSL_EXP56 0x00000008L | 290#define SSL_EXP56 0x00000010L |
290#define SSL_MINI (SSL_EXP56) | 291#define SSL_MINI (SSL_EXP56) |
291#define SSL_LOW 0x00000010L 292#define SSL_MEDIUM 0x00000020L 293#define SSL_HIGH 0x00000040L | 292#define SSL_LOW 0x00000020L 293#define SSL_MEDIUM 0x00000040L 294#define SSL_HIGH 0x00000080L |
294 | 295 |
295/* we have used 0000007f - 25 bits left to go */ | 296/* we have used 000000ff - 24 bits left to go */ |
296 297/* 298 * Macros to check the export status and cipher strength for export ciphers. 299 * Even though the macros for EXPORT and EXPORT40/56 have similar names, 300 * their meaning is different: 301 * *_EXPORT macros check the 'exportable' status. 302 * *_EXPORT40/56 macros are used to check whether a certain cipher strength 303 * is given. --- 306 unchanged lines hidden --- | 297 298/* 299 * Macros to check the export status and cipher strength for export ciphers. 300 * Even though the macros for EXPORT and EXPORT40/56 have similar names, 301 * their meaning is different: 302 * *_EXPORT macros check the 'exportable' status. 303 * *_EXPORT40/56 macros are used to check whether a certain cipher strength 304 * is given. --- 306 unchanged lines hidden --- |