00001 /* GLOBAL.H - RSAREF types and constants 00002 */ 00003 00004 /* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All 00005 rights reserved. 00006 00007 License to copy and use this software is granted provided that it 00008 is identified as the "RSA Data Security, Inc. MD5 Message-Digest 00009 Algorithm" in all material mentioning or referencing this software 00010 or this function. 00011 00012 License is also granted to make and use derivative works provided 00013 that such works are identified as "derived from the RSA Data 00014 Security, Inc. MD5 Message-Digest Algorithm" in all material 00015 mentioning or referencing the derived work. 00016 00017 RSA Data Security, Inc. makes no representations concerning either 00018 the merchantability of this software or the suitability of this 00019 software for any particular purpose. It is provided "as is" 00020 without express or implied warranty of any kind. 00021 00022 These notices must be retained in any copies of any part of this 00023 documentation and/or software. 00024 */ 00025 00026 /* PROTOTYPES should be set to one if and only if the compiler supports 00027 function argument prototyping. 00028 The following makes PROTOTYPES default to 0 if it has not already 00029 been defined with C compiler flags. 00030 */ 00031 #ifndef PROTOTYPES 00032 #define PROTOTYPES 0 00033 #endif 00034 00035 /* POINTER defines a generic pointer type */ 00036 typedef unsigned char *POINTER; 00037 00038 /* UINT2 defines a two byte word */ 00039 typedef unsigned short int UINT2; 00040 00041 /* UINT4 defines a four byte word */ 00042 typedef unsigned int UINT4; 00043 00044 /* PROTO_LIST is defined depending on how PROTOTYPES is defined above. 00045 If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it 00046 returns an empty list. 00047 */ 00048 #if PROTOTYPES 00049 #define PROTO_LIST(list) list 00050 #else 00051 #define PROTO_LIST(list) () 00052 #endif