Clone of UAS2 @ https://github.com/drudgedance/uas2

CRC_Module.h 1.5KB

123456789101112131415161718192021222324252627282930313233
  1. // This file is part of UASv1.
  2. //
  3. // UASv1 is free software; you can redistribute it and/or modify
  4. // it under the terms of the GNU General Public License as published by
  5. // the Free Software Foundation; either version 2 of the License, or
  6. // (at your option) any later version.
  7. //
  8. // UASv1 is distributed in the hope that it will be useful,
  9. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. // GNU General Public License for more details.
  12. // You should have received a copy of the GNU General Public License
  13. // along with UASv1; if not, write to the Free Software
  14. // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  15. extern void SubTableEntry2__IncrementSeqnum_and_get_xorval (void);
  16. extern void SubTableEntry2__Get_xorval_from_table3 (void);
  17. extern void SubTableEntry2__Constructor (void);
  18. extern void SubTableEntry3__Fetch_XorVal (void);
  19. extern void SubTableEntry3__Constructor (void);
  20. extern void SubTableEntry3__XOR_LOOP1 (void);
  21. extern void SubTableEntry3__Final_INIT_Stage (void);
  22. extern void SubTableEntry3__Crazy_XOR_00 (void);
  23. extern void SubTableEntry3__Crazy_XOR_01 (void);
  24. extern void SubTableEntry3__Fill_Out_Tables (void);
  25. extern void SubTableEntry3__Fill_Out_Tables_Part2 (void);
  26. extern void SubTableEntry3__DESTRUCTOR (void);
  27. extern void SubTableEntry4__Constructor (void);
  28. extern DWORD GetSendXORVal(DWORD* lpdwSendCRC );
  29. extern void GenerateCRCs(DWORD dwSendSeed, DWORD dwRecvSeed, DWORD* lpdwSendSeed, DWORD* lpdwRecvSeed);