From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.groups.io with SMTP id smtpd.web10.2476.1571748071265943380 for ; Tue, 22 Oct 2019 05:41:11 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=N65yHhz/; spf=pass (domain: redhat.com, ip: 205.139.110.61, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571748070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B2DYs4sd8KuOiTuurTBUfzPBsfsrWBGHASJC/Yd91NQ=; b=N65yHhz/sNJh9UDgnpj6DUGv9ZoNYaVNHIe6LZ3DtJcHakOOt4UnRbhmPo0KfpUg5Qxhbu NajiD/MQc231rSmh38HfKd2TxIbZ1ZbcsVUSO0Y/WyMDBfAoYhosI09P1JXn4vQxf/414U mazXFjGCXT6F5xiSUvE/1/EqH6WCV+g= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-22-Ngq1kkh2M1qBfGKMMrPJuA-1; Tue, 22 Oct 2019 08:41:05 -0400 Received: by mail-wm1-f71.google.com with SMTP id o188so7417666wmo.5 for ; Tue, 22 Oct 2019 05:41:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yMf7iZOlZEhckO0S+MB0E5A1110Hntwh4jSMnmKxVR8=; b=p+sEeMki/uyDsulQMNRDmEvW74K3hohm+JMorRzbDsW580UnViqcvdD9NLYpPBY7w6 v8sewqk23l3kujMfeuDoQl5AdgZCqWPzOuIjc2zQgGTx1zepQiAoPiHDO0FfA2h+leBe vWUseGACAGSClTnGp6X2YBaKrT1tbdCynMhc3ZgUssDPKTnMjLwPM9m3UwPAsSxg6Kvo RBVmjmvYpUaS01KObcIZPhGfF01l8qN5WhYiDNex//GrxxLkRvBWWKY6R8HAJBFbXqOa xO9mtdLvFet9Jwf5/uXdo7/xlBft9rCn5qpjCYFXs6ZKXxrgMSCbTOTUNy4wHOXnsiRZ Nurg== X-Gm-Message-State: APjAAAUJwPHUC2lKb2igeVvJvVlhCxTd/SPFm/eW695JSgNyxMx13gl3 UVzD1ZTTNPvxS3bKuaXE6X2K2uMLuSNWRH874CatfH3mZ5O37G5wO/ojOrA1PgTKmMk8Il4yY9G Dz/cM0Nc6ATSwow== X-Received: by 2002:a1c:cc18:: with SMTP id h24mr3015509wmb.40.1571748063533; Tue, 22 Oct 2019 05:41:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqz30u9vAc/DvbeNP75E5hoJYug3EJcbm8a+aqiU8odYq7FVvfNDa31QNm9X2eUmkshWrRtNcg== X-Received: by 2002:a1c:cc18:: with SMTP id h24mr3015416wmb.40.1571748062485; Tue, 22 Oct 2019 05:41:02 -0700 (PDT) Return-Path: Received: from [192.168.1.41] (129.red-83-57-174.dynamicip.rima-tde.net. [83.57.174.129]) by smtp.gmail.com with ESMTPSA id d199sm8930013wmd.35.2019.10.22.05.41.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Oct 2019 05:41:01 -0700 (PDT) Subject: Re: [edk2-devel] [Patch] SecurityPkg: Fix spelling errors To: devel@edk2.groups.io, michael.d.kinney@intel.com Cc: Sean Brogan , Jiewen Yao , Jian J Wang , Chao Zhang References: <20191018190138.25544-1-michael.d.kinney@intel.com> From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= Message-ID: <48a2b100-4460-17a3-4a31-e71ce85de4a1@redhat.com> Date: Tue, 22 Oct 2019 14:41:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <20191018190138.25544-1-michael.d.kinney@intel.com> X-MC-Unique: Ngq1kkh2M1qBfGKMMrPJuA-1 X-Mimecast-Spam-Score: 0 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Michael, Few review comment below. On 10/18/19 9:01 PM, Michael D Kinney wrote: > From: Sean Brogan >=20 > https://bugzilla.tianocore.org/show_bug.cgi?id=3D2265 >=20 > 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(-) >=20 > diff --git a/SecurityPkg/FvReportPei/FvReportPei.c b/SecurityPkg/FvReport= Pei/FvReportPei.c > index d24470af6b..d709760ea3 100644 > --- a/SecurityPkg/FvReportPei/FvReportPei.c > +++ b/SecurityPkg/FvReportPei/FvReportPei.c > @@ -145,7 +145,7 @@ VerifyHashedFv ( > ASSERT (HashValue !=3D NULL); > =20 > // > - // Calcuate hash value for each FV first. > + // Calculate hash value for each FV first. > // > FvHashValue =3D HashValue; > for (FvIndex =3D 0; FvIndex < FvNumber; ++FvIndex) { > @@ -281,7 +281,7 @@ ReportHashedFv ( > @param[in] StoredHashFvPpi Pointer to PPI containing hash informatio= n. > @param[in] BootMode Current boot mode. > =20 > - @retval Pointer to structure containning valid hash information for cu= rrent boot mode. > + @retval Pointer to structure containing valid hash information for cur= rent boot mode. > @retval NULL if there's no hash associated with current boot mode. > **/ > STATIC > diff --git a/SecurityPkg/Hash2DxeCrypto/Driver.c b/SecurityPkg/Hash2DxeCr= ypto/Driver.c > index 6aa88f8b3b..4627061a28 100644 > --- a/SecurityPkg/Hash2DxeCrypto/Driver.c > +++ b/SecurityPkg/Hash2DxeCrypto/Driver.c > @@ -22,7 +22,7 @@ EFI_SERVICE_BINDING_PROTOCOL mHash2ServiceBindingPro= tocol =3D { > it is not NULL, then the I/O servi= ces are added > to the existing child handle. > =20 > - @retval EFI_SUCCES The protocol was added to ChildHand= le. > + @retval EFI_SUCCESS The protocol was added to ChildHand= le. > @retval EFI_INVALID_PARAMETER ChildHandle is NULL. > @retval EFI_OUT_OF_RESOURCES There are not enough resources ava= ilable to > create the child. > @@ -99,7 +99,7 @@ Hash2ServiceBindingCreateChild ( > instance. > @param[in] ChildHandle Handle of the child to destroy. > =20 > - @retval EFI_SUCCES The protocol was removed from ChildHand= le. > + @retval EFI_SUCCESS The protocol was removed from ChildHand= le. > @retval EFI_UNSUPPORTED ChildHandle does not support the proto= col that > is being removed. > @retval EFI_INVALID_PARAMETER ChildHandle is NULL. > @@ -193,7 +193,7 @@ Hash2ServiceBindingDestroyChild ( > @param[in] ImageHandle The image handle of the driver. > @param[in] SystemTable The system table. > =20 > - @retval EFI_SUCCES The service binding protocols is successfully= installed. > + @retval EFI_SUCCESS The service binding protocols is successfully= installed. > @retval Others Other errors as indicated. > =20 > **/ > diff --git a/SecurityPkg/Hash2DxeCrypto/Driver.h b/SecurityPkg/Hash2DxeCr= ypto/Driver.h > index 162279e469..7b8996912a 100644 > --- a/SecurityPkg/Hash2DxeCrypto/Driver.h > +++ b/SecurityPkg/Hash2DxeCrypto/Driver.h > @@ -79,7 +79,7 @@ typedef struct { > it is not NULL, then the I/O servi= ces are added > to the existing child handle. > =20 > - @retval EFI_SUCCES The protocol was added to ChildHand= le. > + @retval EFI_SUCCESS The protocol was added to ChildHand= le. > @retval EFI_INVALID_PARAMETER ChildHandle is NULL. > @retval EFI_OUT_OF_RESOURCES There are not enough resources ava= ilable to > create the child. > @@ -104,7 +104,7 @@ Hash2ServiceBindingCreateChild ( > instance. > @param[in] ChildHandle Handle of the child to destroy. > =20 > - @retval EFI_SUCCES The protocol was removed from ChildHand= le. > + @retval EFI_SUCCESS The protocol was removed from ChildHand= le. > @retval EFI_UNSUPPORTED ChildHandle does not support the proto= col that > is being removed. > @retval EFI_INVALID_PARAMETER ChildHandle is NULL. > diff --git a/SecurityPkg/HddPassword/HddPasswordDxe.c b/SecurityPkg/HddPa= ssword/HddPasswordDxe.c > index 051e64091d..a25b3471d0 100644 > --- a/SecurityPkg/HddPassword/HddPasswordDxe.c > +++ b/SecurityPkg/HddPassword/HddPasswordDxe.c > @@ -120,7 +120,7 @@ BuildHddPasswordDeviceInfo ( > =20 > // > // 1. Handle device which already set password. > - // 2. When request to send freeze comamnd, driver also needs to hand= le device > + // 2. When request to send freeze command, driver also needs to hand= le device > // which support security feature. > // > if ((!PasswordIsFullZero (ConfigFormEntry->Password)) || > @@ -2008,9 +2008,9 @@ SaveHddPasswordRequest ( > } > =20 > /** > - Get the HDD Password configuration form entry by the index of the goto= opcode actived. > + Get the HDD Password configuration form entry by the index of the goto= opcode activated. > =20 > - @param[in] Index The 0-based index of the goto opcode actived. > + @param[in] Index The 0-based index of the goto opcode activated. > =20 > @return The HDD Password configuration form entry found. > **/ > @@ -2758,7 +2758,7 @@ HddPasswordConfigFormInit ( > @param ImageHandle Image handle this driver. > @param SystemTable Pointer to SystemTable. > =20 > - @retval EFI_SUCESS This function always complete successfully. > + @retval EFI_SUCCESS This function always complete successfully. > =20 > **/ > EFI_STATUS > @@ -2806,7 +2806,7 @@ HddPasswordDxeInit ( > ASSERT_EFI_ERROR (Status); > =20 > // > - // Make HDD_PASSWORD_VARIABLE_NAME varible read-only. > + // Make HDD_PASSWORD_VARIABLE_NAME variable read-only. > // > Status =3D gBS->LocateProtocol (&gEdkiiVariableLockProtocolGuid, NULL= , (VOID **) &VariableLock); > if (!EFI_ERROR (Status)) { > diff --git a/SecurityPkg/HddPassword/HddPasswordDxe.h b/SecurityPkg/HddPa= ssword/HddPasswordDxe.h > index f695ca9454..87db587eb6 100644 > --- a/SecurityPkg/HddPassword/HddPasswordDxe.h > +++ b/SecurityPkg/HddPassword/HddPasswordDxe.h > @@ -88,7 +88,7 @@ typedef struct _HDD_PASSWORD_DXE_PRIVATE_DATA { > #define HDD_PASSWORD_DXE_PRIVATE_FROM_THIS(a) CR (a, HDD_PASSWORD_DXE_= PRIVATE_DATA, ConfigAccess, HDD_PASSWORD_DXE_PRIVATE_SIGNATURE) > =20 > // > -//Iterate through the doule linked list. NOT delete safe > +//Iterate through the double linked list. NOT delete safe > // > #define EFI_LIST_FOR_EACH(Entry, ListHead) \ > for (Entry =3D (ListHead)->ForwardLink; Entry !=3D (ListHead); Entry = =3D Entry->ForwardLink) > diff --git a/SecurityPkg/HddPassword/HddPasswordStrings.uni b/SecurityPkg= /HddPassword/HddPasswordStrings.uni > index 188c40f349..b6fddffced 100644 > --- a/SecurityPkg/HddPassword/HddPasswordStrings.uni > +++ b/SecurityPkg/HddPassword/HddPasswordStrings.uni > @@ -16,7 +16,7 @@ > #string STR_SECURITY_HDD_BANNER_ONE #language en-US "Allows A= ccess to Set, Modify and Clear HardDisk User and" > #string STR_SECURITY_HDD_BANNER_TWO #language en-US "Master P= asswords." > #string STR_SECURITY_HDD_BANNER_THREE #language en-US "User Pas= sword need to be installed for Enabling Security." > -#string STR_SECURITY_HDD_BANNER_FOUR #language en-US "Master Pa= ssword can be modified only when succesfully" > +#string STR_SECURITY_HDD_BANNER_FOUR #language en-US "Master Pa= ssword can be modified only when successfully" > #string STR_SECURITY_HDD_BANNER_FIVE #language en-US "unlocked= with User Password in POST." > =20 > #string STR_HDD_SECURITY_HD #language en-US "HDD Pass= word" > diff --git a/SecurityPkg/Include/Guid/AuthenticatedVariableFormat.h b/Sec= urityPkg/Include/Guid/AuthenticatedVariableFormat.h > index 2a097826a0..44ceebc488 100644 > --- a/SecurityPkg/Include/Guid/AuthenticatedVariableFormat.h > +++ b/SecurityPkg/Include/Guid/AuthenticatedVariableFormat.h > @@ -54,7 +54,7 @@ extern EFI_GUID gEfiVendorKeysNvGuid; > =20 > /// > /// "VendorKeysNv" variable to record the out of band secure boot keys= modification. > -/// This variable is a read-only NV varaible that indicates whether som= eone other than > +/// This variable is a read-only NV variable that indicates whether som= eone other than > /// the platform vendor has used a mechanism not defined by the UEFI S= pecification to > /// transition the system to setup mode or to update secure boot keys. > /// > diff --git a/SecurityPkg/Include/Library/Tcg2PhysicalPresenceLib.h b/Secu= rityPkg/Include/Library/Tcg2PhysicalPresenceLib.h > index 8da3deaf86..39febcb655 100644 > --- a/SecurityPkg/Include/Library/Tcg2PhysicalPresenceLib.h > +++ b/SecurityPkg/Include/Library/Tcg2PhysicalPresenceLib.h > @@ -29,8 +29,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent > // > // UEFI TCG2 library definition bit of the BIOS Information Flags > // > -#define TCG2_BIOS_INFORMATION_FLAG_HIERACHY_CONTROL_STORAGE_DISABLE = BIT8 > -#define TCG2_BIOS_INFORMATION_FLAG_HIERACHY_CONTROL_ENDORSEMENT_DISABLE = BIT9 > +#define TCG2_BIOS_INFORMATION_FLAG_HIERARCHY_CONTROL_STORAGE_DISABLE = BIT8 > +#define TCG2_BIOS_INFORMATION_FLAG_HIERARCHY_CONTROL_ENDORSEMENT_DISABLE= BIT9 Nice catch. > =20 > // > // UEFI TCG2 library definition bit of the BIOS Storage Management Flag= s > diff --git a/SecurityPkg/Include/Library/TcgStorageCoreLib.h b/SecurityPk= g/Include/Library/TcgStorageCoreLib.h > index 190065b63e..c25a56a14c 100644 > --- a/SecurityPkg/Include/Library/TcgStorageCoreLib.h > +++ b/SecurityPkg/Include/Library/TcgStorageCoreLib.h > @@ -696,7 +696,7 @@ TcgGetTokenUINT64( > Get next specify value. > =20 > @param ParseStruct Input parse structure. > - @param Value Return vlaue. > + @param Value Return value. > =20 > @retval return the action result. > =20 > @@ -713,7 +713,7 @@ TcgGetNextUINT8( > Get next specify value. > =20 > @param ParseStruct Input parse structure. > - @param Value Return vlaue. > + @param Value Return value. > =20 > @retval return the action result. > =20 > @@ -729,7 +729,7 @@ TcgGetNextUINT16( > Get next specify value. > =20 > @param ParseStruct Input parse structure. > - @param Value Return vlaue. > + @param Value Return value. > =20 > @retval return the action result. > =20 > @@ -745,7 +745,7 @@ TcgGetNextUINT32( > Get next specify value. > =20 > @param ParseStruct Input parse structure. > - @param Value Return vlaue. > + @param Value Return value. > =20 > @retval return the action result. > =20 > @@ -761,7 +761,7 @@ TcgGetNextUINT64( > Get next specify value. > =20 > @param ParseStruct Input parse structure. > - @param Value Return vlaue. > + @param Value Return value. > =20 > @retval return the action result. > =20 > @@ -1261,7 +1261,7 @@ TcgEnumLevel0Discovery( > Get Feature code from the header. > =20 > @param DiscoveryHeader The discovery header. > - @param FeatureCode reutrn the Feature code. > + @param FeatureCode return the Feature code. > @param FeatureSize return the Feature size. > =20 > @retval return the Feature code data. > diff --git a/SecurityPkg/Include/Library/Tpm2CommandLib.h b/SecurityPkg/I= nclude/Library/Tpm2CommandLib.h > index d78d5ee1ba..ce381e786b 100644 > --- a/SecurityPkg/Include/Library/Tpm2CommandLib.h > +++ b/SecurityPkg/Include/Library/Tpm2CommandLib.h > @@ -585,7 +585,7 @@ Tpm2PcrAllocateBanks ( > NOTE: > To simplify this function, leave returned CapabilityData for caller t= o unpack since there are > many capability categories and only few categories will be used in fi= rmware. It means the caller > - need swap the byte order for the feilds in CapabilityData. > + need swap the byte order for the fields in CapabilityData. > =20 > @param[in] Capability Group selection; determines the format= of the response. > @param[in] Property Further definition of information. > diff --git a/SecurityPkg/Include/Library/TpmCommLib.h b/SecurityPkg/Inclu= de/Library/TpmCommLib.h > index b9aca60b82..7e102a6a11 100644 > --- a/SecurityPkg/Include/Library/TpmCommLib.h > +++ b/SecurityPkg/Include/Library/TpmCommLib.h > @@ -214,7 +214,7 @@ TisPcWaitRegisterBits ( > in the time of default TIS_TIMEOUT_D. > =20 > @param[in] TisReg Pointer to TIS register. > - @param[out] BurstCount Pointer to a buffer to store the got= BurstConut. > + @param[out] BurstCount Pointer to a buffer to store the got= BurstCount. This one was funny. > =20 > @retval EFI_SUCCESS Get BurstCount. > @retval EFI_INVALID_PARAMETER TisReg is NULL or BurstCount is NUL= L. > diff --git a/SecurityPkg/Include/Ppi/FirmwareVolumeInfoPrehashedFV.h b/Se= curityPkg/Include/Ppi/FirmwareVolumeInfoPrehashedFV.h > index 2fc95537dc..1b7320e916 100644 > --- a/SecurityPkg/Include/Ppi/FirmwareVolumeInfoPrehashedFV.h > +++ b/SecurityPkg/Include/Ppi/FirmwareVolumeInfoPrehashedFV.h > @@ -26,10 +26,10 @@ typedef struct _HASH_INFO { > // > // This PPI carries prehashsed data for one FV. Platform should ensure= 1:1 mapping between pre-hashed PPI and corresponding FV. > // The Count field in PPI is followed by Count number of FV hash info e= ntries, which can be extended to PCR and logged to TCG event log directly b= y TCG modules. > -// TCG module checks TPM required hash algorithms(PcdTpm2HashMask) with = each pre-hased PPIs > +// TCG module checks TPM required hash algorithms(PcdTpm2HashMask) with = each pre-hashed PPIs > // For each pre-hashed PPI > // If PPI carries hash generated by equivalent or larger algorithm = set than TPM required, directly use PPI > -// else, drops PPI data and cacluate all hash again > +// else, drops PPI data and calculate all hash again > // > typedef struct { > UINT32 FvBase; > diff --git a/SecurityPkg/Library/AuthVariableLib/AuthService.c b/Security= Pkg/Library/AuthVariableLib/AuthService.c > index 486df55bed..2f60331f2c 100644 > --- a/SecurityPkg/Library/AuthVariableLib/AuthService.c > +++ b/SecurityPkg/Library/AuthVariableLib/AuthService.c > @@ -425,7 +425,7 @@ CheckSignatureListFormat( > RsaContext =3D NULL; > =20 > // > - // Walk throuth the input signature list and check the data format. > + // Walk through the input signature list and check the data format. > // If any signature is incorrectly formed, the whole check will fail. > // > while ((SigDataSize > 0) && (SigDataSize >=3D SigList->SignatureListS= ize)) { > @@ -1069,7 +1069,7 @@ AuthServiceInternalCompareTimeStamp ( > @param[out] Sha256Digest Sha256 digest calculated. > =20 > @return EFI_ABORTED Digest process failed. > - @return EFI_SUCCESS SHA256 Digest is succesfully calculated. > + @return EFI_SUCCESS SHA256 Digest is successfully calculated. > =20 > **/ > EFI_STATUS > diff --git a/SecurityPkg/Library/AuthVariableLib/AuthServiceInternal.h b/= SecurityPkg/Library/AuthVariableLib/AuthServiceInternal.h > index da2c40bc37..2bec637f75 100644 > --- a/SecurityPkg/Library/AuthVariableLib/AuthServiceInternal.h > +++ b/SecurityPkg/Library/AuthVariableLib/AuthServiceInternal.h > @@ -159,7 +159,7 @@ DeleteCertsFromDb ( > /** > Clean up signer's certificates for common authenticated variable > by corresponding VariableName and VendorGuid from "certdb". > - Sytem may break down during Timebased Variable update & certdb update, > + System may break down during Timebased Variable update & certdb update= , > make them inconsistent, this function is called in AuthVariable Init= to ensure > consistency > =20 > diff --git a/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c b/Secu= rityPkg/Library/AuthVariableLib/AuthVariableLib.c > index e80fadbf05..122b3b0bf4 100644 > --- a/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c > +++ b/SecurityPkg/Library/AuthVariableLib/AuthVariableLib.c > @@ -96,7 +96,7 @@ VOID **mAuthVarAddressPointer[9]; > AUTH_VAR_LIB_CONTEXT_IN *mAuthVarLibContextIn =3D NULL; > =20 > /** > - Initialization for authenticated varibale services. > + Initialization for authenticated variable services. > If this initialization returns error status, other APIs will not work > and expect to be not called then. > =20 > @@ -382,7 +382,7 @@ AuthVariableLibInitialize ( > @retval EFI_INVALID_PARAMETER Invalid parameter. > @retval EFI_WRITE_PROTECTED Variable is write-protected. > @retval EFI_OUT_OF_RESOURCES There is not enough resource. > - @retval EFI_SECURITY_VIOLATION The variable is with EFI_VARIABLE_TI= ME_BASED_AUTHENTICATED_WRITE_ACESS > + @retval EFI_SECURITY_VIOLATION The variable is with EFI_VARIABLE_TI= ME_BASED_AUTHENTICATED_WRITE_ACCESS > set, but the AuthInfo does NOT pass= the validation > check carried out by the firmware. > @retval EFI_UNSUPPORTED Unsupported to process authenticate= d variable. > diff --git a/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImage= AuthenticationStatusLib.c b/SecurityPkg/Library/DxeImageAuthenticationStatu= sLib/DxeImageAuthenticationStatusLib.c > index 38448f0c8c..e4ddff21b5 100644 > --- a/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthent= icationStatusLib.c > +++ b/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthent= icationStatusLib.c > @@ -49,7 +49,7 @@ DxeImageAuthenticationStatusHandler ( > =20 > =20 > /** > - Register image authenticaion status check handler. > + Register image authentication status check handler. > =20 > @param ImageHandle ImageHandle of the loaded driver. > @param SystemTable Pointer to the EFI System Table. > diff --git a/SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerifica= tionLib.c b/SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificatio= nLib.c > index fe4cdccedd..a0a12b50dd 100644 > --- a/SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib= .c > +++ b/SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib= .c > @@ -745,7 +745,7 @@ AddImageExeInfo ( > if (ImageExeInfoTable !=3D NULL) { > // > // The table has been found! > - // We must enlarge the table to accomodate the new exe info entry. > + // We must enlarge the table to accommodate the new exe info entry. > // > ImageExeInfoTableSize =3D GetImageExeInfoTableSize (ImageExeInfoTab= le); > } else { > @@ -947,7 +947,7 @@ Done: > =20 > @param[in] VariableName Name of database variable that is sea= rched in. > @param[in] Signature Pointer to signature that is searched= for. > - @param[in] CertType Pointer to hash algrithom. > + @param[in] CertType Pointer to hash algorithm. > @param[in] SignatureSize Size of Signature. > =20 > @return TRUE Found the signature in the variable d= atabase. > @@ -992,7 +992,7 @@ IsSignatureFoundInDatabase ( > goto Done; > } > // > - // Enumerate all signature data in SigDB to check if executable's sign= ature exists. > + // Enumerate all signature data in SigDB to check if signature exists = for executable. > // > CertList =3D (EFI_SIGNATURE_LIST *) Data; > while ((DataSize > 0) && (DataSize >=3D CertList->SignatureListSize))= { > @@ -1844,7 +1844,7 @@ DxeImageVerificationHandler ( > =20 > if (OffSet !=3D (SecDataDir->VirtualAddress + SecDataDir->Size)) { > // > - // The Size in Certificate Table or the attribute certicate table is= corrupted. > + // The Size in Certificate Table or the attribute certificate table = is corrupted. > // > VerifyStatus =3D EFI_ACCESS_DENIED; > } > @@ -1855,7 +1855,7 @@ DxeImageVerificationHandler ( > Status =3D EFI_ACCESS_DENIED; > if (Action =3D=3D EFI_IMAGE_EXECUTION_AUTH_SIG_FAILED || Action =3D= =3D EFI_IMAGE_EXECUTION_AUTH_SIG_FOUND) { > // > - // Get image hash value as executable's signature. > + // Get image hash value as signature of executable. > // > SignatureListSize =3D sizeof (EFI_SIGNATURE_LIST) + sizeof (EFI_S= IGNATURE_DATA) - 1 + mImageDigestSize; > SignatureList =3D (EFI_SIGNATURE_LIST *) AllocateZeroPool (Si= gnatureListSize); > diff --git a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/= DxeRsa2048Sha256GuidedSectionExtractLib.c b/SecurityPkg/Library/DxeRsa2048S= ha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.c > index 0059328950..28807d4d98 100644 > --- a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2= 048Sha256GuidedSectionExtractLib.c > +++ b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2= 048Sha256GuidedSectionExtractLib.c > @@ -2,7 +2,7 @@ > =20 > This library registers RSA 2048 SHA 256 guided section handler > to parse RSA 2048 SHA 256 encapsulation section and extract raw data. > - It uses the BaseCrypyLib based on OpenSSL to authenticate the signatur= e. > + It uses the BaseCryptLib based on OpenSSL to authenticate the signatur= e. > =20 > Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
> SPDX-License-Identifier: BSD-2-Clause-Patent > @@ -213,7 +213,7 @@ Rsa2048Sha256GuidedSectionHandler ( > } > =20 > // > - // All paths from here return EFI_SUCESS and result is returned in Aut= henticationStatus > + // All paths from here return EFI_SUCCESS and result is returned in Au= thenticationStatus > // > Status =3D EFI_SUCCESS; > =20 > diff --git a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/= DxeRsa2048Sha256GuidedSectionExtractLib.inf b/SecurityPkg/Library/DxeRsa204= 8Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.inf > index 0822fd0856..9c426edace 100644 > --- a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2= 048Sha256GuidedSectionExtractLib.inf > +++ b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2= 048Sha256GuidedSectionExtractLib.inf > @@ -3,7 +3,7 @@ > # ExtractGuidedSectionLib service to register an RSA 2048 SHA 256 guid= ed section handler > # that parses RSA 2048 SHA 256 encapsulation section and extracts raw = data. > # > -# It uses the BaseCrypyLib based on OpenSSL to authenticate the signatu= re. > +# It uses the BaseCryptLib based on OpenSSL to authenticate the signatu= re. > # > # Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. > # > diff --git a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/= DxeRsa2048Sha256GuidedSectionExtractLib.uni b/SecurityPkg/Library/DxeRsa204= 8Sha256GuidedSectionExtractLib/DxeRsa2048Sha256GuidedSectionExtractLib.uni > index 484bde0afc..f0294a68f5 100644 > --- a/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2= 048Sha256GuidedSectionExtractLib.uni > +++ b/SecurityPkg/Library/DxeRsa2048Sha256GuidedSectionExtractLib/DxeRsa2= 048Sha256GuidedSectionExtractLib.uni > @@ -4,7 +4,7 @@ > // ExtractGuidedSectionLib service to register an RSA 2048 SHA 256 guid= ed section handler > // that parses RSA 2048 SHA 256 encapsulation section and extracts raw = data. > // > -// It uses the BaseCrypyLib based on OpenSSL to authenticate the signatu= re. > +// It uses the BaseCryptLib based on OpenSSL to authenticate the signatu= re. > // > // Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. > // > diff --git a/SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBoot= Lib.c b/SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.c > index 543635b2e4..04b9b0d7fb 100644 > --- a/SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.c > +++ b/SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.c > @@ -362,7 +362,7 @@ Tcg2MeasurePeImage ( > if (Status =3D=3D EFI_VOLUME_FULL) { > // > // Volume full here means the image is hashed and its result is ext= ended to PCR. > - // But the event log cann't be saved since log area is full. > + // But the event log can't be saved since log area is full. > // Just return EFI_SUCCESS in order not to block the image load. > // > Status =3D EFI_SUCCESS; > @@ -541,7 +541,7 @@ DxeTpm2MeasureBootHandler ( > } > // > // The PE image from unmeasured Firmware volume need be measured > - // The PE image from measured Firmware volume will be mearsured acco= rding to policy below. > + // The PE image from measured Firmware volume will be measured accor= ding to policy below. > // If it is driver, do not measure > // If it is application, still measure. > // > diff --git a/SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLi= b.c b/SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.c > index a2d3923ca6..1f2eed29a1 100644 > --- a/SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.c > +++ b/SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.c > @@ -649,7 +649,7 @@ TcgMeasurePeImage ( > if (Status =3D=3D EFI_OUT_OF_RESOURCES) { > // > // Out of resource here means the image is hashed and its result is= extended to PCR. > - // But the event log cann't be saved since log area is full. > + // But the event log can't be saved since log area is full. > // Just return EFI_SUCCESS in order not to block the image load. > // > Status =3D EFI_SUCCESS; > @@ -838,7 +838,7 @@ DxeTpmMeasureBootHandler ( > } > // > // The PE image from unmeasured Firmware volume need be measured > - // The PE image from measured Firmware volume will be mearsured acco= rding to policy below. > + // The PE image from measured Firmware volume will be measured accor= ding to policy below. > // If it is driver, do not measure > // If it is application, still measure. > // > diff --git a/SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLi= b.c b/SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.c > index adf03bb226..061136ee78 100644 > --- a/SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.c > +++ b/SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.c > @@ -56,7 +56,7 @@ Tpm12MeasureAndLogData ( > TcgEvent =3D NULL; > =20 > // > - // Tpm active/deactive state is checked in HashLogExtendEvent > + // Tpm activation state is checked in HashLogExtendEvent > // > Status =3D gBS->LocateProtocol (&gEfiTcgProtocolGuid, NULL, (VOID **)= &TcgProtocol); > if (EFI_ERROR(Status)){ > diff --git a/SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.= c b/SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.c > index 9ca784a873..52521b6444 100644 > --- a/SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.c > +++ b/SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.c > @@ -128,7 +128,7 @@ HASH_INTERFACE mSha1InternalHashInstance =3D { > /** > The function register SHA1 instance. > =20 > - @retval EFI_SUCCESS SHA1 instance is registered, or system dose not = surpport registr SHA1 instance > + @retval EFI_SUCCESS SHA1 instance is registered, or system does not = support register SHA1 instance > **/ > EFI_STATUS > EFIAPI > diff --git a/SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha= 256.c b/SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.c > index 01fce3fd2b..760e20bae0 100644 > --- a/SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.c > +++ b/SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.c > @@ -128,7 +128,7 @@ HASH_INTERFACE mSha256InternalHashInstance =3D { > /** > The function register SHA256 instance. > =20 > - @retval EFI_SUCCESS SHA256 instance is registered, or system dose no= t surpport registr SHA256 instance > + @retval EFI_SUCCESS SHA256 instance is registered, or system does no= t support register SHA256 instance > **/ > EFI_STATUS > EFIAPI > diff --git a/SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha= 384.c b/SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.c > index 29f6c8a828..99e2416a8e 100644 > --- a/SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.c > +++ b/SecurityPkg/Library/HashInstanceLibSha384/HashInstanceLibSha384.c > @@ -128,7 +128,7 @@ HASH_INTERFACE mSha384InternalHashInstance =3D { > /** > The function register SHA384 instance. > =20 > - @retval EFI_SUCCESS SHA384 instance is registered, or system dose no= t surpport registr SHA384 instance > + @retval EFI_SUCCESS SHA384 instance is registered, or system does no= t support register SHA384 instance > **/ > EFI_STATUS > EFIAPI > diff --git a/SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha= 512.c b/SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.c > index d5389e1e22..b047791e02 100644 > --- a/SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.c > +++ b/SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.c > @@ -127,7 +127,7 @@ HASH_INTERFACE mSha512InternalHashInstance =3D { > /** > The function register SHA512 instance. > =20 > - @retval EFI_SUCCESS SHA512 instance is registered, or system dose no= t surpport registr SHA512 instance > + @retval EFI_SUCCESS SHA512 instance is registered, or system does no= t support register SHA512 instance > **/ > EFI_STATUS > EFIAPI > diff --git a/SecurityPkg/Library/HashLibTpm2/HashLibTpm2.c b/SecurityPkg/= Library/HashLibTpm2/HashLibTpm2.c > index f6819793ab..bd24958505 100644 > --- a/SecurityPkg/Library/HashLibTpm2/HashLibTpm2.c > +++ b/SecurityPkg/Library/HashLibTpm2/HashLibTpm2.c > @@ -29,7 +29,7 @@ TPM2_HASH_MASK mTpm2HashMask[] =3D { > }; > =20 > /** > - The function get algorith from hash mask info. > + The function get algorithm from hash mask info. > =20 > @return Hash algorithm > **/ > diff --git a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/= PeiRsa2048Sha256GuidedSectionExtractLib.c b/SecurityPkg/Library/PeiRsa2048S= ha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.c > index df16715120..a759183d20 100644 > --- a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2= 048Sha256GuidedSectionExtractLib.c > +++ b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2= 048Sha256GuidedSectionExtractLib.c > @@ -2,7 +2,7 @@ > =20 > This library registers RSA 2048 SHA 256 guided section handler > to parse RSA 2048 SHA 256 encapsulation section and extract raw data. > - It uses the BaseCrypyLib based on OpenSSL to authenticate the signatur= e. > + It uses the BaseCryptLib based on OpenSSL to authenticate the signatur= e. > =20 > Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
> SPDX-License-Identifier: BSD-2-Clause-Patent > @@ -197,7 +197,7 @@ Rsa2048Sha256GuidedSectionHandler ( > } > =20 > // > - // All paths from here return EFI_SUCESS and result is returned in Aut= henticationStatus > + // All paths from here return EFI_SUCCESS and result is returned in Au= thenticationStatus > // > Status =3D EFI_SUCCESS; > =20 > diff --git a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/= PeiRsa2048Sha256GuidedSectionExtractLib.inf b/SecurityPkg/Library/PeiRsa204= 8Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.inf > index 3fd5e52430..dac97a050e 100644 > --- a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2= 048Sha256GuidedSectionExtractLib.inf > +++ b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2= 048Sha256GuidedSectionExtractLib.inf > @@ -3,7 +3,7 @@ > # ExtractGuidedSectionLib service to register an RSA 2048 SHA 256 guid= ed section handler > # that parses RSA 2048 SHA 256 encapsulation section and extracts raw = data. > # > -# It uses the BaseCrypyLib based on OpenSSL to authenticate the signatu= re. > +# It uses the BaseCryptLib based on OpenSSL to authenticate the signatu= re. > # > # Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. > # > diff --git a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/= PeiRsa2048Sha256GuidedSectionExtractLib.uni b/SecurityPkg/Library/PeiRsa204= 8Sha256GuidedSectionExtractLib/PeiRsa2048Sha256GuidedSectionExtractLib.uni > index 484bde0afc..f0294a68f5 100644 > --- a/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2= 048Sha256GuidedSectionExtractLib.uni > +++ b/SecurityPkg/Library/PeiRsa2048Sha256GuidedSectionExtractLib/PeiRsa2= 048Sha256GuidedSectionExtractLib.uni > @@ -4,7 +4,7 @@ > // ExtractGuidedSectionLib service to register an RSA 2048 SHA 256 guid= ed section handler > // that parses RSA 2048 SHA 256 encapsulation section and extracts raw = data. > // > -// It uses the BaseCrypyLib based on OpenSSL to authenticate the signatu= re. > +// It uses the BaseCryptLib based on OpenSSL to authenticate the signatu= re. > // > // Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. > // > diff --git a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCore.c b/Sec= urityPkg/Library/TcgStorageCoreLib/TcgStorageCore.c > index 1c072fac23..f9c57a13f2 100644 > --- a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCore.c > +++ b/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageCore.c > @@ -1249,7 +1249,7 @@ TcgGetTokenByteSequence( > Get next specify value. > =20 > @param ParseStruct Input parse structure. > - @param Value Return vlaue. > + @param Value Return value. > =20 > @retval return the action result. > =20 > @@ -1282,7 +1282,7 @@ TcgGetNextUINT8( > Get next specify value. > =20 > @param ParseStruct Input parse structure. > - @param Value Return vlaue. > + @param Value Return value. > =20 > @retval return the action result. > =20 > @@ -1315,7 +1315,7 @@ TcgGetNextUINT16( > Get next specify value. > =20 > @param ParseStruct Input parse structure. > - @param Value Return vlaue. > + @param Value Return value. > =20 > @retval return the action result. > =20 > @@ -1348,7 +1348,7 @@ TcgGetNextUINT32( > Get next specify value. > =20 > @param ParseStruct Input parse structure. > - @param Value Return vlaue. > + @param Value Return value. > =20 > @retval return the action result. > =20 > @@ -1370,7 +1370,7 @@ TcgGetNextUINT64( > Get next specify value. > =20 > @param ParseStruct Input parse structure. > - @param Value Return vlaue. > + @param Value Return value. > =20 > @retval return the action result. > =20 > diff --git a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c b/Sec= urityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c > index d06ad62c91..b6d5cf9890 100644 > --- a/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c > +++ b/SecurityPkg/Library/TcgStorageCoreLib/TcgStorageUtil.c > @@ -810,7 +810,7 @@ TcgFindFeatureCallback( > Get Feature code from the header. > =20 > @param DiscoveryHeader The discovery header. > - @param FeatureCode reutrn the Feature code. > + @param FeatureCode return the Feature code. > @param FeatureSize return the Feature size. > =20 > @retval return the Feature code data. > diff --git a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalUtil.c b= /SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalUtil.c > index bc52cceabd..b4927a0872 100644 > --- a/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalUtil.c > +++ b/SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalUtil.c > @@ -11,7 +11,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent > #include > #include "TcgStorageOpalLibInternal.h" > =20 > -#define OPAL_MSID_LENGHT 128 > +#define OPAL_MSID_LENGTH 128 > =20 > /** > Creates a session with OPAL_UID_ADMIN_SP as OPAL_ADMIN_SP_PSID_AUTHOR= ITY, then reverts device using Admin SP Revert method. > @@ -1095,7 +1095,7 @@ GetRevertTimeOut ( > OPAL_DISK_SUPPORT_ATTRIBUTE SupportedAttributes; > UINT16 BaseComId; > UINT32 MsidLength; > - UINT8 Msid[OPAL_MSID_LENGHT]; > + UINT8 Msid[OPAL_MSID_LENGTH]; > UINT32 RemovalMechanishLists[ResearvedMechanism= ]; > UINT8 ActiveDataRemovalMechanism; > =20 > @@ -1104,7 +1104,7 @@ GetRevertTimeOut ( > return 0; > } > =20 > - TcgResult =3D OpalUtilGetMsid (Session, Msid, OPAL_MSID_LENGHT, &MsidL= ength); > + TcgResult =3D OpalUtilGetMsid (Session, Msid, OPAL_MSID_LENGTH, &MsidL= ength); > if (TcgResult !=3D TcgResultSuccess) { > return 0; > } > diff --git a/SecurityPkg/Library/Tpm12CommandLib/Tpm12NvStorage.c b/Secur= ityPkg/Library/Tpm12CommandLib/Tpm12NvStorage.c > index 609186fb7c..8295a1d267 100644 > --- a/SecurityPkg/Library/Tpm12CommandLib/Tpm12NvStorage.c > +++ b/SecurityPkg/Library/Tpm12CommandLib/Tpm12NvStorage.c > @@ -218,7 +218,7 @@ Tpm12NvWriteValue ( > if (EFI_ERROR (Status)) { > return Status; > } > - DEBUG ((DEBUG_INFO, "Tpm12NvWritedValue - ReturnCode =3D %x\n", SwapBy= tes32 (Response.returnCode))); > + DEBUG ((DEBUG_INFO, "Tpm12NvWriteValue - ReturnCode =3D %x\n", SwapByt= es32 (Response.returnCode))); > switch (SwapBytes32 (Response.returnCode)) { > case TPM_SUCCESS: > return EFI_SUCCESS; > diff --git a/SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12Tis.c b/Security= Pkg/Library/Tpm12DeviceLibDTpm/Tpm12Tis.c > index 9c5b3d5740..1caa076203 100644 > --- a/SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12Tis.c > +++ b/SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12Tis.c > @@ -125,7 +125,7 @@ Tpm12TisPcWaitRegisterBits ( > in the time of default TIS_TIMEOUT_D. > =20 > @param[in] TisReg Pointer to TIS register. > - @param[out] BurstCount Pointer to a buffer to store the got= BurstConut. > + @param[out] BurstCount Pointer to a buffer to store the got= BurstCount. > =20 > @retval EFI_SUCCESS Get BurstCount. > @retval EFI_INVALID_PARAMETER TisReg is NULL or BurstCount is NUL= L. > diff --git a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c b/Securi= tyPkg/Library/Tpm2CommandLib/Tpm2Capability.c > index 4e9f030e77..85b11c7715 100644 > --- a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c > +++ b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c > @@ -53,7 +53,7 @@ typedef struct { > NOTE: > To simplify this function, leave returned CapabilityData for caller t= o unpack since there are > many capability categories and only few categories will be used in fi= rmware. It means the caller > - need swap the byte order for the feilds in CapabilityData. > + need swap the byte order for the fields in CapabilityData. > =20 > @param[in] Capability Group selection; determines the format= of the response. > @param[in] Property Further definition of information. > @@ -119,7 +119,7 @@ Tpm2GetCapability ( > // > *MoreData =3D RecvBuffer.MoreData; > // > - // Does not unpack all possiable property here, the caller should unpa= ck it and note the byte order. > + // Does not unpack all possible property here, the caller should unpac= k it and note the byte order. > // > CopyMem (CapabilityData, &RecvBuffer.CapabilityData, RecvBufferSize -= sizeof (TPM2_RESPONSE_HEADER) - sizeof (UINT8)); > =20 > diff --git a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c b/Securit= yPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c > index 8e05596763..dc36963c0e 100644 > --- a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c > +++ b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c > @@ -435,7 +435,7 @@ Tpm2HierarchyChangeAuth ( > WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(NewAuth->size)); > Buffer +=3D sizeof(UINT16); > =20 > - // New Authorizeation > + // New Authorization > CopyMem(Buffer, NewAuth->buffer, NewAuth->size); > Buffer +=3D NewAuth->size; > =20 > diff --git a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c b/= SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c > index 53b9bc42fb..42e1ecbce9 100644 > --- a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c > +++ b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c > @@ -137,7 +137,7 @@ Tpm2RegisterTpm2DeviceLib ( > /** > The function caches current active TPM interface type. > =20 > - @retval EFI_SUCCESS DTPM2.0 instance is registered, or system dose n= ot surpport registr DTPM2.0 instance > + @retval EFI_SUCCESS DTPM2.0 instance is registered, or system does n= ot support register DTPM2.0 instance > **/ > EFI_STATUS > EFIAPI > diff --git a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c = b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c > index 435cbf6298..691eaa40c0 100644 > --- a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c > +++ b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c > @@ -93,7 +93,7 @@ TPM2_DEVICE_INTERFACE mDTpm2InternalTpm2Device =3D { > /** > The function register DTPM2.0 instance and caches current active TPM = interface type. > =20 > - @retval EFI_SUCCESS DTPM2.0 instance is registered, or system dose n= ot surpport registr DTPM2.0 instance > + @retval EFI_SUCCESS DTPM2.0 instance is registered, or system does n= ot support register DTPM2.0 instance > **/ > EFI_STATUS > EFIAPI > diff --git a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c b/SecurityPk= g/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c > index 8596143b53..b671cef04e 100644 > --- a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c > +++ b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c > @@ -327,7 +327,7 @@ PtpCrbTpmCommand ( > =20 > GoReady_Exit: > // > - // Goto Ready State if command is completed succesfully and TPM suppor= t IdleBypass > + // Goto Ready State if command is completed successfully and TPM suppo= rt IdleBypass > // If not supported. flow down to GoIdle > // > if (PcdGet8(PcdCRBIdleByPass) =3D=3D 1) { > @@ -347,7 +347,7 @@ GoIdle_Exit: > MmioWrite32((UINTN)&CrbReg->CrbControlRequest, PTP_CRB_CONTROL_AREA_R= EQUEST_GO_IDLE); > =20 > // > - // Only enforce Idle state transition if execution fails when CRBIndle= Bypass=3D=3D1 > + // Only enforce Idle state transition if execution fails when CRBIdleB= ypass=3D=3D1 > // Leave regular Idle delay at the beginning of next command executio= n > // > if (PcdGet8(PcdCRBIdleByPass) =3D=3D 1){ > diff --git a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c b/SecurityPk= g/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c > index d2ce8d1f09..bbebc94b4d 100644 > --- a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c > +++ b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Tis.c > @@ -81,7 +81,7 @@ TisPcWaitRegisterBits ( > in the time of default TIS_TIMEOUT_D. > =20 > @param[in] TisReg Pointer to TIS register. > - @param[out] BurstCount Pointer to a buffer to store the got= BurstConut. > + @param[out] BurstCount Pointer to a buffer to store the got= BurstCount. > =20 > @retval EFI_SUCCESS Get BurstCount. > @retval EFI_INVALID_PARAMETER TisReg is NULL or BurstCount is NUL= L. > @@ -303,7 +303,7 @@ Tpm2TisTpmCommand ( > TIS_TIMEOUT_B > ); > // > - // Do not clear CANCEL bit here bicoz Writes of 0 to this bit are ig= nored > + // Do not clear CANCEL bit here because Writes of 0 to this bit are = ignored > // > if (EFI_ERROR (Status)) { > // > diff --git a/SecurityPkg/Library/TpmCommLib/CommonHeader.h b/SecurityPkg/= Library/TpmCommLib/CommonHeader.h > index 386c9fab44..aa2e412a11 100644 > --- a/SecurityPkg/Library/TpmCommLib/CommonHeader.h > +++ b/SecurityPkg/Library/TpmCommLib/CommonHeader.h > @@ -1,5 +1,5 @@ > /** @file > - The intenal header file for TpmCommLib. > + The internal header file for TpmCommLib. > =20 > Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
> SPDX-License-Identifier: BSD-2-Clause-Patent > diff --git a/SecurityPkg/Library/TpmCommLib/TisPc.c b/SecurityPkg/Library= /TpmCommLib/TisPc.c > index 162e883d21..4a14a2bf81 100644 > --- a/SecurityPkg/Library/TpmCommLib/TisPc.c > +++ b/SecurityPkg/Library/TpmCommLib/TisPc.c > @@ -64,7 +64,7 @@ TisPcWaitRegisterBits ( > in the time of default TIS_TIMEOUT_D. > =20 > @param[in] TisReg Pointer to TIS register. > - @param[out] BurstCount Pointer to a buffer to store the got= BurstConut. > + @param[out] BurstCount Pointer to a buffer to store the got= BurstCount. > =20 > @retval EFI_SUCCESS Get BurstCount. > @retval EFI_INVALID_PARAMETER TisReg is NULL or BurstCount is NUL= L. > diff --git a/SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.c b/Se= curityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.c > index a113df3718..a96862f937 100644 > --- a/SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.c > +++ b/SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.c > @@ -494,7 +494,7 @@ IsValidTimestamp ( > TsaCertSize =3D SigList->SignatureSize - sizeof (EFI_GUID); > =20 > // > - // Each TSA Certificate will normally be in a seperate EFI_SIGNATURE= _LIST > + // Each TSA Certificate will normally be in a separate EFI_SIGNATURE= _LIST > // Leverage ImageTimestampVerify interface for Timestamp counterSig= nature Verification > // > if (ImageTimestampVerify (SignedData, SignedDataSize, TsaCert, TsaC= ertSize, &SigningTime)) { > @@ -514,7 +514,7 @@ IsValidTimestamp ( > /** > Check whether the PKCS7 signedData is revoked by verifying with the r= evoked > certificates database, and if the signedData is timestamped, the embe= dded timestamp > - couterSignature will be checked with the supplied timestamp database. > + counterSignature will be checked with the supplied timestamp database. > =20 > @param[in] SignedData Pointer to buffer containing ASN.1 DER-en= coded PKCS7 > signature. > @@ -657,8 +657,8 @@ P7CheckRevocationByHash ( > Status =3D EFI_SUCCESS; > if (IsValidTimestamp (SignedData, SignedDataSize, TimeStampDb, &R= evocationTime)) { > // > - // Use EFI_NOT_READY to identify the P7Data is not reovked, beca= use the timestamping > - // occured prior to the time of certificate revocation. > + // Use EFI_NOT_READY to identify the P7Data is not revoked, beca= use the timestamping > + // occurred prior to the time of certificate revocation. > // > Status =3D EFI_NOT_READY; > } > @@ -679,7 +679,7 @@ _Exit: > /** > Check whether the PKCS7 signedData is revoked by verifying with the r= evoked > certificates database, and if the signedData is timestamped, the embe= dded timestamp > - couterSignature will be checked with the supplied timestamp database. > + counterSignature will be checked with the supplied timestamp database. > =20 > @param[in] SignedData Pointer to buffer containing ASN.1 DER-en= coded PKCS7 > signature. > @@ -822,8 +822,8 @@ P7CheckRevocation ( > Status =3D EFI_SUCCESS; > if (IsValidTimestamp (SignedData, SignedDataSize, TimeStampDb, &R= evocationTime)) { > // > - // Use EFI_NOT_READY to identify the P7Data is not reovked, beca= use the timestamping > - // occured prior to the time of certificate revocation. > + // Use EFI_NOT_READY to identify the P7Data is not revoked, beca= use the timestamping > + // occurred prior to the time of certificate revocation. > // > Status =3D EFI_NOT_READY; > } > @@ -1261,7 +1261,7 @@ VerifyBuffer ( > ); > if (!EFI_ERROR (Status)) { > // > - // The PKCS7 SignedData is reovked > + // The PKCS7 SignedData is revoked > // > Status =3D EFI_SECURITY_VIOLATION; > goto _Exit; > @@ -1413,7 +1413,7 @@ VerifySignature ( > =20 > if (!EFI_ERROR (Status)) { > // > - // The PKCS7 SignedData is reovked > + // The PKCS7 SignedData is revoked > // > return EFI_SECURITY_VIOLATION; > } > diff --git a/SecurityPkg/RandomNumberGenerator/RngDxe/RdRand.c b/Security= Pkg/RandomNumberGenerator/RngDxe/RdRand.c > index 59789533b0..e7dd5ab181 100644 > --- a/SecurityPkg/RandomNumberGenerator/RngDxe/RdRand.c > +++ b/SecurityPkg/RandomNumberGenerator/RngDxe/RdRand.c > @@ -79,7 +79,7 @@ RdRandGetSeed128 ( > UINT32 Index2; > =20 > // > - // Chose an arbitary key and zero the feed_forward_value (FFV) > + // Chose an arbitrary key and zero the feed_forward_value (FFV) > // > for (Index =3D 0; Index < 16; Index++) { > Key[Index] =3D (UINT8) Index; > diff --git a/SecurityPkg/SecurityPkg.dec b/SecurityPkg/SecurityPkg.dec > index 8249bf0220..cac36caf0a 100644 > --- a/SecurityPkg/SecurityPkg.dec > +++ b/SecurityPkg/SecurityPkg.dec > @@ -68,11 +68,11 @@ [LibraryClasses] > # > Tcg2PhysicalPresenceLib|Include/Library/Tcg2PhysicalPresenceLib.h > =20 > - ## @libraryclass Provides interfaces about TCG storage generic common= d. > + ## @libraryclass Provides interfaces about TCG storage generic comman= d. > # > TcgStorageCoreLib|Include/Library/TcgStorageCoreLib.h > =20 > - ## @libraryclass Provides interfaces about TCG storage Opal generic c= ommond. > + ## @libraryclass Provides interfaces about TCG storage Opal generic c= ommand. > # > TcgStorageOpalLib|Include/Library/TcgStorageOpalLib.h > =20 > @@ -369,9 +369,9 @@ [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic= , PcdsDynamicEx] > # @Prompt TPM device address. > gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress|0xFED40000|UINT64|0x0= 0010012 > =20 > - ## This PCR means the OEM configurated number of PCR banks. > + ## This PCR means the OEM configured number of PCR banks. > # 0 means dynamic get from supported HASH algorithm > - # @Prompt OEM configurated number of PCR banks. > + # @Prompt OEM configured number of PCR banks. > gEfiSecurityPkgTokenSpaceGuid.PcdTcg2NumberOfPCRBanks|0x0|UINT32|0x00= 010015 > =20 > ## Provides one or more SHA 256 Hashes of the RSA 2048 public keys us= ed to verify Recovery and Capsule Update images > @@ -469,7 +469,7 @@ [PcdsDynamic, PcdsDynamicEx] > gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap|0xFFFFFFFF|U= INT32|0x00010016 > =20 > ## This PCD indicates current active TPM interface type. > - # Accodingt to TCG PTP spec 1.3, there are 3 types defined in TPM2_PT= P_INTERFACE_TYPE.
> + # According to TCG PTP spec 1.3, there are 3 types defined in TPM2_PT= P_INTERFACE_TYPE.
> # 0x00 - FIFO interface as defined in TIS 1.3 is active.
> # 0x01 - FIFO interface as defined in PTP for TPM 2.0 is active.
> # 0x02 - CRB interface is active.
> @@ -478,14 +478,14 @@ [PcdsDynamic, PcdsDynamicEx] > # @Prompt current active TPM interface type. > gEfiSecurityPkgTokenSpaceGuid.PcdActiveTpmInterfaceType|0xFF|UINT8|0x= 0001001E > =20 > - ## This PCD records IdleByass status supported by current active TPM i= nterface. > - # Accodingt to TCG PTP spec 1.3, TPM with CRB interface can skip idle= state and > - # diretcly move to CmdReady state.
> + ## This PCD records IdleBypass status supported by current active TPM = interface. > + # According to TCG PTP spec 1.3, TPM with CRB interface can skip idle= state and > + # directly move to CmdReady state.
> # 0x00 - Do not support IdleByPass.
> # 0x01 - Support IdleByPass.
> # 0xFF - IdleByPass State is not synced with TPM hardware.
> # > - # @Prompt IdleByass status supported by current active TPM interface. > + # @Prompt IdleBypass status supported by current active TPM interface. > gEfiSecurityPkgTokenSpaceGuid.PcdCRBIdleByPass|0xFF|UINT8|0x0001001F > =20 > ## This PCD records LAML field in TPM2 ACPI table. > diff --git a/SecurityPkg/SecurityPkg.dsc b/SecurityPkg/SecurityPkg.dsc > index aef2ac3a20..9a254087a3 100644 > --- a/SecurityPkg/SecurityPkg.dsc > +++ b/SecurityPkg/SecurityPkg.dsc > @@ -70,7 +70,7 @@ [LibraryClasses] > [LibraryClasses.ARM] > # > # It is not possible to prevent the ARM compiler for generic intrinsi= c functions. > - # This library provides the instrinsic functions generate by a given c= ompiler. > + # This library provides the intrinsic functions generate by a given co= mpiler. > # And NULL mean link this library into all ARM images. > # > NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf > diff --git a/SecurityPkg/SecurityPkg.uni b/SecurityPkg/SecurityPkg.uni > index ee79b98f0d..68587304d7 100644 > --- a/SecurityPkg/SecurityPkg.uni > +++ b/SecurityPkg/SecurityPkg.uni > @@ -80,7 +80,7 @@ > =20 > #string STR_gEfiSecurityPkgTokenSpaceGuid_PcdTpmPhysicalPresence_PROMPT= #language en-US "Physical presence of the platform operator." > =20 > -#string STR_gEfiSecurityPkgTokenSpaceGuid_PcdTpmPhysicalPresence_HELP #= language en-US "Indicates the presence or absence of the platform operator = during firmware booting. If platform operator is not physical presnece duri= ng boot. TPM will be locked and the TPM commands that required operator phy= sical presence can not run.

\n" > +#string STR_gEfiSecurityPkgTokenSpaceGuid_PcdTpmPhysicalPresence_HELP #= language en-US "Indicates the presence or absence of the platform operator = during firmware booting. If platform operator is not physical presence duri= ng boot. TPM will be locked and the TPM commands that required operator phy= sical presence can not run.

\n" > = "TRUE - The platform operator is physically present.
\n= " > = "FALSE - The platform operator is not physically present." > =20 > @@ -176,9 +176,9 @@ > #string STR_gEfiSecurityPkgTokenSpaceGuid_PcdRsa2048Sha256PublicKeyBuff= er_HELP #language en-US "Provides one or more SHA 256 Hashes of the RSA 20= 48 public keys used to verify Recovery and Capsule Update images\n" > = "WARNING: The default value is treated as test key= . Please do not use default value in the production." > =20 > -#string STR_gEfiSecurityPkgTokenSpaceGuid_PcdTcg2NumberOfPCRBanks_PROMPT= #language en-US "OEM configurated number of PCR banks." > +#string STR_gEfiSecurityPkgTokenSpaceGuid_PcdTcg2NumberOfPCRBanks_PROMPT= #language en-US "OEM configured number of PCR banks." > =20 > -#string STR_gEfiSecurityPkgTokenSpaceGuid_PcdTcg2NumberOfPCRBanks_HELP = #language en-US "This PCR means the OEM configurated number of PCR banks.\n= " > +#string STR_gEfiSecurityPkgTokenSpaceGuid_PcdTcg2NumberOfPCRBanks_HELP = #language en-US "This PCR means the OEM configured number of PCR banks.\n" > = "0 means dynamic get from supported HASH algorithm" > =20 > #string STR_gEfiSecurityPkgTokenSpaceGuid_PcdTcg2HashAlgorithmBitmap_PR= OMPT #language en-US "Hash Algorithm bitmap." > @@ -256,10 +256,10 @@ > = "0x02 - CRB interface is active.
\n" > = "0xFF - Contains no current active TPM interface type" > =20 > -#string STR_gEfiSecurityPkgTokenSpaceGuid_PcdCRBIdleByPass_PROMPT #lang= uage en-US "IdleByass status supported by current active TPM interface." > +#string STR_gEfiSecurityPkgTokenSpaceGuid_PcdCRBIdleByPass_PROMPT #lang= uage en-US "IdleBypass status supported by current active TPM interface." > =20 > -#string STR_gEfiSecurityPkgTokenSpaceGuid_PcdCRBIdleByPass_HELP #langua= ge en-US "This PCD records IdleByass status supported by current active TPM= interface.\n" > - = "Accodingt to TCG PTP spec 1.3, TPM with CRB interface ca= n skip idle state and diretcly move to CmdReady state.
" > +#string STR_gEfiSecurityPkgTokenSpaceGuid_PcdCRBIdleByPass_HELP #langua= ge en-US "This PCD records IdleBypass status supported by current active TP= M interface.\n" > + = "According to TCG PTP spec 1.3, TPM with CRB interface ca= n skip idle state and directly move to CmdReady state.
" > = "0x01 - Do not support IdleByPass.
\n" > = "0x02 - Support IdleByPass.
\n" > = "0xFF - IdleByPass State is not synced with TPM hardware= .
" > diff --git a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c b/SecurityPk= g/Tcg/MemoryOverwriteControl/TcgMor.c > index fe2bd749fb..97e819edf4 100644 > --- a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c > +++ b/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c > @@ -1,7 +1,7 @@ > /** @file > TCG MOR (Memory Overwrite Request) Control Driver. > =20 > - 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 TPe= r Reset for > those encrypted drives through EFI_STORAGE_SECURITY_COMMAND_PROTOCOL = at EndOfDxe. > =20 > @@ -298,7 +298,7 @@ TPerResetAtEndOfDxe ( > @param[in] ImageHandle Image handle of this driver. > @param[in] SystemTable A Pointer to the EFI System Table. > =20 > - @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... > Status =3D EfiCreateEventReadyToBootEx ( > TPL_CALLBACK, > OnReadyToBoot, > diff --git a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf b/Security= Pkg/Tcg/MemoryOverwriteControl/TcgMor.inf > index de624423a6..906bafa04a 100644 > --- a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf > +++ b/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.inf > @@ -1,5 +1,5 @@ > ## @file > -# Initilizes MemoryOverwriteRequestControl variable > +# initializes MemoryOverwriteRequestControl variable > # > # This module will clear MOR_CLEAR_MEMORY_BIT bit if it is set. It wil= l also do > # TPer Reset for those encrypted drives through EFI_STORAGE_SECURITY_C= OMMAND_PROTOCOL > diff --git a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.uni b/Security= Pkg/Tcg/MemoryOverwriteControl/TcgMor.uni > index 0c499e7d1a..6a1df10394 100644 > --- a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.uni > +++ b/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.uni > @@ -1,5 +1,5 @@ > // /** @file > -// Initilizes MemoryOverwriteRequestControl variable > +// initializes MemoryOverwriteRequestControl variable > // > // This module will clear MOR_CLEAR_MEMORY_BIT bit if it is set. > // > diff --git a/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock= .c b/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock.c > index ef49fd928e..aa230eeefa 100644 > --- a/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock.c > +++ b/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock.c > @@ -1,7 +1,7 @@ > /** @file > TCG MOR (Memory Overwrite Request) Lock Control Driver. > =20 > - This driver initilize MemoryOverwriteRequestControlLock variable. > + This driver initializes MemoryOverwriteRequestControlLock variable. > This module will add Variable Hook and allow MemoryOverwriteRequestCo= ntrolLock variable set only once. > =20 > Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.
> @@ -167,7 +167,7 @@ SetVariableCheckHandlerMor ( > @param[in] ImageHandle Image handle of this driver. > @param[in] SystemTable A Pointer to the EFI System Table. > =20 > - @retval EFI_SUCEESS > + @retval EFI_SUCCESS > @return Others Some error occurs. > **/ > EFI_STATUS > diff --git a/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock= .h b/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock.h > index 2ef194f92f..5a6658c158 100644 > --- a/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock.h > +++ b/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock.h > @@ -119,7 +119,7 @@ SetVariableCheckHandlerMor ( > @param[in] ImageHandle Image handle of this driver. > @param[in] SystemTable A Pointer to the EFI System Table. > =20 > - @retval EFI_SUCEESS > + @retval EFI_SUCCESS > @return Others Some error occurs. > **/ > EFI_STATUS > diff --git a/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock= .uni b/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock.uni > index 639a3edcba..711b37d866 100644 > --- a/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock.uni > +++ b/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock.uni > @@ -1,5 +1,5 @@ > // /** @file > -// Initilizes MemoryOverwriteRequestControlLock variable > +// Initializes MemoryOverwriteRequestControlLock variable > // > // This module will add Variable Hook and allow MemoryOverwriteRequestC= ontrolLock variable set only once. > // > @@ -10,7 +10,7 @@ > // **/ > =20 > =20 > -#string STR_MODULE_ABSTRACT #language en-US "Initilizes Memo= ryOverwriteRequestControlLock variable" > +#string STR_MODULE_ABSTRACT #language en-US "Initializes Mem= oryOverwriteRequestControlLock variable" > =20 > #string STR_MODULE_DESCRIPTION #language en-US "This module wi= ll add Variable Hook and allow MemoryOverwriteRequestControlLock variable s= et only once." > =20 > diff --git a/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLock= Smm.inf b/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.i= nf > index 67d6bda269..875c1e5f3a 100644 > --- a/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf > +++ b/SecurityPkg/Tcg/MemoryOverwriteRequestControlLock/TcgMorLockSmm.inf > @@ -1,5 +1,5 @@ > ## @file > -# Initilizes MemoryOverwriteRequestControlLock variable > +# Initializes MemoryOverwriteRequestControlLock variable > # > # This module will add Variable Hook and allow MemoryOverwriteRequestC= ontrolLock variable set only once. > # > diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c b/SecurityPkg= /Tcg/Opal/OpalPassword/OpalDriver.c > index e14fa32354..77905d2bf9 100644 > --- a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c > +++ b/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c > @@ -2583,7 +2583,7 @@ OpalDriverGetDriverDeviceName( > @param ImageHandle Image Handle this driver. > @param SystemTable Pointer to SystemTable. > =20 > - @retval EFI_SUCESS This function always complete successfully. > + @retval EFI_SUCCESS This function always complete successfully. > **/ > EFI_STATUS > EFIAPI > @@ -2637,7 +2637,7 @@ EfiDriverEntryPoint( > Tests to see if this driver supports a given controller. > =20 > This function checks to see if the controller contains an instance of= the > - EFI_STORAGE_SECURITY_COMMAND_PROTOCOL and the EFI_BLOCK_IO_PROTOCL > + EFI_STORAGE_SECURITY_COMMAND_PROTOCOL and the EFI_BLOCK_IO_PROTOCOL > and returns EFI_SUCCESS if it does. > =20 > @param[in] This A pointer to the EFI_DRIVER_BINDING= _PROTOCOL instance. > @@ -2741,7 +2741,7 @@ OpalEfiDriverBindingSupported( > "controller", which is a child Handle, contains the EF_STORAGE_SECURI= TY_COMMAND protocols. > This function will complete the other necessary checks, such as verif= ying the device supports > the correct version of Opal. Upon verification, it will add the devi= ce to the > - Opal HII list in order to expose Opal managmeent options. > + Opal HII list in order to expose Opal management options. > =20 > @param[in] This A pointer to the EFI_DRIVER_BINDING= _PROTOCOL instance. > @param[in] ControllerHandle The Handle of the controller to sta= rt. This Handle > diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.h b/SecurityPkg= /Tcg/Opal/OpalPassword/OpalDriver.h > index beeabb1c0a..c19d78218e 100644 > --- a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.h > +++ b/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.h > @@ -61,7 +61,7 @@ extern EFI_DRIVER_BINDING_PROTOCOL gOpalDriverBinding= ; > extern EFI_COMPONENT_NAME_PROTOCOL gOpalComponentName; > extern EFI_COMPONENT_NAME2_PROTOCOL gOpalComponentName2; > =20 > -#define OPAL_MSID_LENGHT 128 > +#define OPAL_MSID_LENGTH 128 > =20 > #define MAX_PASSWORD_TRY_COUNT 5 > =20 > @@ -131,7 +131,7 @@ typedef struct { > // > typedef struct { > UINT32 MsidLength; = // Byte length of MSID Pin for device > - UINT8 Msid[OPAL_MSID_LENGHT]= ; // MSID Pin for device > + UINT8 Msid[OPAL_MSID_LENGTH]= ; // MSID Pin for device > EFI_STORAGE_SECURITY_COMMAND_PROTOCOL *Sscp; > UINT32 MediaId; = // MediaId is used by Ssc Protocol. > EFI_DEVICE_PATH_PROTOCOL *OpalDevicePath; > @@ -309,7 +309,7 @@ OpalEfiDriverBindingSupported( > "controller", which is a child handle, contains the EF_STORAGE_SECURI= TY_COMMAND protocols. > This function will complete the other necessary checks, such as verif= ying the device supports > the correct version of Opal. Upon verification, it will add the devi= ce to the > - Opal HII list in order to expose Opal managmeent options. > + Opal HII list in order to expose Opal management options. > =20 > @param[in] This A pointer to the EFI_DRIVER_BINDING= _PROTOCOL instance. > @param[in] ControllerHandle The handle of the controller to sta= rt. This handle > diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c b/SecurityPkg/Tc= g/Opal/OpalPassword/OpalHii.c > index 18b65da756..ef117d3d03 100644 > --- a/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c > +++ b/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c > @@ -1090,7 +1090,7 @@ OpalHiiSetBrowserData ( > =20 > /** > =20 > - Populate the hii_g_Configuraton with the browser Data. > + Populate the hii_g_Configuration with the browser Data. > =20 > **/ > VOID > @@ -1164,7 +1164,7 @@ HiiSetFormString( > =20 > @param Dev The Opal device. > =20 > - @retval EFI_SUCESS Initialize the device success. > + @retval EFI_SUCCESS Initialize the device success. > @retval EFI_DEVICE_ERROR Get info from device failed. > =20 > **/ > @@ -1193,7 +1193,7 @@ OpalDiskInitialize ( > } > Session.OpalBaseComId =3D Dev->OpalDisk.OpalBaseComId; > =20 > - TcgResult =3D OpalUtilGetMsid (&Session, Dev->OpalDisk.Msid, OPAL_MSID= _LENGHT, &Dev->OpalDisk.MsidLength); > + TcgResult =3D OpalUtilGetMsid (&Session, Dev->OpalDisk.Msid, OPAL_MSID= _LENGTH, &Dev->OpalDisk.MsidLength); > if (TcgResult !=3D TcgResultSuccess) { > return EFI_DEVICE_ERROR; > } > @@ -1220,7 +1220,7 @@ OpalDiskInitialize ( > =20 > @param OpalDisk The Opal device. > =20 > - @retval EFI_SUCESS Get ownership success. > + @retval EFI_SUCCESS Get ownership success. > @retval EFI_ACCESS_DENIED Has send BlockSID command, can't chang= e ownership. > @retval EFI_INVALID_PARAMETER Not get Msid info before get ownership= info. > =20 > @@ -1254,7 +1254,7 @@ OpalDiskUpdateOwnerShip ( > =20 > @param OpalDisk The Opal device. > =20 > - @retval EFI_SUCESS Initialize the device success. > + @retval EFI_SUCCESS Initialize the device success. > @retval EFI_DEVICE_ERROR Get info from device failed. > @retval EFI_INVALID_PARAMETER Not get Msid info before get ownership= info. > @retval EFI_ACCESS_DENIED Has send BlockSID command, can't chang= e ownership. > diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h b/SecurityPkg/Tc= g/Opal/OpalPassword/OpalHii.h > index 89c709df99..0543a2ce49 100644 > --- a/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h > +++ b/SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.h > @@ -156,7 +156,7 @@ OpalHiiSetBrowserData ( > =20 > /** > =20 > - Populate the hii_g_Configuraton with the browser Data. > + Populate the hii_g_Configuration with the browser Data. > =20 > **/ > VOID > @@ -247,7 +247,7 @@ GetDiskNameStringId( > =20 > @param OpalDisk The Opal device. > =20 > - @retval EFI_SUCESS Initialize the device success. > + @retval EFI_SUCCESS Initialize the device success. > @retval EFI_DEVICE_ERROR Get info from device failed. > @retval EFI_INVALID_PARAMETER Not get Msid info before get ownership= info. > =20 > @@ -348,7 +348,7 @@ HiiUninstall( > =20 > @param Dev The Opal device. > =20 > - @retval EFI_SUCESS Initialize the device success. > + @retval EFI_SUCCESS Initialize the device success. > @retval EFI_DEVICE_ERROR Get info from device failed. > =20 > **/ > @@ -362,7 +362,7 @@ OpalDiskInitialize ( > =20 > @param OpalDisk The Opal device. > =20 > - @retval EFI_SUCESS Get ownership success. > + @retval EFI_SUCCESS Get ownership success. > @retval EFI_ACCESS_DENIED Has send BlockSID command, can't chang= e ownership. > @retval EFI_INVALID_PARAMETER Not get Msid info before get ownership= info. > =20 > diff --git a/SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.c b/= SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.c > index f25481044f..83c3ad50d1 100644 > --- a/SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.c > +++ b/SecurityPkg/Tcg/PhysicalPresencePei/PhysicalPresencePei.c > @@ -31,7 +31,7 @@ LockTpmPhysicalPresence ( > ); > =20 > // > -// Gobal defintions for lock physical presence PPI and its descriptor. > +// Global defintions for lock physical presence PPI and its descriptor. > // > PEI_LOCK_PHYSICAL_PRESENCE_PPI mLockPhysicalPresencePpi =3D { > LockTpmPhysicalPresence > diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr b/SecurityPkg/Tcg/= Tcg2Config/Tcg2Config.vfr > index 12d8adb7ea..91a463997c 100644 > --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr > +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr > @@ -16,19 +16,19 @@ formset > =20 > efivarstore TCG2_CONFIGURATION_INFO, > varid =3D TCG2_CONFIGURATION_INFO_VARSTORE_ID, > - attribute =3D 0x02, // EFI variable attribures EFI_VARIABLE_BOOTSE= RVICE_ACCESS > + attribute =3D 0x02, // EFI variable attributes EFI_VARIABLE_BOOTSE= RVICE_ACCESS > name =3D TCG2_CONFIGURATION_INFO, > guid =3D TCG2_CONFIG_FORM_SET_GUID; > =20 > efivarstore TCG2_CONFIGURATION, > varid =3D TCG2_CONFIGURATION_VARSTORE_ID, > - attribute =3D 0x03, // EFI variable attribures EFI_VARIABLE_BOOTSE= RVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE > + attribute =3D 0x03, // EFI variable attributes EFI_VARIABLE_BOOTSE= RVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE > name =3D TCG2_CONFIGURATION, > guid =3D TCG2_CONFIG_FORM_SET_GUID; > =20 > efivarstore TCG2_VERSION, > varid =3D TCG2_VERSION_VARSTORE_ID, > - attribute =3D 0x03, // EFI variable attribures EFI_VARIABLE_BOOTSE= RVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE > + attribute =3D 0x03, // EFI variable attributes EFI_VARIABLE_BOOTSE= RVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE > name =3D TCG2_VERSION, > guid =3D TCG2_CONFIG_FORM_SET_GUID; > =20 > diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c b/SecurityPkg/= Tcg/Tcg2Config/Tcg2ConfigDriver.c > index 9052eced75..10d1c5cc78 100644 > --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c > +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c > @@ -240,7 +240,7 @@ InitializeTcg2VersionInfo ( > =20 > @retval EFI_ALREADY_STARTED The driver already exists in system. > @retval EFI_OUT_OF_RESOURCES Fail to execute entry point due to lac= k of resources. > - @retval EFI_SUCCES All the related protocols are installed= on the driver. > + @retval EFI_SUCCESS All the related protocols are installed= on the driver. > @retval Others Fail to install protocols as indicated= . > =20 > **/ > diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c b/SecurityPkg/Tc= g/Tcg2Config/Tcg2ConfigPeim.c > index a15919685e..e0d0a207e1 100644 > --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c > +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c > @@ -57,7 +57,7 @@ DetectTpmDevice ( > @param FileHandle Handle of the file being invoked. > @param PeiServices Describes the list of possible PEI Services. > =20 > - @retval EFI_SUCCES Convert variable to PCD successfully. > + @retval EFI_SUCCESS Convert variable to PCD successfully. > @retval Others Fail to convert variable to PCD. > **/ > EFI_STATUS > @@ -118,7 +118,7 @@ Tcg2ConfigPeimEntryPoint ( > =20 > // > // Convert variable to PCD. > - // This is work-around because there is no gurantee DynamicHiiPcd can = return correct value in DXE phase. > + // This is work-around because there is no guarantee DynamicHiiPcd can= return correct value in DXE phase. > // Using DynamicPcd instead. > // > // NOTE: Tcg2Configuration variable contains the desired TpmDevice ty= pe, > diff --git a/SecurityPkg/Tcg/Tcg2Dxe/MeasureBootPeCoff.c b/SecurityPkg/Tc= g/Tcg2Dxe/MeasureBootPeCoff.c > index 4e67ac533f..347c6ab702 100644 > --- a/SecurityPkg/Tcg/Tcg2Dxe/MeasureBootPeCoff.c > +++ b/SecurityPkg/Tcg/Tcg2Dxe/MeasureBootPeCoff.c > @@ -86,7 +86,7 @@ Tcg2DxeImageRead ( > @param[in] PCRIndex TPM PCR index > @param[in] ImageAddress Start address of image buffer. > @param[in] ImageSize Image size > - @param[out] DigestList Digeest list of this image. > + @param[out] DigestList Digest list of this image. > =20 > @retval EFI_SUCCESS Successfully measure image. > @retval EFI_OUT_OF_RESOURCES No enough resource to measure image. > diff --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c b/SecurityPkg/Tcg/Tcg2Dxe/= Tcg2Dxe.c > index 85f2e0ae38..3cd16c2fa3 100644 > --- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c > +++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c > @@ -127,7 +127,7 @@ EFI_HANDLE mImageHandle; > @param[in] PCRIndex TPM PCR index > @param[in] ImageAddress Start address of image buffer. > @param[in] ImageSize Image size > - @param[out] DigestList Digeest list of this image. > + @param[out] DigestList Digest list of this image. > =20 > @retval EFI_SUCCESS Successfully measure image. > @retval EFI_OUT_OF_RESOURCES No enough resource to measure image. > diff --git a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c b/SecurityPkg/Tcg/Tcg2Pei/= Tcg2Pei.c > index f28f33fdec..1565d4e402 100644 > --- a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c > +++ b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c > @@ -79,7 +79,7 @@ UINT32 mMeasuredMaxChildFvIndex =3D 0; > UINT32 mMeasuredChildFvIndex =3D 0; > =20 > /** > - Measure and record the Firmware Volum Information once FvInfoPPI insta= ll. > + Measure and record the Firmware Volume Information once FvInfoPPI inst= all. > =20 > @param[in] PeiServices An indirect pointer to the EFI_PEI_SERVI= CES table published by the PEI Foundation. > @param[in] NotifyDescriptor Address of the notification descriptor d= ata structure. > @@ -91,14 +91,14 @@ UINT32 mMeasuredChildFvIndex =3D 0; > **/ > EFI_STATUS > EFIAPI > -FirmwareVolmeInfoPpiNotifyCallback ( > +FirmwareVolumeInfoPpiNotifyCallback ( > IN EFI_PEI_SERVICES **PeiServices, > IN EFI_PEI_NOTIFY_DESCRIPTOR *NotifyDescriptor, > IN VOID *Ppi > ); > =20 > /** > - Record all measured Firmware Volum Information into a Guid Hob > + Record all measured Firmware Volume Information into a Guid Hob > =20 > @param[in] PeiServices An indirect pointer to the EFI_PEI_SERVI= CES table published by the PEI Foundation. > @param[in] NotifyDescriptor Address of the notification descriptor d= ata structure. > @@ -120,12 +120,12 @@ EFI_PEI_NOTIFY_DESCRIPTOR mNotifyList[] = =3D { > { > EFI_PEI_PPI_DESCRIPTOR_NOTIFY_CALLBACK, > &gEfiPeiFirmwareVolumeInfoPpiGuid, > - FirmwareVolmeInfoPpiNotifyCallback > + FirmwareVolumeInfoPpiNotifyCallback > }, > { > EFI_PEI_PPI_DESCRIPTOR_NOTIFY_CALLBACK, > &gEfiPeiFirmwareVolumeInfo2PpiGuid, > - FirmwareVolmeInfoPpiNotifyCallback > + FirmwareVolumeInfoPpiNotifyCallback > }, > { > (EFI_PEI_PPI_DESCRIPTOR_NOTIFY_CALLBACK | EFI_PEI_PPI_DESCRIPTOR_TE= RMINATE_LIST), > @@ -136,7 +136,7 @@ EFI_PEI_NOTIFY_DESCRIPTOR mNotifyList[] =3D= { > =20 > =20 > /** > - Record all measured Firmware Volum Information into a Guid Hob > + Record all measured Firmware Volume Information into a Guid Hob > Guid Hob payload layout is > =20 > UINT32 *************************** FIRMWARE_BLOB number > @@ -688,7 +688,7 @@ MeasureMainBios ( > } > =20 > /** > - Measure and record the Firmware Volum Information once FvInfoPPI insta= ll. > + Measure and record the Firmware Volume Information once FvInfoPPI inst= all. > =20 > @param[in] PeiServices An indirect pointer to the EFI_PEI_SERVI= CES table published by the PEI Foundation. > @param[in] NotifyDescriptor Address of the notification descriptor d= ata structure. > @@ -700,7 +700,7 @@ MeasureMainBios ( > **/ > EFI_STATUS > EFIAPI > -FirmwareVolmeInfoPpiNotifyCallback ( > +FirmwareVolumeInfoPpiNotifyCallback ( > IN EFI_PEI_SERVICES **PeiServices, > IN EFI_PEI_NOTIFY_DESCRIPTOR *NotifyDescriptor, > IN VOID *Ppi > diff --git a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c b/SecurityPkg/Tcg/Tcg2Smm/= Tcg2Smm.c > index 14e4ed0ee1..bd786bf479 100644 > --- a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c > +++ b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c > @@ -269,7 +269,7 @@ UpdatePPVersion ( > =20 > /** > Patch interrupt resources returned by TPM _PRS. ResourceTemplate to p= atch is determined by input > - interrupt buffer size. BufferSize, PkgLength and interrupt descirptor = in ByteList need to be patched > + interrupt buffer size. BufferSize, PkgLength and interrupt descriptor = in ByteList need to be patched > =20 > @param[in, out] Table The TPM item in ACPI table. > @param[in] IrqBuffer Input new IRQ buffer. > @@ -304,7 +304,7 @@ UpdatePossibleResource ( > // to patch TPM ACPI object _PRS returned ResourceTemplate() containi= ng 2 resource descriptors and an auto appended End Tag > // > // AML data is organized by following rule. > - // Code need to patch BufferSize and PkgLength and interrupt descirpt= or in ByteList > + // Code need to patch BufferSize and PkgLength and interrupt descript= or in ByteList > // > // =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Buffer =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > // DefBuffer :=3D BufferOp PkgLength BufferSize ByteList > @@ -321,8 +321,8 @@ UpdatePossibleResource ( > // > // > //=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DBufferSize=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > - // BufferSize :=3D Integar > - // Integar :=3D ByteConst|WordConst|DwordConst.... > + // BufferSize :=3D Integer > + // Integer :=3D ByteConst|WordConst|DwordConst.... > // > // ByteConst :=3D BytePrefix ByteData > // > @@ -371,7 +371,7 @@ UpdatePossibleResource ( > } > =20 > // > - // Include Memory32Fixed Descritor (12 Bytes) + Interrupt Descript= or header(5 Bytes) + End Tag(2 Bytes) > + // Include Memory32Fixed Descriptor (12 Bytes) + Interrupt Descrip= tor header(5 Bytes) + End Tag(2 Bytes) > // > NewPkgLength +=3D 19 + IrqBuffserSize; > if (NewPkgLength > 63) { > @@ -389,7 +389,7 @@ UpdatePossibleResource ( > *DataPtr =3D (UINT8)NewPkgLength; > =20 > // > - // 1.2 Patch BufferSize =3D sizeof(Memory32Fixed Descritor + Inter= rupt Descriptor + End Tag). > + // 1.2 Patch BufferSize =3D sizeof(Memory32Fixed Descriptor + Inte= rrupt Descriptor + End Tag). > // It is Little endian. So only patch lowest byte of BufferS= ize due to current interrupt number limit. > // > *(DataPtr + 2) =3D (UINT8)(IrqBuffserSize + 19); > @@ -445,7 +445,7 @@ UpdatePossibleResource ( > } > =20 > // > - // Include Memory32Fixed Descritor (12 Bytes) + Interrupt Descri= ptor header(5 Bytes) + End Tag(2 Bytes) > + // Include Memory32Fixed Descriptor (12 Bytes) + Interrupt Descr= iptor header(5 Bytes) + End Tag(2 Bytes) > // > NewPkgLength +=3D 19 + IrqBuffserSize; > =20 > @@ -461,7 +461,7 @@ UpdatePossibleResource ( > *(DataPtr + 1) =3D (UINT8)((NewPkgLength & 0xFF0) >> 4); > =20 > // > - // 2.2 Patch BufferSize =3D sizeof(Memory32Fixed Descritor + Int= errupt Descriptor + End Tag). > + // 2.2 Patch BufferSize =3D sizeof(Memory32Fixed Descriptor + In= terrupt Descriptor + End Tag). > // It is Little endian. Only patch lowest byte of BufferSiz= e due to current interrupt number limit. > // > *(DataPtr + 2 + ((*DataPtr & (BIT7|BIT6)) >> 6)) =3D (UINT8)(Ir= qBuffserSize + 19); > @@ -485,7 +485,7 @@ UpdatePossibleResource ( > // > DataPtr +=3D NewPkgLength - (5 + IrqBuffserSize + 2); > // > - // 3.1 Patch Length bit[7:0] of Interrupt descirptor patch interrupt= descriptor > + // 3.1 Patch Length bit[7:0] of Interrupt descriptor patch interrupt= descriptor > // > *(DataPtr + 1) =3D (UINT8)(2 + IrqBuffserSize); > // > @@ -498,7 +498,7 @@ UpdatePossibleResource ( > CopyMem(DataPtr + 5, IrqBuffer, IrqBuffserSize); > =20 > // > - // 4. Jump over Interrupt descirptor and Patch END Tag, set Checksum f= ield to 0 > + // 4. Jump over Interrupt descriptor and Patch END Tag, set Checksum f= ield to 0 > // > DataPtr +=3D 5 + IrqBuffserSize; > *DataPtr =3D ACPI_END_TAG_DESCRIPTOR; > @@ -715,7 +715,7 @@ PublishAcpiTable ( > mTcgNvs->IsShortFormPkgLength =3D IsShortFormPkgLength; > =20 > // > - // Publish the TPM ACPI table. Table is re-checksumed. > + // Publish the TPM ACPI table. Table is re-checksummed. > // > Status =3D gBS->LocateProtocol (&gEfiAcpiTableProtocolGuid, NULL, (VO= ID **) &AcpiTable); > ASSERT_EFI_ERROR (Status); > diff --git a/SecurityPkg/Tcg/Tcg2Smm/Tpm.asl b/SecurityPkg/Tcg/Tcg2Smm/Tp= m.asl > index 9c4b9afa46..7a91708a1a 100644 > --- a/SecurityPkg/Tcg/Tcg2Smm/Tpm.asl > +++ b/SecurityPkg/Tcg/Tcg2Smm/Tpm.asl > @@ -76,17 +76,17 @@ DefinitionBlock ( > Field (TNVS, AnyAcc, NoLock, Preserve) > { > PPIN, 8, // Software SMI for Physical Presence Interface > - PPIP, 32, // Used for save physical presence paramter > + PPIP, 32, // Used for save physical presence parameter > PPRP, 32, // Physical Presence request operation response > PPRQ, 32, // Physical Presence request operation > PPRM, 32, // Physical Presence request operation parameter > LPPR, 32, // Last Physical Presence request operation > FRET, 32, // Physical Presence function return code > MCIN, 8, // Software SMI for Memory Clear Interface > - MCIP, 32, // Used for save the Mor paramter > + MCIP, 32, // Used for save the Mor parameter > MORD, 32, // Memory Overwrite Request Data > MRET, 32, // Memory Overwrite function return code > - UCRQ, 32, // Phyical Presence request operation to Get User = Confirmation Status > + UCRQ, 32, // Physical Presence request operation to Get User= Confirmation Status > IRQN, 32, // IRQ Number for _CRS > SFRB, 8 // Is shortformed Pkglength for resource buffer > } > diff --git a/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDriver.c b/SecurityPkg= /Tcg/TcgConfigDxe/TcgConfigDriver.c > index fb06624fdb..8210548077 100644 > --- a/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDriver.c > +++ b/SecurityPkg/Tcg/TcgConfigDxe/TcgConfigDriver.c > @@ -17,7 +17,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent > =20 > @retval EFI_ALREADY_STARTED The driver already exists in system. > @retval EFI_OUT_OF_RESOURCES Fail to execute entry point due to lac= k of resources. > - @retval EFI_SUCCES All the related protocols are installed= on the driver. > + @retval EFI_SUCCESS All the related protocols are installed= on the driver. > @retval Others Fail to install protocols as indicated= . > =20 > **/ > diff --git a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c b/SecurityPkg/Tcg/TcgDxe/Tcg= Dxe.c > index 6feb886308..3990d1e937 100644 > --- a/SecurityPkg/Tcg/TcgDxe/TcgDxe.c > +++ b/SecurityPkg/Tcg/TcgDxe/TcgDxe.c > @@ -79,7 +79,7 @@ EFI_TCG_CLIENT_ACPI_TABLE mTcgClientAcpiTempl= ate =3D { > =20 > // > // The following EFI_TCG_SERVER_ACPI_TABLE default setting is just one = example, > -// the TPM device connectes to LPC, and also defined the ACPI _UID as 0x= FF, > +// the TPM device connects to LPC, and also defined the ACPI _UID as 0xF= F, > // this _UID can be changed and should match with the _UID setting of t= he TPM > // ACPI device object > // > @@ -1224,7 +1224,7 @@ InstallAcpiTable ( > mTcgClientAcpiTemplate.Header.CreatorId =3D PcdGet32 (PcdAcp= iDefaultCreatorId); > mTcgClientAcpiTemplate.Header.CreatorRevision =3D PcdGet32 (PcdAcp= iDefaultCreatorRevision); > // > - // The ACPI table must be checksumed before calling the InstallAcpiT= able() > + // The ACPI table must be checksummed before calling the InstallAcpi= Table() > // service of the ACPI table protocol to install it. > // > Checksum =3D CalculateCheckSum8 ((UINT8 *)&mTcgClientAcpiTemplate, = sizeof (mTcgClientAcpiTemplate)); > @@ -1244,7 +1244,7 @@ InstallAcpiTable ( > mTcgServerAcpiTemplate.Header.CreatorId =3D PcdGet32 (PcdAcp= iDefaultCreatorId); > mTcgServerAcpiTemplate.Header.CreatorRevision =3D PcdGet32 (PcdAcp= iDefaultCreatorRevision); > // > - // The ACPI table must be checksumed before calling the InstallAcpiT= able() > + // The ACPI table must be checksummed before calling the InstallAcpi= Table() > // service of the ACPI table protocol to install it. > // > Checksum =3D CalculateCheckSum8 ((UINT8 *)&mTcgServerAcpiTemplate, = sizeof (mTcgServerAcpiTemplate)); > diff --git a/SecurityPkg/Tcg/TcgPei/TcgPei.c b/SecurityPkg/Tcg/TcgPei/Tcg= Pei.c > index 0adfcc50c5..284fc394f0 100644 > --- a/SecurityPkg/Tcg/TcgPei/TcgPei.c > +++ b/SecurityPkg/Tcg/TcgPei/TcgPei.c > @@ -85,7 +85,7 @@ PhysicalPresencePpiNotifyCallback ( > ); > =20 > /** > - Measure and record the Firmware Volum Information once FvInfoPPI insta= ll. > + Measure and record the Firmware Volume Information once FvInfoPPI inst= all. > =20 > @param[in] PeiServices An indirect pointer to the EFI_PEI_SERVI= CES table published by the PEI Foundation. > @param[in] NotifyDescriptor Address of the notification descriptor d= ata structure. > @@ -97,14 +97,14 @@ PhysicalPresencePpiNotifyCallback ( > **/ > EFI_STATUS > EFIAPI > -FirmwareVolmeInfoPpiNotifyCallback ( > +FirmwareVolumeInfoPpiNotifyCallback ( > IN EFI_PEI_SERVICES **PeiServices, > IN EFI_PEI_NOTIFY_DESCRIPTOR *NotifyDescriptor, > IN VOID *Ppi > ); > =20 > /** > - Record all measured Firmware Volum Information into a Guid Hob > + Record all measured Firmware Volume Information into a Guid Hob > =20 > @param[in] PeiServices An indirect pointer to the EFI_PEI_SERVI= CES table published by the PEI Foundation. > @param[in] NotifyDescriptor Address of the notification descriptor d= ata structure. > @@ -131,12 +131,12 @@ EFI_PEI_NOTIFY_DESCRIPTOR mNotifyList[] = =3D { > { > EFI_PEI_PPI_DESCRIPTOR_NOTIFY_CALLBACK, > &gEfiPeiFirmwareVolumeInfoPpiGuid, > - FirmwareVolmeInfoPpiNotifyCallback > + FirmwareVolumeInfoPpiNotifyCallback > }, > { > EFI_PEI_PPI_DESCRIPTOR_NOTIFY_CALLBACK, > &gEfiPeiFirmwareVolumeInfo2PpiGuid, > - FirmwareVolmeInfoPpiNotifyCallback > + FirmwareVolumeInfoPpiNotifyCallback > }, > { > (EFI_PEI_PPI_DESCRIPTOR_NOTIFY_CALLBACK | EFI_PEI_PPI_DESCRIPTOR_TE= RMINATE_LIST), > @@ -146,7 +146,7 @@ EFI_PEI_NOTIFY_DESCRIPTOR mNotifyList[] =3D= { > }; > =20 > /** > - 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 > =20 > UINT32 *************************** FIRMWARE_BLOB number > @@ -501,7 +501,7 @@ MeasureMainBios ( > } > =20 > /** > - Measure and record the Firmware Volum Information once FvInfoPPI insta= ll. > + Measure and record the Firmware Voluem Information once FvInfoPPI inst= all. Ditto "Volume" > =20 > @param[in] PeiServices An indirect pointer to the EFI_PEI_SERVI= CES table published by the PEI Foundation. > @param[in] NotifyDescriptor Address of the notification descriptor d= ata structure. > @@ -513,7 +513,7 @@ MeasureMainBios ( > **/ > EFI_STATUS > EFIAPI > -FirmwareVolmeInfoPpiNotifyCallback ( > +FirmwareVolumeInfoPpiNotifyCallback ( > IN EFI_PEI_SERVICES **PeiServices, > IN EFI_PEI_NOTIFY_DESCRIPTOR *NotifyDescriptor, > IN VOID *Ppi > @@ -672,7 +672,7 @@ PhysicalPresencePpiNotifyCallback ( > } > =20 > /** > - Check if TPM chip is activeated or not. > + Check if TPM chip is activated or not. > =20 > @param[in] PeiServices Describes the list of possible PEI Serv= ices. > =20 > diff --git a/SecurityPkg/Tcg/TcgSmm/Tpm.asl b/SecurityPkg/Tcg/TcgSmm/Tpm.= asl > index 6ddc47ae91..739067dbec 100644 > --- a/SecurityPkg/Tcg/TcgSmm/Tpm.asl > +++ b/SecurityPkg/Tcg/TcgSmm/Tpm.asl > @@ -64,16 +64,16 @@ DefinitionBlock ( > Field (TNVS, AnyAcc, NoLock, Preserve) > { > PPIN, 8, // Software SMI for Physical Presence Interface > - PPIP, 32, // Used for save physical presence paramter > + PPIP, 32, // Used for save physical presence parameter > PPRP, 32, // Physical Presence request operation response > PPRQ, 32, // Physical Presence request operation > LPPR, 32, // Last Physical Presence request operation > FRET, 32, // Physical Presence function return code > MCIN, 8, // Software SMI for Memory Clear Interface > - MCIP, 32, // Used for save the Mor paramter > + MCIP, 32, // Used for save the Mor parameter > MORD, 32, // Memory Overwrite Request Data > MRET, 32, // Memory Overwrite function return code > - UCRQ, 32 // Phyical Presence request operation to Get User = Confirmation Status > + UCRQ, 32 // Physical Presence request operation to Get User= Confirmation Status > } > =20 > Method (PTS, 1, Serialized) > diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/Secure= BootConfigDriver.c b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/= SecureBootConfigDriver.c > index 6c0294151e..8936a0a634 100644 > --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figDriver.c > +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figDriver.c > @@ -16,7 +16,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent > =20 > @retval EFI_ALREADY_STARTED The driver already exists in system. > @retval EFI_OUT_OF_RESOURCES Fail to execute entry point due to lac= k of resources. > - @retval EFI_SUCCES All the related protocols are installed= on the driver. > + @retval EFI_SUCCESS All the related protocols are installed= on the driver. > @retval Others Fail to get the SecureBootEnable varia= ble. > =20 > **/ > diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/Secure= BootConfigDxe.inf b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/S= ecureBootConfigDxe.inf > index 55a4239252..573efa6379 100644 > --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figDxe.inf > +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figDxe.inf > @@ -1,5 +1,5 @@ > ## @file > -# Provides the capbility to configure secure boot in a setup browser > +# Provides the capability to configure secure boot in a setup browser > # By this module, user may change the content of DB, DBX, PK and KEK. > # > # Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved. > diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/Secure= BootConfigDxe.uni b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/S= ecureBootConfigDxe.uni > index 56097deee5..4e9c6f3ff7 100644 > --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figDxe.uni > +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figDxe.uni > @@ -1,5 +1,5 @@ > // /** @file > -// Provides the capbility to configure secure boot in a setup browser > +// Provides the capability to configure secure boot in a setup browser > // > // By this module, user may change the content of DB, DBX, PK and KEK. > // > diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/Secure= BootConfigImpl.c b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/Se= cureBootConfigImpl.c > index a15038da12..83497a23f5 100644 > --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figImpl.c > +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figImpl.c > @@ -234,7 +234,7 @@ SaveSecureBootVariable ( > it's caller's responsibility to free= the memory when finish using it. > =20 > @retval EFI_SUCCESS Create time based payload successful= ly. > - @retval EFI_OUT_OF_RESOURCES There are not enough memory resourses= to create time based payload. > + @retval EFI_OUT_OF_RESOURCES There are not enough memory resources= to create time based payload. > @retval EFI_INVALID_PARAMETER The parameter is invalid. > @retval Others Unexpected error happens. > =20 > @@ -390,7 +390,7 @@ SetSecureBootMode ( > @param[out] PkCert Point to the data buffer to store = the signature list. > =20 > @return EFI_UNSUPPORTED Unsupported Key Length. > - @return EFI_OUT_OF_RESOURCES There are not enough memory resours= es to form the signature list. > + @return EFI_OUT_OF_RESOURCES There are not enough memory resourc= es to form the signature list. > =20 > **/ > EFI_STATUS > @@ -507,7 +507,7 @@ EnrollPlatformKey ( > DEBUG ((EFI_D_INFO, "FilePostFix =3D %s\n", FilePostFix)); > =20 > // > - // Prase the selected PK file and generature PK certificate list. > + // Prase the selected PK file and generate PK certificate list. > // > Status =3D CreatePkX509SignatureList ( > Private->FileContext->FHandle, > @@ -1088,7 +1088,7 @@ IsSignatureFoundInDatabase ( > } > =20 > // > - // Enumerate all signature data in SigDB to check if executable's sign= ature exists. > + // Enumerate all signature data in SigDB to check if signature exists = for executable. > // > CertList =3D (EFI_SIGNATURE_LIST *) Data; > while ((DataSize > 0) && (DataSize >=3D CertList->SignatureListSize))= { > @@ -1312,7 +1312,7 @@ Done: > /** > Check whether the signature list exists in given variable data. > =20 > - It searches the signature list for the ceritificate hash by CertType. > + It searches the signature list for the certificate hash by CertType. > If the signature list is found, get the offset of Database for the > next hash of a certificate. > =20 > @@ -2107,7 +2107,7 @@ HashPeImageByType ( > } > =20 > /** > - Enroll a new executable's signature into Signature Database. > + Enroll a new signature of executable into Signature Database. > =20 > @param[in] PrivateData The module's private data. > @param[in] VariableName Variable name of signature database, must = be > @@ -2177,7 +2177,7 @@ EnrollAuthentication2Descriptor ( > } > =20 > // > - // Diretly set AUTHENTICATION_2 data to SetVariable > + // Directly set AUTHENTICATION_2 data to SetVariable > // > Status =3D gRT->SetVariable( > VariableName, > @@ -2208,7 +2208,7 @@ ON_EXIT: > =20 > =20 > /** > - Enroll a new executable's signature into Signature Database. > + Enroll a new signature of executable into Signature Database. > =20 > @param[in] PrivateData The module's private data. > @param[in] VariableName Variable name of signature database, must = be > @@ -2247,7 +2247,7 @@ EnrollImageSignatureToSigDB ( > // Form the SigDB certificate list. > // Format the data item into EFI_SIGNATURE_LIST type. > // > - // We need to parse executable's signature data from specified signed = executable file. > + // We need to parse signature data of executable from specified signed= executable file. > // In current implementation, we simply trust the pass-in signed exec= utable file. > // In reality, it's OS's responsibility to verify the signed executab= le file. > // > @@ -3269,7 +3269,7 @@ SecureBootExtractConfigFromVariable ( > SecureBootMode =3D NULL; > =20 > // > - // Initilize the Date and Time using system time. > + // Initialize the Date and Time using system time. > // > ConfigData->CertificateFormat =3D HASHALG_RAW; > ConfigData->AlwaysRevocation =3D TRUE; > @@ -3306,7 +3306,7 @@ SecureBootExtractConfigFromVariable ( > } > =20 > // > - // Check SecureBootEnable & Pk status, fix the inconsistence. > + // Check SecureBootEnable & Pk status, fix the inconsistency. > // If the SecureBootEnable Variable doesn't exist, hide the SecureBoo= t Enable/Disable > // Checkbox. > // > @@ -3314,7 +3314,7 @@ SecureBootExtractConfigFromVariable ( > GetVariable2 (EFI_SECURE_BOOT_ENABLE_NAME, &gEfiSecureBootEnableDisab= leGuid, (VOID**)&SecureBootEnable, NULL); > =20 > // > - // Fix Pk, SecureBootEnable inconsistence > + // Fix Pk and SecureBootEnable inconsistency > // > if ((SetupMode !=3D NULL) && (*SetupMode) =3D=3D USER_MODE) { > ConfigData->HideSecureBoot =3D FALSE; > diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/Secure= BootConfigImpl.h b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/Se= cureBootConfigImpl.h > index 32e9619e91..1fafae07ac 100644 > --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figImpl.h > +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figImpl.h > @@ -172,7 +172,7 @@ typedef struct { > CURRENT_VARIABLE_NAME VariableName; // The variable n= ame we are processing. > UINT32 ListCount; // Record current= variable has how many signature list. > UINTN ListIndex; // Record which s= ignature list is processing. > - BOOLEAN *CheckArray; // Record whcih si= ganture data checked. > + BOOLEAN *CheckArray; // Record which si= gnature data checked. Nice dyslexia result. > } SECUREBOOT_CONFIG_PRIVATE_DATA; > =20 > extern SECUREBOOT_CONFIG_PRIVATE_DATA mSecureBootConfigPrivateDate= Template; > @@ -182,7 +182,7 @@ extern SECUREBOOT_CONFIG_PRIVATE_DATA *gSecureBo= otPrivateData; > #define SECUREBOOT_CONFIG_PRIVATE_FROM_THIS(a) CR (a, SECUREBOOT_CONFI= G_PRIVATE_DATA, ConfigAccess, SECUREBOOT_CONFIG_PRIVATE_DATA_SIGNATURE) > =20 > // > -// Cryptograhpic Key Information > +// Cryptographic Key Information > // > #pragma pack(1) > typedef struct _CPL_KEY_INFO { > @@ -448,12 +448,12 @@ CleanUpPage ( > =20 > /** > Read file content into BufferPtr, the size of the allocate buffer > - is *FileSize plus AddtionAllocateSize. > + is *FileSize plus AdditionAllocateSize. > =20 > @param[in] FileHandle The file to be read. > @param[in, out] BufferPtr Pointers to the pointer of all= ocated buffer. > @param[out] FileSize Size of input file > - @param[in] AddtionAllocateSize Addtion size the buffer need to= be allocated. > + @param[in] AdditionAllocateSize Addition size the buffer need = to be allocated. > In case the buffer need to con= tain others besides the file content. > =20 > @retval EFI_SUCCESS The file was read into the buf= fer. > @@ -467,7 +467,7 @@ ReadFileContent ( > IN EFI_FILE_HANDLE FileHandle, > IN OUT VOID **BufferPtr, > OUT UINTN *FileSize, > - IN UINTN AddtionAllocateSize > + IN UINTN AdditionAllocateSize > ); > =20 > =20 > diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/Secure= BootConfigMisc.c b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/Se= cureBootConfigMisc.c > index f5ce94e06d..3730fbe646 100644 > --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figMisc.c > +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figMisc.c > @@ -10,12 +10,12 @@ SPDX-License-Identifier: BSD-2-Clause-Patent > =20 > /** > Read file content into BufferPtr, the size of the allocate buffer > - is *FileSize plus AddtionAllocateSize. > + is *FileSize plus AdditionAllocateSize. > =20 > @param[in] FileHandle The file to be read. > @param[in, out] BufferPtr Pointers to the pointer of all= ocated buffer. > @param[out] FileSize Size of input file > - @param[in] AddtionAllocateSize Addtion size the buffer need to= be allocated. > + @param[in] AdditionAllocateSize Addition size the buffer need = to be allocated. > In case the buffer need to con= tain others besides the file content. > =20 > @retval EFI_SUCCESS The file was read into the buf= fer. > @@ -29,7 +29,7 @@ ReadFileContent ( > IN EFI_FILE_HANDLE FileHandle, > IN OUT VOID **BufferPtr, > OUT UINTN *FileSize, > - IN UINTN AddtionAllocateSize > + IN UINTN AdditionAllocateSize > ) > =20 > { > @@ -62,7 +62,7 @@ ReadFileContent ( > goto ON_EXIT; > } > =20 > - BufferSize =3D (UINTN) SourceFileSize + AddtionAllocateSize; > + BufferSize =3D (UINTN) SourceFileSize + AdditionAllocateSize; > Buffer =3D AllocateZeroPool(BufferSize); > if (Buffer =3D=3D NULL) { > return EFI_OUT_OF_RESOURCES; > diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/Secure= BootConfigNvData.h b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/= SecureBootConfigNvData.h > index 8ea551d88e..6e54a4b0f2 100644 > --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figNvData.h > +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figNvData.h > @@ -122,7 +122,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent > // > typedef struct { > BOOLEAN AttemptSecureBoot; // Attempt to enable/disable Secure Boot > - BOOLEAN HideSecureBoot; // Hiden Attempt Secure Boot > + BOOLEAN HideSecureBoot; // Hidden Attempt Secure Boot > CHAR16 SignatureGuid[SECURE_BOOT_GUID_STORAGE_SIZE]; > BOOLEAN PhysicalPresent; // If a Physical Present User > UINT8 SecureBootMode; // Secure Boot Mode: Standard Or Custom > @@ -132,7 +132,7 @@ typedef struct { > UINT8 CertificateFormat; // The type of the certificate > EFI_HII_DATE RevocationDate; // The revocation date of the certificat= e > EFI_HII_TIME RevocationTime; // The revocation time of the certificat= e > - UINT8 FileEnrollType; // File type of sigunature enroll > + UINT8 FileEnrollType; // File type of signature enroll > UINT32 ListCount; // The count of signature list. > UINT32 CheckedDataCount; // The count of checked signature data. > } SECUREBOOT_CONFIGURATION; > diff --git a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/Secure= BootConfigStrings.uni b/SecurityPkg/VariableAuthenticated/SecureBootConfigD= xe/SecureBootConfigStrings.uni > index a412d5bfe9..ac783453cc 100644 > --- a/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figStrings.uni > +++ b/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootCon= figStrings.uni > @@ -45,8 +45,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent > #string STR_DBX_PE_IMAGE_FORMAT_HELP #language en-US "PE image en= rolled. Use SHA256 hash to enroll it into DBX" > #string STR_DBX_PE_FORMAT_SHA256 #language en-US "PE Image SH= A256" > =20 > -#string STR_DBX_AUTH_2_FORMAT_HELP #language en-US "VARIABLE_AUT= HENICATION_2 binary enrolled. Use raw binary to enroll it into DBX" > -#string STR_DBX_AUTH_2_FORMAT #language en-US "VARIABLE_AUT= HENICATION_2" > +#string STR_DBX_AUTH_2_FORMAT_HELP #language en-US "VARIABLE_AUT= HENTICATION_2 binary enrolled. Use raw binary to enroll it into DBX" > +#string STR_DBX_AUTH_2_FORMAT #language en-US "VARIABLE_AUT= HENTICATION_2" > =20 > #string STR_CERTIFICATE_REVOCATION_TIME_PROMPT #language en-US " Revoc= ation Time" > #string STR_CERTIFICATE_REVOCATION_TIME_HELP #language en-US "Input t= he revocation time of the certificate" >=20