1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef CRYPT_DES_H #define CRYPT_DES_H #include <stdint.h> struct expanded_key { uint32_t l[16], r[16]; }; void __des_setkey(const unsigned char *, struct expanded_key *); void __do_des(uint32_t, uint32_t, uint32_t *, uint32_t *, uint32_t, uint32_t, const struct expanded_key *); #endif