]>
git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Library/RpmcLibNull/RpmcLibNull.c
2 NULL RpmcLib instance for build purpose.
4 Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #include <Library/DebugLib.h>
10 #include <Library/RpmcLib.h>
13 Requests the monotonic counter from the designated RPMC counter.
15 @param[out] CounterValue A pointer to a buffer to store the RPMC value.
17 @retval EFI_SUCCESS The operation completed successfully.
18 @retval EFI_DEVICE_ERROR A device error occurred while attempting to update the counter.
19 @retval EFI_UNSUPPORTED The operation is un-supported.
23 RequestMonotonicCounter (
24 OUT UINT32
*CounterValue
28 return EFI_UNSUPPORTED
;
32 Increments the monotonic counter in the SPI flash device by 1.
34 @retval EFI_SUCCESS The operation completed successfully.
35 @retval EFI_DEVICE_ERROR A device error occurred while attempting to update the counter.
36 @retval EFI_UNSUPPORTED The operation is un-supported.
40 IncrementMonotonicCounter (
45 return EFI_UNSUPPORTED
;