mcg_cipher.h
Upload User: market2
Upload Date: 2018-11-18
Package Size: 18786k
Code Size: 1k
Category:

Game Hook Crack

Development Platform:

Windows_Unix

  1. /* MacGuffin Cipher
  2. * 10/3/94 Matt Blaze
  3. * (fast, unrolled version)
  4. */
  5. //
  6. // Changed to conform to padded packets emulator by Jack Applegame
  7. // $Id: mcg_cipher.h 5135 2006-11-18 22:06:15Z mouseland $
  8. //
  9. #ifndef  MCG_CIPHERH
  10. #define  MCG_CIPHERH
  11. #include "../typedefs.h"
  12. #define ROUNDS 32
  13. #define KSIZE (ROUNDS*3) //key size;
  14. typedef struct MCGKey {word Val[KSIZE];} MCGKey;
  15. CEXTERN void MCGKeyset(byte* Key, MCGKey* eKey);
  16. CEXTERN void MCGBlockEncrypt0(byte* Blk, MCGKey* eKey);
  17. CEXTERN void MCGBlockEncrypt1(byte* Blk, MCGKey* eKey);
  18. #endif