#define MD5_CRYPT 1
#define DES_CRYPT 2

#ifndef CRYPT_TYPE
#define CRYPT_TYPE DES_CRYPT
#endif

#define ENCRYPT_CHUNK_SIZE 32768


#if CRYPT_TYPE == MD5_CRYPT
#define KEY_SIZE 16
#define CRYPT_COPY lclient_md5_xor
#define ENCRYPT_BLOCK_SIZE 16
#endif

#if CRYPT_TYPE == DES_CRYPT
#define KEY_SIZE 8		/* sizeof (des_cblock) */
#define CRYPT_COPY lclient_des_crypt
#define ENCRYPT_BLOCK_SIZE 8
#endif

#if defined(vax) || defined(ibm032) || defined(__ultrix) || defined(BSD)
#define HAVE_VFORK
#endif

extern void CRYPT_COPY(unsigned char *, unsigned char *, unsigned int, int);
