public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 1/1] CryptoPkg: Fix coding style
@ 2019-08-16  6:53 Zhang, Shenglei
  2019-08-16  7:18 ` Wang, Jian J
  0 siblings, 1 reply; 4+ messages in thread
From: Zhang, Shenglei @ 2019-08-16  6:53 UTC (permalink / raw)
  To: devel; +Cc: Jian Wang, Ting Ye

Update attribute "Out" to "out".
The original "Out" can not pass ECC check.

Cc: Jian Wang <jian.j.wang@intel.com>
Cc: Ting Ye <ting.ye@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
---
 CryptoPkg/Library/BaseCryptLib/Kdf/CryptHkdf.c     | 2 +-
 CryptoPkg/Library/BaseCryptLib/Kdf/CryptHkdfNull.c | 2 +-
 CryptoPkg/Include/Library/BaseCryptLib.h           | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CryptoPkg/Library/BaseCryptLib/Kdf/CryptHkdf.c b/CryptoPkg/Library/BaseCryptLib/Kdf/CryptHkdf.c
index f0fcef211d3f..3a827dadfcbd 100644
--- a/CryptoPkg/Library/BaseCryptLib/Kdf/CryptHkdf.c
+++ b/CryptoPkg/Library/BaseCryptLib/Kdf/CryptHkdf.c
@@ -19,7 +19,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
   @param[in]   SaltSize         Salt size in bytes.
   @param[in]   Info             Pointer to the application specific info.
   @param[in]   InfoSize         Info size in bytes.
-  @param[Out]  Out              Pointer to buffer to receive hkdf value.
+  @param[out]  Out              Pointer to buffer to receive hkdf value.
   @param[in]   OutSize          Size of hkdf bytes to generate.
 
   @retval TRUE   Hkdf generated successfully.
diff --git a/CryptoPkg/Library/BaseCryptLib/Kdf/CryptHkdfNull.c b/CryptoPkg/Library/BaseCryptLib/Kdf/CryptHkdfNull.c
index 73deb5bc3614..19d795a4cc16 100644
--- a/CryptoPkg/Library/BaseCryptLib/Kdf/CryptHkdfNull.c
+++ b/CryptoPkg/Library/BaseCryptLib/Kdf/CryptHkdfNull.c
@@ -18,7 +18,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
   @param[in]   SaltSize         Salt size in bytes.
   @param[in]   Info             Pointer to the application specific info.
   @param[in]   InfoSize         Info size in bytes.
-  @param[Out]  Out              Pointer to buffer to receive hkdf value.
+  @param[out]  Out              Pointer to buffer to receive hkdf value.
   @param[in]   OutSize          Size of hkdf bytes to generate.
 
   @retval TRUE   Hkdf generated successfully.
diff --git a/CryptoPkg/Include/Library/BaseCryptLib.h b/CryptoPkg/Include/Library/BaseCryptLib.h
index da32bb2444fd..8fe303a0b390 100644
--- a/CryptoPkg/Include/Library/BaseCryptLib.h
+++ b/CryptoPkg/Include/Library/BaseCryptLib.h
@@ -3135,7 +3135,7 @@ RandomBytes (
   @param[in]   SaltSize         Salt size in bytes.
   @param[in]   Info             Pointer to the application specific info.
   @param[in]   InfoSize         Info size in bytes.
-  @param[Out]  Out              Pointer to buffer to receive hkdf value.
+  @param[out]  Out              Pointer to buffer to receive hkdf value.
   @param[in]   OutSize          Size of hkdf bytes to generate.
 
   @retval TRUE   Hkdf generated successfully.
-- 
2.18.0.windows.1


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

end of thread, other threads:[~2019-08-19  0:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-16  6:53 [PATCH 1/1] CryptoPkg: Fix coding style Zhang, Shenglei
2019-08-16  7:18 ` Wang, Jian J
2019-08-16  7:56   ` Zhang, Shenglei
2019-08-19  0:48     ` [edk2-devel] " Liming Gao

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