]> git.proxmox.com Git - mirror_edk2.git/commitdiff
CryptoPkg/BaseCryptLibOnProtocolPpi: Add missing comments
authorGuoMinJ <newexplorerj@gmail.com>
Thu, 5 Mar 2020 06:40:55 +0000 (14:40 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 8 Apr 2020 01:12:36 +0000 (01:12 +0000)
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>
CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c

index 34d5f410b0710113608dd2d4777f846068c26a22..b503a5708bdbc72fec2c1328654d2deab2174625 100644 (file)
@@ -32,6 +32,15 @@ GetCryptoServices (
   return (VOID *)mCryptoProtocol;\r
 }\r
 \r
+/**\r
+  Locate the valid Crypto Protocol.\r
+\r
+  @param  ImageHandle   The firmware allocated handle for the EFI image.\r
+  @param  SystemTable   A pointer to the EFI System Table.\r
+\r
+  @retval EFI_SUCCESS   The constructor executed correctly.\r
+  @retval EFI_NOT_FOUND Found no valid Crypto Protocol.\r
+**/\r
 EFI_STATUS\r
 EFIAPI\r
 DxeCryptLibConstructor (\r