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.

58 lines
882 B

  1. /*++
  2. Copyright (C) Microsoft Corporation, 2000
  3. Module Name:
  4. policy
  5. Abstract:
  6. This header file describes the services provided by the algorithm strength
  7. policy modules.
  8. Author:
  9. Doug Barlow (dbarlow) 8/11/2000
  10. Remarks:
  11. ?Remarks?
  12. Notes:
  13. ?Notes?
  14. --*/
  15. #ifndef _POLICY_H_
  16. #define _POLICY_H_
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. extern BOOL
  21. IsLegalAlgorithm(
  22. IN CONST PROV_ENUMALGS_EX *rgEnumAlgs,
  23. IN ALG_ID algId,
  24. OUT CONST PROV_ENUMALGS_EX **ppEnumAlg);
  25. extern BOOL
  26. IsLegalLength(
  27. IN CONST PROV_ENUMALGS_EX *rgEnumAlgs,
  28. IN ALG_ID algId,
  29. IN DWORD cBitLength,
  30. IN CONST PROV_ENUMALGS_EX *pEnumAlg);
  31. extern BOOL
  32. GetDefaultLength(
  33. IN CONST PROV_ENUMALGS_EX *rgEnumAlgs,
  34. IN ALG_ID algId,
  35. IN CONST PROV_ENUMALGS_EX *pEnumAlg,
  36. OUT LPDWORD pcBitLength);
  37. #ifdef __cplusplus
  38. }
  39. #endif
  40. #endif // _POLICY_H_