diff options
author | GuoMinJ <newexplorerj@gmail.com> | 2020-03-05 14:40:55 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-04-08 01:12:36 +0000 |
commit | 8acb61dfb3b3517826ab4df6ebde085bc479eac1 (patch) | |
tree | 27e06a630e75b18bb30c667326ef5a06867876ee /CryptoPkg/Library | |
parent | 9bb1f080c45f7253f9270662d55865a8718cebc8 (diff) | |
download | edk2-8acb61dfb3b3517826ab4df6ebde085bc479eac1.tar.gz edk2-8acb61dfb3b3517826ab4df6ebde085bc479eac1.tar.bz2 edk2-8acb61dfb3b3517826ab4df6ebde085bc479eac1.zip |
CryptoPkg/BaseCryptLibOnProtocolPpi: Add missing comments
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2552
DxeCryptLibConstructor have no comments for it, add comments for it.
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyux.lu@intel.com>
Signed-off-by: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Xiaoyu Lu <xiaoyux.lu@intel.com>
Diffstat (limited to 'CryptoPkg/Library')
-rw-r--r-- | CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c index 34d5f410b0..b503a5708b 100644 --- a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c +++ b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c @@ -32,6 +32,15 @@ GetCryptoServices ( return (VOID *)mCryptoProtocol;
}
+/**
+ Locate the valid Crypto Protocol.
+
+ @param ImageHandle The firmware allocated handle for the EFI image.
+ @param SystemTable A pointer to the EFI System Table.
+
+ @retval EFI_SUCCESS The constructor executed correctly.
+ @retval EFI_NOT_FOUND Found no valid Crypto Protocol.
+**/
EFI_STATUS
EFIAPI
DxeCryptLibConstructor (
|