2 Installs the EDK II Crypto SMM Protocol
4 Copyright (C) Microsoft Corporation. All rights reserved.
5 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #include <Library/SmmServicesTableLib.h>
11 #include <Protocol/SmmCrypto.h>
13 extern CONST EDKII_CRYPTO_PROTOCOL mEdkiiCrypto
;
16 The module Entry Point of the Crypto SMM Driver.
18 @param[in] ImageHandle The firmware allocated handle for the EFI image.
19 @param[in] SystemTable A pointer to the EFI System Table.
21 @retval EFI_SUCCESS The entry point is executed successfully.
22 @retval Other Some error occurs when executing this entry point.
28 IN EFI_HANDLE ImageHandle
,
29 IN EFI_SYSTEM_TABLE
*SystemTable
35 return gSmst
->SmmInstallProtocolInterface (
37 &gEdkiiSmmCryptoProtocolGuid
,
39 (EDKII_CRYPTO_PROTOCOL
*)&mEdkiiCrypto