Install the Hash 2 Service Binding Protocol (#857)

## Description

Links the non-NULL instance of DxeHash2CryptoLib to QemuQ35Pkg and
QemuSbsaPkg so the Hash 2 Service Binding protocol is installed.

This can be used as a dynamic hashing interface by other modules.

- [x] Impacts functionality?
- **Functionality** - Does the change ultimately impact how firmware
functions?
- Examples: Add a new library, publish a new PPI, update an algorithm,
...
- [ ] Impacts security?
- **Security** - Does the change have a direct security impact on an
application,
    flow, or firmware?
  - Examples: Crypto algorithm change, buffer overflow fix, parameter
    validation improvement, ...
- [ ] Breaking change?
- **Breaking change** - Will anyone consuming this change experience a
break
    in build or boot behavior?
- Examples: Add a new library class, move a module to a different repo,
call
    a function in a new library class in a pre-existing module, ...
- [ ] Includes tests?
  - **Tests** - Does the change include any explicit test code?
  - Examples: Unit tests, integration tests, robot tests, ...
- [ ] Includes documentation?
- **Documentation** - Does the change contain explicit documentation
additions
    outside direct code modifications (and comments)?
- Examples: Update readme file, add feature readme file, link to
documentation
    on an a separate Web page, ...

## How This Was Tested

Verified Hash 2 Service Binding protocol is installed by MuCryptoDxe.


![image](https://github.com/microsoft/mu_tiano_platforms/assets/21320094/86f8892a-ce01-43b4-b91e-b3adb531b939)


![image](https://github.com/microsoft/mu_tiano_platforms/assets/21320094/a0ac0040-9089-46de-89d0-8af30449a6c9)

## Integration Instructions

N/A

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
This commit is contained in:
Michael Kubacki 2024-02-16 21:11:20 -05:00 коммит произвёл GitHub
Родитель 0318490bba
Коммит ec69f431f2
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -227,7 +227,7 @@
# Crypto Libraries
RngLib |MdePkg/Library/BaseRngLib/BaseRngLib.inf
Hash2CryptoLib |SecurityPkg/Library/BaseHash2CryptoLibNull/BaseHash2CryptoLibNull.inf
Hash2CryptoLib |SecurityPkg/Library/DxeHash2CryptoLib/DxeHash2CryptoLib.inf
# Power/Thermal/Power State Libraries
MsNVBootReasonLib |OemPkg/Library/MsNVBootReasonLib/MsNVBootReasonLib.inf # interface on Reboot Reason non volatile variables

Просмотреть файл

@ -198,7 +198,7 @@
RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
ArmMonitorLib|ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.inf
ArmTrngLib|ArmPkg/Library/ArmTrngLib/ArmTrngLib.inf
Hash2CryptoLib|SecurityPkg/Library/BaseHash2CryptoLibNull/BaseHash2CryptoLibNull.inf
Hash2CryptoLib|SecurityPkg/Library/DxeHash2CryptoLib/DxeHash2CryptoLib.inf
#
# Secure Boot dependencies