public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 1/2] CryptoPkg/BaseCryptLibOnProtocolPpi: Add missing comments
@ 2020-03-05  6:40 GuoMinJ
  2020-03-05  6:40 ` [PATCH v2 2/2] CryptoPkg/BaseHashApiLib: Rename BaseHashApiLib by HashApiLib GuoMinJ
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: GuoMinJ @ 2020-03-05  6:40 UTC (permalink / raw)
  To: devel; +Cc: GuoMinJ, Jian J Wang, Xiaoyu Lu

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: GuoMinJ <newexplorerj@gmail.com>
---
 .../Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.c      | 9 +++++++++
 1 file changed, 9 insertions(+)

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 (
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-03-27  9:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-05  6:40 [PATCH v2 1/2] CryptoPkg/BaseCryptLibOnProtocolPpi: Add missing comments GuoMinJ
2020-03-05  6:40 ` [PATCH v2 2/2] CryptoPkg/BaseHashApiLib: Rename BaseHashApiLib by HashApiLib GuoMinJ
2020-03-12  5:53   ` [edk2-devel] " Zhang, Shenglei
2020-03-17  0:16     ` Liming Gao
2020-03-27  9:23   ` Xiaoyu Lu
2020-03-12  5:49 ` [edk2-devel] [PATCH v2 1/2] CryptoPkg/BaseCryptLibOnProtocolPpi: Add missing comments Zhang, Shenglei
2020-03-17  0:14   ` Liming Gao
2020-03-27  9:23 ` Xiaoyu Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox