crypt_des.h 307 B

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