From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: shenglei.zhang@intel.com) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by groups.io with SMTP; Thu, 15 Aug 2019 23:53:54 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Aug 2019 23:53:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,391,1559545200"; d="scan'208";a="182100757" Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 15 Aug 2019 23:53:52 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Jian Wang , Ting Ye Subject: [PATCH 1/1] CryptoPkg: Fix coding style Date: Fri, 16 Aug 2019 14:53:50 +0800 Message-Id: <20190816065350.21680-1-shenglei.zhang@intel.com> X-Mailer: git-send-email 2.18.0.windows.1 Update attribute "Out" to "out". The original "Out" can not pass ECC check. Cc: Jian Wang Cc: Ting Ye Signed-off-by: Shenglei Zhang --- 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