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.

48 lines
1.2 KiB

  1. //#--------------------------------------------------------------
  2. //
  3. // File: hmachhash.h
  4. //
  5. // Synopsis: This file holds the declarations of the
  6. // CHmacMD5 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 _HMACHASH_H_
  16. #define _HMACHASH_H_
  17. #include "hash.h"
  18. class CHashHmacMD5 : public CHash
  19. {
  20. public:
  21. CHashHmacMD5();
  22. virtual ~CHashHmacMD5();
  23. BOOL HashIt (
  24. /*[out]*/ PBYTE pbyAuthenticator,
  25. /*[in]*/ PBYTE pSharedSecret,
  26. /*[in]*/ DWORD dwSharedSecretSize,
  27. /*[in]*/ PBYTE pBuffer1,
  28. /*[in]*/ DWORD dwSize1,
  29. /*[in]*/ PBYTE pBuffer2,
  30. /*[in]*/ DWORD dwSize2,
  31. /*[in]*/ PBYTE pBuffer3,
  32. /*[in]*/ DWORD dwSize3,
  33. /*[in]*/ PBYTE pBuffer4,
  34. /*[in]*/ DWORD dwSize4,
  35. /*[in]*/ PBYTE pBuffer5,
  36. /*[in]*/ DWORD dwSize5
  37. );
  38. BOOL Init (VOID) {return (TRUE);};
  39. };
  40. #endif // ifndef _HMACHASH_H_