PlatformPKProtectionLib.h 871 B

12345678910111213141516171819202122232425262728293031
  1. /** @file
  2. Provides an abstracted interface for configuring PK related variable protection.
  3. Copyright (c) Microsoft Corporation.
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef PLATFORM_PK_PROTECTION_LIB_H_
  7. #define PLATFORM_PK_PROTECTION_LIB_H_
  8. /**
  9. Disable any applicable protection against variable 'PK'. The implementation
  10. of this interface is platform specific, depending on the protection techniques
  11. used per platform.
  12. Note: It is the platform's responsibility to conduct cautious operation after
  13. disabling this protection.
  14. @retval EFI_SUCCESS State has been successfully updated.
  15. @retval Others Error returned from implementation specific
  16. underying APIs.
  17. **/
  18. EFI_STATUS
  19. EFIAPI
  20. DisablePKProtection (
  21. VOID
  22. );
  23. #endif