public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Zhang, Shenglei" <shenglei.zhang@intel.com>
To: devel@edk2.groups.io
Cc: Jian Wang <jian.j.wang@intel.com>, Ting Ye <ting.ye@intel.com>
Subject: [PATCH 1/1] CryptoPkg: Fix coding style
Date: Fri, 16 Aug 2019 14:53:50 +0800	[thread overview]
Message-ID: <20190816065350.21680-1-shenglei.zhang@intel.com> (raw)

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


             reply	other threads:[~2019-08-16  6:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-16  6:53 Zhang, Shenglei [this message]
2019-08-16  7:18 ` [PATCH 1/1] CryptoPkg: Fix coding style Wang, Jian J
2019-08-16  7:56   ` Zhang, Shenglei
2019-08-19  0:48     ` [edk2-devel] " Liming Gao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190816065350.21680-1-shenglei.zhang@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox