40 #error C_block structure assumes 8 bit characters 45 # if SIZEOF_LONG_LONG > 0 46 # define LONG_LONG long long 47 # elif SIZEOF___INT64 > 0 48 # define HAVE_LONG_LONG 1 49 # define LONG_LONG __int64 50 # undef SIZEOF_LONG_LONG 51 # define SIZEOF_LONG_LONG SIZEOF___INT64 60 #define LONG_IS_32_BITS 69 #elif SIZEOF_LONG_LONG == 8 206 #if defined(LONG_IS_32_BITS) 220 #if defined(LARGEDATA) 222 #define LGCHUNKBITS 3 223 #define CHUNKBITS (1<<LGCHUNKBITS) 226 #define LGCHUNKBITS 2 227 #define CHUNKBITS (1<<LGCHUNKBITS) 240 #define SIZEOF_CRYPT_DATA (KS_SIZE*8+(1+4+4+11+1)) 242 char *
crypt(
const char *
key,
const char *setting);
244 void encrypt(
char *block,
int flag);
char * crypt_r(const char *key, const char *setting, struct crypt_data *data)
void setkey_r(const char *key, struct crypt_data *data)
void encrypt(char *block, int flag)
void setkey(const char *key)
char cryptresult[1+4+4+11+1]
char * crypt(const char *key, const char *setting)
void encrypt_r(char *block, int flag, struct crypt_data *data)