Source code of Windows XP (NT5)
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.

50 lines
1.2 KiB

  1. //+--------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 2000
  6. //
  7. // File: wdigest.h
  8. //
  9. // Contents: some general defines for SSP WDigest
  10. //
  11. // Helper functions:
  12. //
  13. // History: KDamour 29Jun00 Created
  14. //
  15. //---------------------------------------------------------------------
  16. #ifndef NTDIGEST_WDIGEST_H
  17. #define NTDIGEST_WDIGEST_H
  18. ////////////////////////////////////////////////////////////////////////
  19. //
  20. // Name of the package to pass in to AcquireCredentialsHandle, etc.
  21. //
  22. ////////////////////////////////////////////////////////////////////////
  23. #ifndef WDIGEST_SP_NAME_A
  24. #define WDIGEST_SP_NAME_A "WDigest"
  25. #define WDIGEST_SP_NAME L"WDigest"
  26. #endif // WDIGEST_SP_NAME_A
  27. // To indicate that the challenge should indicate Stale is TRUE
  28. // To be used if VerifyMessage returns that context has expired
  29. #define ASC_REQ_STALE 0x20000000
  30. #define ASC_RET_STALE 0x20000000
  31. //
  32. // This flag indicates to EncryptMessage that the message is not to actually
  33. // be encrypted, but a header/trailer are to be produced.
  34. //
  35. #ifndef SIGN_ONLY
  36. #define SIGN_ONLY 0x80000001
  37. #endif // SIGN_ONLY
  38. #endif // NTDIGEST_WGDIGEST_H