Re: [edk2-devel] [Patch] SecurityPkg: Fix spelling errors

2019-10-22 Thread Philippe Mathieu-Daudé

On 10/22/19 6:08 PM, Michael D Kinney wrote:

Response below.

Mike


-Original Message-
From: Philippe Mathieu-Daudé 
Sent: Tuesday, October 22, 2019 5:41 AM
To: devel@edk2.groups.io; Kinney, Michael D

Cc: Sean Brogan ; Yao,
Jiewen ; Wang, Jian J
; Zhang, Chao B

Subject: Re: [edk2-devel] [Patch] SecurityPkg: Fix
spelling errors

Hi Michael,

Few review comment below.

On 10/18/19 9:01 PM, Michael D Kinney wrote:

From: Sean Brogan 

https://bugzilla.tianocore.org/show_bug.cgi?id=2265

Cc: Jiewen Yao 
Cc: Jian J Wang 
Cc: Chao Zhang 
Signed-off-by: Michael D Kinney



---

[...]

--- a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c
+++ b/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c
@@ -1,7 +1,7 @@
   /** @file
 TCG MOR (Memory Overwrite Request) Control

Driver.


-  This driver initilize

MemoryOverwriteRequestControl variable. It

+  This driver initialize

MemoryOverwriteRequestControl variable. It

 will clear MOR_CLEAR_MEMORY_BIT bit if it is set.

It will also do TPer Reset for

 those encrypted drives through

EFI_STORAGE_SECURITY_COMMAND_PROTOCOL at EndOfDxe.


@@ -298,7 +298,7 @@ TPerResetAtEndOfDxe (
 @param[in] ImageHandle  Image handle of this

driver.

 @param[in] SystemTable  A Pointer to the EFI

System Table.


-  @retval EFI_SUCEESS
+  @retval EFI_SUCCESS
 @return Others  Some error occurs.
   **/
   EFI_STATUS
@@ -341,7 +341,7 @@ MorDriverEntryPoint (
   //
   // Create a Ready To Boot Event and Clear the

MorControl bit in the call back function.

   //
-DEBUG ((EFI_D_INFO, "TcgMor: Create ReadyToBoot

Event for MorControl Bit cleanning!\n"));

+DEBUG ((DEBUG_INFO, "TcgMor: Create ReadyToBoot

Event for MorControl Bit cleaning!\n"));

Hmm this is not a spelling change...


The original fix from Sean is for cleanning -> cleaning.
PatchCheck.py gets an error on this patch because EFI_D_ERROR
should not be used, so I added the change to use DEBUG_INFO
to pass PatchCheck.py.


I see. Since you need to respin to fix the "Volume" typo, do you mind 
adding a preliminary patch doing the EFI_D_INFO -> DEBUG_INFO conversion 
to satisfy PatchCheck.py, then the spelling changes?


[...]

@@ -146,7 +146,7 @@ EFI_PEI_NOTIFY_DESCRIPTOR

mNotifyList[] = {

   };

   /**
-  Record all measured Firmware Volum Information

into a Guid Hob

+  Record all measured Firmware Voluem Information

into a Guid Hob

Typo "Volume"


 Guid Hob payload layout is

UINT32 ***

FIRMWARE_BLOB number

@@ -501,7 +501,7 @@ MeasureMainBios (
   }

   /**
-  Measure and record the Firmware Volum Information

once FvInfoPPI install.

+  Measure and record the Firmware Voluem Information

once FvInfoPPI install.

Ditto "Volume"



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#49353): https://edk2.groups.io/g/devel/message/49353
Mute This Topic: https://groups.io/mt/35082674/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [edk2-devel] [Patch] SecurityPkg: Fix spelling errors

2019-10-22 Thread Philippe Mathieu-Daudé

Hi Michael,

Few review comment below.

On 10/18/19 9:01 PM, Michael D Kinney wrote:

From: Sean Brogan 

https://bugzilla.tianocore.org/show_bug.cgi?id=2265

Cc: Jiewen Yao 
Cc: Jian J Wang 
Cc: Chao Zhang 
Signed-off-by: Michael D Kinney 
---
  SecurityPkg/FvReportPei/FvReportPei.c |  4 ++--
  SecurityPkg/Hash2DxeCrypto/Driver.c   |  6 ++---
  SecurityPkg/Hash2DxeCrypto/Driver.h   |  4 ++--
  SecurityPkg/HddPassword/HddPasswordDxe.c  | 10 
  SecurityPkg/HddPassword/HddPasswordDxe.h  |  2 +-
  .../HddPassword/HddPasswordStrings.uni|  2 +-
  .../Guid/AuthenticatedVariableFormat.h|  2 +-
  .../Include/Library/Tcg2PhysicalPresenceLib.h |  4 ++--
  .../Include/Library/TcgStorageCoreLib.h   | 12 +-
  SecurityPkg/Include/Library/Tpm2CommandLib.h  |  2 +-
  SecurityPkg/Include/Library/TpmCommLib.h  |  2 +-
  .../Ppi/FirmwareVolumeInfoPrehashedFV.h   |  4 ++--
  .../Library/AuthVariableLib/AuthService.c |  4 ++--
  .../AuthVariableLib/AuthServiceInternal.h |  2 +-
  .../Library/AuthVariableLib/AuthVariableLib.c |  4 ++--
  .../DxeImageAuthenticationStatusLib.c |  2 +-
  .../DxeImageVerificationLib.c | 10 
  .../DxeRsa2048Sha256GuidedSectionExtractLib.c |  4 ++--
  ...xeRsa2048Sha256GuidedSectionExtractLib.inf |  2 +-
  ...xeRsa2048Sha256GuidedSectionExtractLib.uni |  2 +-
  .../DxeTpm2MeasureBootLib.c   |  4 ++--
  .../DxeTpmMeasureBootLib.c|  4 ++--
  .../DxeTpmMeasurementLib.c|  2 +-
  .../HashInstanceLibSha1/HashInstanceLibSha1.c |  2 +-
  .../HashInstanceLibSha256.c   |  2 +-
  .../HashInstanceLibSha384.c   |  2 +-
  .../HashInstanceLibSha512.c   |  2 +-
  SecurityPkg/Library/HashLibTpm2/HashLibTpm2.c |  2 +-
  .../PeiRsa2048Sha256GuidedSectionExtractLib.c |  4 ++--
  ...eiRsa2048Sha256GuidedSectionExtractLib.inf |  2 +-
  ...eiRsa2048Sha256GuidedSectionExtractLib.uni |  2 +-
  .../TcgStorageCoreLib/TcgStorageCore.c| 10 
  .../TcgStorageCoreLib/TcgStorageUtil.c|  2 +-
  .../TcgStorageOpalLib/TcgStorageOpalUtil.c|  6 ++---
  .../Library/Tpm12CommandLib/Tpm12NvStorage.c  |  2 +-
  .../Library/Tpm12DeviceLibDTpm/Tpm12Tis.c |  2 +-
  .../Library/Tpm2CommandLib/Tpm2Capability.c   |  4 ++--
  .../Library/Tpm2CommandLib/Tpm2Hierarchy.c|  2 +-
  .../Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c |  2 +-
  .../Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c   |  2 +-
  .../Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c   |  4 ++--
  .../Library/Tpm2DeviceLibDTpm/Tpm2Tis.c   |  4 ++--
  SecurityPkg/Library/TpmCommLib/CommonHeader.h |  2 +-
  SecurityPkg/Library/TpmCommLib/TisPc.c|  2 +-
  .../Pkcs7VerifyDxe/Pkcs7VerifyDxe.c   | 18 +++---
  .../RandomNumberGenerator/RngDxe/RdRand.c |  2 +-
  SecurityPkg/SecurityPkg.dec   | 18 +++---
  SecurityPkg/SecurityPkg.dsc   |  2 +-
  SecurityPkg/SecurityPkg.uni   | 12 +-
  .../Tcg/MemoryOverwriteControl/TcgMor.c   |  6 ++---
  .../Tcg/MemoryOverwriteControl/TcgMor.inf |  2 +-
  .../Tcg/MemoryOverwriteControl/TcgMor.uni |  2 +-
  .../TcgMorLock.c  |  4 ++--
  .../TcgMorLock.h  |  2 +-
  .../TcgMorLock.uni|  4 ++--
  .../TcgMorLockSmm.inf |  2 +-
  .../Tcg/Opal/OpalPassword/OpalDriver.c|  6 ++---
  .../Tcg/Opal/OpalPassword/OpalDriver.h|  6 ++---
  SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c   | 10 
  SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h   |  8 +++
  .../PhysicalPresencePei/PhysicalPresencePei.c |  2 +-
  SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr |  6 ++---
  SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c |  2 +-
  SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c   |  4 ++--
  SecurityPkg/Tcg/Tcg2Dxe/MeasureBootPeCoff.c   |  2 +-
  SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c |  2 +-
  SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 16 ++---
  SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c | 22 -
  SecurityPkg/Tcg/Tcg2Smm/Tpm.asl   |  6 ++---
  .../Tcg/TcgConfigDxe/TcgConfigDriver.c|  2 +-
  SecurityPkg/Tcg/TcgDxe/TcgDxe.c   |  6 ++---
  SecurityPkg/Tcg/TcgPei/TcgPei.c   | 18 +++---
  SecurityPkg/Tcg/TcgSmm/Tpm.asl|  6 ++---
  .../SecureBootConfigDriver.c  |  2 +-
  .../SecureBootConfigDxe.inf   |  2 +-
  .../SecureBootConfigDxe.uni   |  2 +-
  .../SecureBootConfigImpl.c| 24 +--
  .../SecureBootConfigImpl.h| 10 
  .../SecureBootConfigMisc.c|  8 +++
  .../SecureBootConfigNvData.h  |  4 ++--
  .../SecureBootConfigStrings.uni   |  4 ++--
  81 files 

Re: [edk2-devel] [Patch] SecurityPkg: Fix spelling errors

2019-10-21 Thread Yao, Jiewen
Reviewed-by: Jiewen Yao 

> -Original Message-
> From: Wang, Jian J 
> Sent: Tuesday, October 22, 2019 12:39 PM
> To: Kinney, Michael D ; devel@edk2.groups.io
> Cc: Sean Brogan ; Yao, Jiewen
> ; Zhang, Chao B 
> Subject: RE: [Patch] SecurityPkg: Fix spelling errors
> 
> 
> Reviewed-by: Jian J Wang 
> 
> > -Original Message-
> > From: Kinney, Michael D 
> > Sent: Saturday, October 19, 2019 3:02 AM
> > To: devel@edk2.groups.io
> > Cc: Sean Brogan ; Yao, Jiewen
> > ; Wang, Jian J ; Zhang, Chao
> B
> > 
> > Subject: [Patch] SecurityPkg: Fix spelling errors
> >
> > From: Sean Brogan 
> >
> > https://bugzilla.tianocore.org/show_bug.cgi?id=2265
> >
> > Cc: Jiewen Yao 
> > Cc: Jian J Wang 
> > Cc: Chao Zhang 
> > Signed-off-by: Michael D Kinney 
> > ---
> >  SecurityPkg/FvReportPei/FvReportPei.c |  4 ++--
> >  SecurityPkg/Hash2DxeCrypto/Driver.c   |  6 ++---
> >  SecurityPkg/Hash2DxeCrypto/Driver.h   |  4 ++--
> >  SecurityPkg/HddPassword/HddPasswordDxe.c  | 10 
> >  SecurityPkg/HddPassword/HddPasswordDxe.h  |  2 +-
> >  .../HddPassword/HddPasswordStrings.uni|  2 +-
> >  .../Guid/AuthenticatedVariableFormat.h|  2 +-
> >  .../Include/Library/Tcg2PhysicalPresenceLib.h |  4 ++--
> >  .../Include/Library/TcgStorageCoreLib.h   | 12 +-
> >  SecurityPkg/Include/Library/Tpm2CommandLib.h  |  2 +-
> >  SecurityPkg/Include/Library/TpmCommLib.h  |  2 +-
> >  .../Ppi/FirmwareVolumeInfoPrehashedFV.h   |  4 ++--
> >  .../Library/AuthVariableLib/AuthService.c |  4 ++--
> >  .../AuthVariableLib/AuthServiceInternal.h |  2 +-
> >  .../Library/AuthVariableLib/AuthVariableLib.c |  4 ++--
> >  .../DxeImageAuthenticationStatusLib.c |  2 +-
> >  .../DxeImageVerificationLib.c | 10 
> >  .../DxeRsa2048Sha256GuidedSectionExtractLib.c |  4 ++--
> >  ...xeRsa2048Sha256GuidedSectionExtractLib.inf |  2 +-
> >  ...xeRsa2048Sha256GuidedSectionExtractLib.uni |  2 +-
> >  .../DxeTpm2MeasureBootLib.c   |  4 ++--
> >  .../DxeTpmMeasureBootLib.c|  4 ++--
> >  .../DxeTpmMeasurementLib.c|  2 +-
> >  .../HashInstanceLibSha1/HashInstanceLibSha1.c |  2 +-
> >  .../HashInstanceLibSha256.c   |  2 +-
> >  .../HashInstanceLibSha384.c   |  2 +-
> >  .../HashInstanceLibSha512.c   |  2 +-
> >  SecurityPkg/Library/HashLibTpm2/HashLibTpm2.c |  2 +-
> >  .../PeiRsa2048Sha256GuidedSectionExtractLib.c |  4 ++--
> >  ...eiRsa2048Sha256GuidedSectionExtractLib.inf |  2 +-
> >  ...eiRsa2048Sha256GuidedSectionExtractLib.uni |  2 +-
> >  .../TcgStorageCoreLib/TcgStorageCore.c| 10 
> >  .../TcgStorageCoreLib/TcgStorageUtil.c|  2 +-
> >  .../TcgStorageOpalLib/TcgStorageOpalUtil.c|  6 ++---
> >  .../Library/Tpm12CommandLib/Tpm12NvStorage.c  |  2 +-
> >  .../Library/Tpm12DeviceLibDTpm/Tpm12Tis.c |  2 +-
> >  .../Library/Tpm2CommandLib/Tpm2Capability.c   |  4 ++--
> >  .../Library/Tpm2CommandLib/Tpm2Hierarchy.c|  2 +-
> >  .../Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c |  2 +-
> >  .../Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c   |  2 +-
> >  .../Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c   |  4 ++--
> >  .../Library/Tpm2DeviceLibDTpm/Tpm2Tis.c   |  4 ++--
> >  SecurityPkg/Library/TpmCommLib/CommonHeader.h |  2 +-
> >  SecurityPkg/Library/TpmCommLib/TisPc.c|  2 +-
> >  .../Pkcs7VerifyDxe/Pkcs7VerifyDxe.c   | 18 +++---
> >  .../RandomNumberGenerator/RngDxe/RdRand.c |  2 +-
> >  SecurityPkg/SecurityPkg.dec   | 18 +++---
> >  SecurityPkg/SecurityPkg.dsc   |  2 +-
> >  SecurityPkg/SecurityPkg.uni   | 12 +-
> >  .../Tcg/MemoryOverwriteControl/TcgMor.c   |  6 ++---
> >  .../Tcg/MemoryOverwriteControl/TcgMor.inf |  2 +-
> >  .../Tcg/MemoryOverwriteControl/TcgMor.uni |  2 +-
> >  .../TcgMorLock.c  |  4 ++--
> >  .../TcgMorLock.h  |  2 +-
> >  .../TcgMorLock.uni|  4 ++--
> >  .../TcgMorLockSmm.inf |  2 +-
> >  .../Tcg/Opal/OpalPassword/OpalDriver.c|  6 ++---
> >  .../Tcg/Opal/OpalPassword/OpalDriver.h|  6 ++---
> >  SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c   | 10 
> >  SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h   |  8 +++
> >  .../PhysicalPresencePei/PhysicalPresencePei.c |  2 +-
> >  SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr |  6 ++---
> >  SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c |  2 +-
> >  SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c   |  4 ++--
> >  SecurityPkg/Tcg/Tcg2Dxe/MeasureBootPeCoff.c   |  2 +-
> >  SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c |  2 +-
> >  SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 16 ++---
> >  SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c | 22 -
> >  SecurityPkg/Tcg/Tcg2Smm/Tpm.asl   |  6 ++---
> >  

Re: [edk2-devel] [Patch] SecurityPkg: Fix spelling errors

2019-10-21 Thread Wang, Jian J


Reviewed-by: Jian J Wang 

> -Original Message-
> From: Kinney, Michael D 
> Sent: Saturday, October 19, 2019 3:02 AM
> To: devel@edk2.groups.io
> Cc: Sean Brogan ; Yao, Jiewen
> ; Wang, Jian J ; Zhang, Chao B
> 
> Subject: [Patch] SecurityPkg: Fix spelling errors
> 
> From: Sean Brogan 
> 
> https://bugzilla.tianocore.org/show_bug.cgi?id=2265
> 
> Cc: Jiewen Yao 
> Cc: Jian J Wang 
> Cc: Chao Zhang 
> Signed-off-by: Michael D Kinney 
> ---
>  SecurityPkg/FvReportPei/FvReportPei.c |  4 ++--
>  SecurityPkg/Hash2DxeCrypto/Driver.c   |  6 ++---
>  SecurityPkg/Hash2DxeCrypto/Driver.h   |  4 ++--
>  SecurityPkg/HddPassword/HddPasswordDxe.c  | 10 
>  SecurityPkg/HddPassword/HddPasswordDxe.h  |  2 +-
>  .../HddPassword/HddPasswordStrings.uni|  2 +-
>  .../Guid/AuthenticatedVariableFormat.h|  2 +-
>  .../Include/Library/Tcg2PhysicalPresenceLib.h |  4 ++--
>  .../Include/Library/TcgStorageCoreLib.h   | 12 +-
>  SecurityPkg/Include/Library/Tpm2CommandLib.h  |  2 +-
>  SecurityPkg/Include/Library/TpmCommLib.h  |  2 +-
>  .../Ppi/FirmwareVolumeInfoPrehashedFV.h   |  4 ++--
>  .../Library/AuthVariableLib/AuthService.c |  4 ++--
>  .../AuthVariableLib/AuthServiceInternal.h |  2 +-
>  .../Library/AuthVariableLib/AuthVariableLib.c |  4 ++--
>  .../DxeImageAuthenticationStatusLib.c |  2 +-
>  .../DxeImageVerificationLib.c | 10 
>  .../DxeRsa2048Sha256GuidedSectionExtractLib.c |  4 ++--
>  ...xeRsa2048Sha256GuidedSectionExtractLib.inf |  2 +-
>  ...xeRsa2048Sha256GuidedSectionExtractLib.uni |  2 +-
>  .../DxeTpm2MeasureBootLib.c   |  4 ++--
>  .../DxeTpmMeasureBootLib.c|  4 ++--
>  .../DxeTpmMeasurementLib.c|  2 +-
>  .../HashInstanceLibSha1/HashInstanceLibSha1.c |  2 +-
>  .../HashInstanceLibSha256.c   |  2 +-
>  .../HashInstanceLibSha384.c   |  2 +-
>  .../HashInstanceLibSha512.c   |  2 +-
>  SecurityPkg/Library/HashLibTpm2/HashLibTpm2.c |  2 +-
>  .../PeiRsa2048Sha256GuidedSectionExtractLib.c |  4 ++--
>  ...eiRsa2048Sha256GuidedSectionExtractLib.inf |  2 +-
>  ...eiRsa2048Sha256GuidedSectionExtractLib.uni |  2 +-
>  .../TcgStorageCoreLib/TcgStorageCore.c| 10 
>  .../TcgStorageCoreLib/TcgStorageUtil.c|  2 +-
>  .../TcgStorageOpalLib/TcgStorageOpalUtil.c|  6 ++---
>  .../Library/Tpm12CommandLib/Tpm12NvStorage.c  |  2 +-
>  .../Library/Tpm12DeviceLibDTpm/Tpm12Tis.c |  2 +-
>  .../Library/Tpm2CommandLib/Tpm2Capability.c   |  4 ++--
>  .../Library/Tpm2CommandLib/Tpm2Hierarchy.c|  2 +-
>  .../Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c |  2 +-
>  .../Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c   |  2 +-
>  .../Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c   |  4 ++--
>  .../Library/Tpm2DeviceLibDTpm/Tpm2Tis.c   |  4 ++--
>  SecurityPkg/Library/TpmCommLib/CommonHeader.h |  2 +-
>  SecurityPkg/Library/TpmCommLib/TisPc.c|  2 +-
>  .../Pkcs7VerifyDxe/Pkcs7VerifyDxe.c   | 18 +++---
>  .../RandomNumberGenerator/RngDxe/RdRand.c |  2 +-
>  SecurityPkg/SecurityPkg.dec   | 18 +++---
>  SecurityPkg/SecurityPkg.dsc   |  2 +-
>  SecurityPkg/SecurityPkg.uni   | 12 +-
>  .../Tcg/MemoryOverwriteControl/TcgMor.c   |  6 ++---
>  .../Tcg/MemoryOverwriteControl/TcgMor.inf |  2 +-
>  .../Tcg/MemoryOverwriteControl/TcgMor.uni |  2 +-
>  .../TcgMorLock.c  |  4 ++--
>  .../TcgMorLock.h  |  2 +-
>  .../TcgMorLock.uni|  4 ++--
>  .../TcgMorLockSmm.inf |  2 +-
>  .../Tcg/Opal/OpalPassword/OpalDriver.c|  6 ++---
>  .../Tcg/Opal/OpalPassword/OpalDriver.h|  6 ++---
>  SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c   | 10 
>  SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h   |  8 +++
>  .../PhysicalPresencePei/PhysicalPresencePei.c |  2 +-
>  SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr |  6 ++---
>  SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c |  2 +-
>  SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c   |  4 ++--
>  SecurityPkg/Tcg/Tcg2Dxe/MeasureBootPeCoff.c   |  2 +-
>  SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c |  2 +-
>  SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 16 ++---
>  SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c | 22 -
>  SecurityPkg/Tcg/Tcg2Smm/Tpm.asl   |  6 ++---
>  .../Tcg/TcgConfigDxe/TcgConfigDriver.c|  2 +-
>  SecurityPkg/Tcg/TcgDxe/TcgDxe.c   |  6 ++---
>  SecurityPkg/Tcg/TcgPei/TcgPei.c   | 18 +++---
>  SecurityPkg/Tcg/TcgSmm/Tpm.asl|  6 ++---
>  .../SecureBootConfigDriver.c  |  2 +-
>  .../SecureBootConfigDxe.inf   |  2 +-
>  .../SecureBootConfigDxe.uni   |  2 +-
>  .../SecureBootConfigImpl.c 

[edk2-devel] [Patch] SecurityPkg: Fix spelling errors

2019-10-18 Thread Michael D Kinney
From: Sean Brogan 

https://bugzilla.tianocore.org/show_bug.cgi?id=2265

Cc: Jiewen Yao 
Cc: Jian J Wang 
Cc: Chao Zhang 
Signed-off-by: Michael D Kinney 
---
 SecurityPkg/FvReportPei/FvReportPei.c |  4 ++--
 SecurityPkg/Hash2DxeCrypto/Driver.c   |  6 ++---
 SecurityPkg/Hash2DxeCrypto/Driver.h   |  4 ++--
 SecurityPkg/HddPassword/HddPasswordDxe.c  | 10 
 SecurityPkg/HddPassword/HddPasswordDxe.h  |  2 +-
 .../HddPassword/HddPasswordStrings.uni|  2 +-
 .../Guid/AuthenticatedVariableFormat.h|  2 +-
 .../Include/Library/Tcg2PhysicalPresenceLib.h |  4 ++--
 .../Include/Library/TcgStorageCoreLib.h   | 12 +-
 SecurityPkg/Include/Library/Tpm2CommandLib.h  |  2 +-
 SecurityPkg/Include/Library/TpmCommLib.h  |  2 +-
 .../Ppi/FirmwareVolumeInfoPrehashedFV.h   |  4 ++--
 .../Library/AuthVariableLib/AuthService.c |  4 ++--
 .../AuthVariableLib/AuthServiceInternal.h |  2 +-
 .../Library/AuthVariableLib/AuthVariableLib.c |  4 ++--
 .../DxeImageAuthenticationStatusLib.c |  2 +-
 .../DxeImageVerificationLib.c | 10 
 .../DxeRsa2048Sha256GuidedSectionExtractLib.c |  4 ++--
 ...xeRsa2048Sha256GuidedSectionExtractLib.inf |  2 +-
 ...xeRsa2048Sha256GuidedSectionExtractLib.uni |  2 +-
 .../DxeTpm2MeasureBootLib.c   |  4 ++--
 .../DxeTpmMeasureBootLib.c|  4 ++--
 .../DxeTpmMeasurementLib.c|  2 +-
 .../HashInstanceLibSha1/HashInstanceLibSha1.c |  2 +-
 .../HashInstanceLibSha256.c   |  2 +-
 .../HashInstanceLibSha384.c   |  2 +-
 .../HashInstanceLibSha512.c   |  2 +-
 SecurityPkg/Library/HashLibTpm2/HashLibTpm2.c |  2 +-
 .../PeiRsa2048Sha256GuidedSectionExtractLib.c |  4 ++--
 ...eiRsa2048Sha256GuidedSectionExtractLib.inf |  2 +-
 ...eiRsa2048Sha256GuidedSectionExtractLib.uni |  2 +-
 .../TcgStorageCoreLib/TcgStorageCore.c| 10 
 .../TcgStorageCoreLib/TcgStorageUtil.c|  2 +-
 .../TcgStorageOpalLib/TcgStorageOpalUtil.c|  6 ++---
 .../Library/Tpm12CommandLib/Tpm12NvStorage.c  |  2 +-
 .../Library/Tpm12DeviceLibDTpm/Tpm12Tis.c |  2 +-
 .../Library/Tpm2CommandLib/Tpm2Capability.c   |  4 ++--
 .../Library/Tpm2CommandLib/Tpm2Hierarchy.c|  2 +-
 .../Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c |  2 +-
 .../Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c   |  2 +-
 .../Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c   |  4 ++--
 .../Library/Tpm2DeviceLibDTpm/Tpm2Tis.c   |  4 ++--
 SecurityPkg/Library/TpmCommLib/CommonHeader.h |  2 +-
 SecurityPkg/Library/TpmCommLib/TisPc.c|  2 +-
 .../Pkcs7VerifyDxe/Pkcs7VerifyDxe.c   | 18 +++---
 .../RandomNumberGenerator/RngDxe/RdRand.c |  2 +-
 SecurityPkg/SecurityPkg.dec   | 18 +++---
 SecurityPkg/SecurityPkg.dsc   |  2 +-
 SecurityPkg/SecurityPkg.uni   | 12 +-
 .../Tcg/MemoryOverwriteControl/TcgMor.c   |  6 ++---
 .../Tcg/MemoryOverwriteControl/TcgMor.inf |  2 +-
 .../Tcg/MemoryOverwriteControl/TcgMor.uni |  2 +-
 .../TcgMorLock.c  |  4 ++--
 .../TcgMorLock.h  |  2 +-
 .../TcgMorLock.uni|  4 ++--
 .../TcgMorLockSmm.inf |  2 +-
 .../Tcg/Opal/OpalPassword/OpalDriver.c|  6 ++---
 .../Tcg/Opal/OpalPassword/OpalDriver.h|  6 ++---
 SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c   | 10 
 SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h   |  8 +++
 .../PhysicalPresencePei/PhysicalPresencePei.c |  2 +-
 SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr |  6 ++---
 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c |  2 +-
 SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c   |  4 ++--
 SecurityPkg/Tcg/Tcg2Dxe/MeasureBootPeCoff.c   |  2 +-
 SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c |  2 +-
 SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 16 ++---
 SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c | 22 -
 SecurityPkg/Tcg/Tcg2Smm/Tpm.asl   |  6 ++---
 .../Tcg/TcgConfigDxe/TcgConfigDriver.c|  2 +-
 SecurityPkg/Tcg/TcgDxe/TcgDxe.c   |  6 ++---
 SecurityPkg/Tcg/TcgPei/TcgPei.c   | 18 +++---
 SecurityPkg/Tcg/TcgSmm/Tpm.asl|  6 ++---
 .../SecureBootConfigDriver.c  |  2 +-
 .../SecureBootConfigDxe.inf   |  2 +-
 .../SecureBootConfigDxe.uni   |  2 +-
 .../SecureBootConfigImpl.c| 24 +--
 .../SecureBootConfigImpl.h| 10 
 .../SecureBootConfigMisc.c|  8 +++
 .../SecureBootConfigNvData.h  |  4 ++--
 .../SecureBootConfigStrings.uni   |  4 ++--
 81 files changed, 205 insertions(+), 205 deletions(-)

diff --git a/SecurityPkg/FvReportPei/FvReportPei.c 
b/SecurityPkg/FvReportPei/FvReportPei.c
index d24470af6b..d709760ea3 100644