Reviewed-by: Jian J Wang <[email protected]>
> -----Original Message----- > From: Zhang, Shenglei > Sent: Friday, August 16, 2019 2:54 PM > To: [email protected] > Cc: Wang, Jian J <[email protected]>; Ye, Ting <[email protected]> > Subject: [PATCH 1/1] CryptoPkg: Fix coding style > > Update attribute "Out" to "out". > The original "Out" can not pass ECC check. > > Cc: Jian Wang <[email protected]> > Cc: Ting Ye <[email protected]> > Signed-off-by: Shenglei Zhang <[email protected]> > --- > 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 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#45796): https://edk2.groups.io/g/devel/message/45796 Mute This Topic: https://groups.io/mt/32895950/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
