summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Include/Library/RpmcLib.h
diff options
context:
space:
mode:
authorJian J Wang <jian.j.wang@intel.com>2022-12-15 11:02:23 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-12-21 05:49:48 +0000
commitb2d76fdd421b5081c2e03ae46079ccf8ecc045fe (patch)
treedd4981e9e0d55f65c11ae61ff300c1633ad37edb /SecurityPkg/Include/Library/RpmcLib.h
parent3c16e6fb97dd2add425edca6aacb206589b0389c (diff)
downloadedk2-b2d76fdd421b5081c2e03ae46079ccf8ecc045fe.tar.gz
edk2-b2d76fdd421b5081c2e03ae46079ccf8ecc045fe.tar.bz2
edk2-b2d76fdd421b5081c2e03ae46079ccf8ecc045fe.zip
SecurityPkg: deprecate RpmcLib and VariableKeyLib
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 There's no real usage of these two libraries. They're deprecated. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Nishant C Mistry <nishant.c.mistry@intel.com> Cc: Judah Vang <judah.vang@intel.com> Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Acked-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'SecurityPkg/Include/Library/RpmcLib.h')
-rw-r--r--SecurityPkg/Include/Library/RpmcLib.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/SecurityPkg/Include/Library/RpmcLib.h b/SecurityPkg/Include/Library/RpmcLib.h
deleted file mode 100644
index df4ba34ba8..0000000000
--- a/SecurityPkg/Include/Library/RpmcLib.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/** @file
- Public definitions for the Replay Protected Monotonic Counter (RPMC) Library.
-
-Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
-SPDX-License-Identifier: BSD-2-Clause-Patent
-
-**/
-
-#ifndef _RPMC_LIB_H_
-#define _RPMC_LIB_H_
-
-#include <Uefi/UefiBaseType.h>
-
-/**
- Requests the monotonic counter from the designated RPMC counter.
-
- @param[out] CounterValue A pointer to a buffer to store the RPMC value.
-
- @retval EFI_SUCCESS The operation completed successfully.
- @retval EFI_DEVICE_ERROR A device error occurred while attempting to update the counter.
- @retval EFI_UNSUPPORTED The operation is un-supported.
-**/
-EFI_STATUS
-EFIAPI
-RequestMonotonicCounter (
- OUT UINT32 *CounterValue
- );
-
-/**
- Increments the monotonic counter in the SPI flash device by 1.
-
- @retval EFI_SUCCESS The operation completed successfully.
- @retval EFI_DEVICE_ERROR A device error occurred while attempting to update the counter.
- @retval EFI_UNSUPPORTED The operation is un-supported.
-**/
-EFI_STATUS
-EFIAPI
-IncrementMonotonicCounter (
- VOID
- );
-
-#endif