1*7c478bd9Sstevel@tonic-gate /* md5global.h - RSAREF types and constants
2*7c478bd9Sstevel@tonic-gate  */
3*7c478bd9Sstevel@tonic-gate #ifndef MD5GLOBAL_H
4*7c478bd9Sstevel@tonic-gate #define MD5GLOBAL_H
5*7c478bd9Sstevel@tonic-gate 
6*7c478bd9Sstevel@tonic-gate /* PROTOTYPES should be set to one if and only if the compiler supports
7*7c478bd9Sstevel@tonic-gate   function argument prototyping.
8*7c478bd9Sstevel@tonic-gate The following makes PROTOTYPES default to 0 if it has not already
9*7c478bd9Sstevel@tonic-gate   been defined with C compiler flags.
10*7c478bd9Sstevel@tonic-gate  */
11*7c478bd9Sstevel@tonic-gate #ifndef PROTOTYPES
12*7c478bd9Sstevel@tonic-gate #define PROTOTYPES 0
13*7c478bd9Sstevel@tonic-gate #endif
14*7c478bd9Sstevel@tonic-gate 
15*7c478bd9Sstevel@tonic-gate /* POINTER defines a generic pointer type */
16*7c478bd9Sstevel@tonic-gate typedef unsigned char *POINTER;
17*7c478bd9Sstevel@tonic-gate 
18*7c478bd9Sstevel@tonic-gate typedef signed char INT1;		/*  8 bits */
19*7c478bd9Sstevel@tonic-gate typedef short INT2;			/* 16 bits */
20*7c478bd9Sstevel@tonic-gate typedef int INT4;			/* 32 bits */
21*7c478bd9Sstevel@tonic-gate /* There is no 64 bit type */
22*7c478bd9Sstevel@tonic-gate typedef unsigned char UINT1;		/*  8 bits */
23*7c478bd9Sstevel@tonic-gate typedef unsigned short UINT2;		/* 16 bits */
24*7c478bd9Sstevel@tonic-gate typedef unsigned int UINT4;		/* 32 bits */
25*7c478bd9Sstevel@tonic-gate /* There is no 64 bit type */
26*7c478bd9Sstevel@tonic-gate 
27*7c478bd9Sstevel@tonic-gate /* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
28*7c478bd9Sstevel@tonic-gate If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
29*7c478bd9Sstevel@tonic-gate returns an empty list.
30*7c478bd9Sstevel@tonic-gate */
31*7c478bd9Sstevel@tonic-gate #if PROTOTYPES
32*7c478bd9Sstevel@tonic-gate #define PROTO_LIST(list) list
33*7c478bd9Sstevel@tonic-gate #else
34*7c478bd9Sstevel@tonic-gate #define PROTO_LIST(list) ()
35*7c478bd9Sstevel@tonic-gate #endif
36*7c478bd9Sstevel@tonic-gate 
37*7c478bd9Sstevel@tonic-gate #endif /* MD5GLOBAL_H */
38*7c478bd9Sstevel@tonic-gate 
39