static void *salt(char *ciphertext) { static ARCH_WORD out; #if DES_BS out = DES_raw_get_salt(ciphertext); #else out = DES_std_get_salt(ciphertext); #endif return &out; }
static void *salt(char *ciphertext) { static ARCH_WORD out[2]; #if DES_BS out[0] = DES_raw_get_salt(ciphertext); #else out[0] = DES_std_get_salt(ciphertext); #endif out[1] = DES_raw_get_count(ciphertext); return out; }