Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.1 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: hash.h
  4. //
  5. // Synopsis: This file holds the declarations of the
  6. // CHash class
  7. //
  8. //
  9. // History: 9/23/97 MKarki Created
  10. //
  11. // Copyright (C) 1997-98 Microsoft Corporation
  12. // All rights reserved.
  13. //
  14. //----------------------------------------------------------------
  15. #ifndef _HASH_H_
  16. #define _HASH_H_
  17. class CHash
  18. {
  19. public:
  20. virtual BOOL HashIt (
  21. /*[out]*/ PBYTE pbyAuthenticator,
  22. /*[in]*/ PBYTE pKey,
  23. /*[in]*/ DWORD dwKeySize,
  24. /*[in]*/ PBYTE pBuffer1,
  25. /*[in]*/ DWORD dwSize1,
  26. /*[in]*/ PBYTE pBuffer2,
  27. /*[in]*/ DWORD dwSize2,
  28. /*[in]*/ PBYTE pBuffer3,
  29. /*[in]*/ DWORD dwSize3,
  30. /*[in]*/ PBYTE pBuffer4,
  31. /*[in]*/ DWORD dwSize4,
  32. /*[in]*/ PBYTE pBuffer5,
  33. /*[in]*/ DWORD dwSize5
  34. )=0;
  35. virtual BOOL Init (VOID)=0;
  36. CHash();
  37. virtual ~CHash();
  38. };
  39. #endif // ifndef _HASH_H_