SecurityPkg: Fix few typos

Fix few typos in comments and documentation.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-63-philmd@redhat.com>
This commit is contained in:
Antoine Coeur 2020-02-07 02:08:15 +01:00 committed by mergify[bot]
parent aad15888d6
commit fc70522ffe
9 changed files with 9 additions and 9 deletions

View File

@ -185,7 +185,7 @@ TpmPhysicalPresence (
@param[in] TcgProtocol EFI TCG Protocol instance.
@param[in] Ordinal TPM command code.
@param[in] AdditionalParameterSize Additional parameter size.
@param[in] AdditionalParameters Pointer to the Additional paramaters.
@param[in] AdditionalParameters Pointer to the Additional parameters.
@retval TCG_PP_OPERATION_RESPONSE_BIOS_FAILURE Error occurred during sending command to TPM or
receiving response from TPM.

View File

@ -478,7 +478,7 @@ DxeTpm2MeasureBootHandler (
Status = gBS->LocateDevicePath (&gEfiBlockIoProtocolGuid, &DevicePathNode, &Handle);
if (!EFI_ERROR (Status) && !mTcg2MeasureGptTableFlag) {
//
// Find the gpt partion on the given devicepath
// Find the gpt partition on the given devicepath
//
DevicePathNode = OrigDevicePathNode;
ASSERT (DevicePathNode != NULL);

View File

@ -776,7 +776,7 @@ DxeTpmMeasureBootHandler (
Status = gBS->LocateDevicePath (&gEfiBlockIoProtocolGuid, &DevicePathNode, &Handle);
if (!EFI_ERROR (Status) && !mMeasureGptTableFlag) {
//
// Find the gpt partion on the given devicepath
// Find the gpt partition on the given devicepath
//
DevicePathNode = OrigDevicePathNode;
ASSERT (DevicePathNode != NULL);

View File

@ -1,6 +1,6 @@
/** @file
This library is BaseCrypto router. It will redirect hash request to each individual
hash handler registerd, such as SHA1, SHA256.
hash handler registered, such as SHA1, SHA256.
Platform can use PcdTpm2HashMask to mask some hash engines.
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. <BR>

View File

@ -1,6 +1,6 @@
/** @file
This library is BaseCrypto router. It will redirect hash request to each individual
hash handler registerd, such as SHA1, SHA256.
hash handler registered, such as SHA1, SHA256.
Platform can use PcdTpm2HashMask to mask some hash engines.
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. <BR>

View File

@ -1,5 +1,5 @@
## @file
# NULL platform secure library instance that alway returns TRUE for a user physical present
# NULL platform secure library instance that always returns TRUE for a user physical present
#
# NULL PlatformSecureLib instance does NOT really detect whether a physical present
# user exists but returns TRUE directly. This instance can be used to verify security

View File

@ -1,5 +1,5 @@
// /** @file
// NULL platform secure library instance that alway returns TRUE for a user physical present
// NULL platform secure library instance that always returns TRUE for a user physical present
//
// NULL PlatformSecureLib instance does NOT really detect whether a physical present
// user exists but returns TRUE directly. This instance can be used to verify security

View File

@ -519,7 +519,7 @@ IsValidTimestamp (
@param[in] SignedData Pointer to buffer containing ASN.1 DER-encoded PKCS7
signature.
@param[in] SignedDataSize The size of SignedData buffer in bytes.
@param[in] InHash Pointer to the buffer containing the hash of the mesage data
@param[in] InHash Pointer to the buffer containing the hash of the message data
previously signed and to be verified.
@param[in] InHashSize The size of InHash buffer in bytes.
@param[in] RevokedDb Pointer to a list of pointers to EFI_SIGNATURE_LIST

View File

@ -4,7 +4,7 @@
The driver will use the new RDRAND instruction to produce high-quality, high-performance
entropy and random number.
RNG Algoritnms defined in UEFI 2.4:
RNG Algorithms defined in UEFI 2.4:
- EFI_RNG_ALGORITHM_SP800_90_CTR_256_GUID - Supported
(RDRAND implements a hardware NIST SP800-90 AES-CTR-256 based DRBG)
- EFI_RNG_ALGORITHM_RAW - Supported