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>
17 lines
399 B
C
17 lines
399 B
C
/** @file
|
|
EDKII Device Security library for SPDM device.
|
|
It follows the SPDM Specification.
|
|
|
|
Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#ifndef LIBSPDM_STD_DEF_ALT_H
|
|
#define LIBSPDM_STD_DEF_ALT_H
|
|
|
|
typedef UINTN size_t;
|
|
#define offsetof(type, member) OFFSET_OF(type,member)
|
|
|
|
#endif /* LIBSPDM_STDDEF_ALT */
|