From: "Zhang, Shenglei" <shenglei.zhang@intel.com>
To: "Wang, Jian J" <jian.j.wang@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Ye, Ting" <ting.ye@intel.com>
Subject: Re: [PATCH 1/1] CryptoPkg: Fix coding style
Date: Fri, 16 Aug 2019 07:56:28 +0000 [thread overview]
Message-ID: <C0706E73DB8C124D9B9C38AA364E5D5E0561B3FB@SHSMSX106.ccr.corp.intel.com> (raw)
In-Reply-To: <D827630B58408649ACB04F44C51000362595D230@SHSMSX107.ccr.corp.intel.com>
Hi All,
This patch has little impact. So I think it's ok to be checked in before code freeze.
Thanks,
Shenglei
> -----Original Message-----
> From: Wang, Jian J
> Sent: Friday, August 16, 2019 3:18 PM
> To: Zhang, Shenglei <shenglei.zhang@intel.com>; devel@edk2.groups.io
> Cc: Ye, Ting <ting.ye@intel.com>
> Subject: RE: [PATCH 1/1] CryptoPkg: Fix coding style
>
>
> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
>
>
> > -----Original Message-----
> > From: Zhang, Shenglei
> > Sent: Friday, August 16, 2019 2:54 PM
> > To: devel@edk2.groups.io
> > Cc: Wang, Jian J <jian.j.wang@intel.com>; Ye, Ting <ting.ye@intel.com>
> > Subject: [PATCH 1/1] CryptoPkg: Fix coding style
> >
> > 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
next prev parent reply other threads:[~2019-08-16 7:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=C0706E73DB8C124D9B9C38AA364E5D5E0561B3FB@SHSMSX106.ccr.corp.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