SecurityPkg: add DeviceSecurity support
This patch implement the SpdmSecurityLib, which is the core of DeviceSecurity. And the SpdmSecurityLib include Device Authentication and Measurement. The other library is to support SpdmSecurityLib. Cc: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Wenxing Hou <wenxing.hou@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
c3f615a1bd
commit
750d763623
47
SecurityPkg/DeviceSecurity/SpdmLib/SpdmCommonLib.inf
Normal file
47
SecurityPkg/DeviceSecurity/SpdmLib/SpdmCommonLib.inf
Normal file
@@ -0,0 +1,47 @@
|
||||
## @file
|
||||
# SPDM library.
|
||||
#
|
||||
# Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = SpdmCommonLib
|
||||
FILE_GUID = 4D42800D-2197-46EC-8E04-6B41BFD60687
|
||||
MODULE_TYPE = BASE
|
||||
VERSION_STRING = 1.0
|
||||
LIBRARY_CLASS = SpdmCommonLib
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64 AARCH64
|
||||
#
|
||||
|
||||
[Sources]
|
||||
libspdm/library/spdm_common_lib/libspdm_com_context_data.c
|
||||
libspdm/library/spdm_common_lib/libspdm_com_context_data_session.c
|
||||
libspdm/library/spdm_common_lib/libspdm_com_crypto_service.c
|
||||
libspdm/library/spdm_common_lib/libspdm_com_crypto_service_session.c
|
||||
libspdm/library/spdm_common_lib/libspdm_com_opaque_data.c
|
||||
libspdm/library/spdm_common_lib/libspdm_com_support.c
|
||||
libspdm/library/spdm_common_lib/libspdm_com_msg_log.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
SecurityPkg/SecurityPkg.dec
|
||||
CryptoPkg/CryptoPkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
BaseLib
|
||||
BaseMemoryLib
|
||||
DebugLib
|
||||
BaseCryptLib
|
||||
RngLib
|
||||
SpdmCryptLib
|
||||
SpdmDeviceSecretLib
|
||||
MemLibWrapper
|
||||
CryptlibWrapper
|
Reference in New Issue
Block a user