mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
Introduce a helper library that implements wrappers for the
cryptographic functionality required by the Arm Boot Sync
Blocks protocol implementation.
This library implements the following:
- Key Exchange: ECDH key using the ECC Curve-P384
- Key Derivation: SHA512 HMAC-based Extract-and-Expand HKDF
- Encryption/Decryption: AEAD AES-GCM authenticated encryption
and decryption
Also register the library class in ArmVirtPkg.dec, wire the
instance into the KvmTool guest firmware and update the CI YAML
file to add CryptoPkg/CryptoPkg.dec as an acceptable dependency.
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
33 lines
797 B
INI
33 lines
797 B
INI
## @file
|
|
# Library that implements the Boot Sync Crypto interfaces.
|
|
#
|
|
# Copyright (c) 2024, Arm Limited. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x0001001B
|
|
BASE_NAME = ArmCcaBootSyncCryptoLib
|
|
FILE_GUID = 234394BC-1D5D-4F6D-A890-259B166BCF0A
|
|
MODULE_TYPE = BASE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = ArmCcaBootSyncCryptoLib
|
|
|
|
[Sources]
|
|
ArmCcaBootSyncCrypto.h
|
|
ArmCcaBootSyncCryptoLib.c
|
|
|
|
[Packages]
|
|
ArmVirtPkg/ArmVirtPkg.dec
|
|
CryptoPkg/CryptoPkg.dec
|
|
MdePkg/MdePkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseCryptLib
|
|
BaseLib
|
|
BaseMemoryLib
|
|
DebugLib
|
|
RngLib
|
|
MemoryAllocationLib
|