15 #define FIRSTBIT 0x8000000000000000 // 1000000000...
24 void addbit(uint64_t *block, uint64_t from,
25 int position_from,
int position_to);
28 void Permutation(uint64_t* data,
bool initial);
31 bool key_parity_verify(uint64_t key);
42 void key_schedule(uint64_t* key, uint64_t* next_key,
int round);
44 void rounds(uint64_t *data, uint64_t key);
46 void genkey(uint64_t *key);
47 void des_encrypt(
char *in,
int isize,
char *out, uint64_t key);
48 void des_decrypt(
char *in,
int isize,
char *out, uint64_t key);