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>
@param[in] TcgProtocol EFI TCG Protocol instance.\r
@param[in] Ordinal TPM command code.\r
@param[in] AdditionalParameterSize Additional parameter size.\r
@param[in] TcgProtocol EFI TCG Protocol instance.\r
@param[in] Ordinal TPM command code.\r
@param[in] AdditionalParameterSize Additional parameter size.\r
- @param[in] AdditionalParameters Pointer to the Additional paramaters.\r
+ @param[in] AdditionalParameters Pointer to the Additional parameters.\r
\r
@retval TCG_PP_OPERATION_RESPONSE_BIOS_FAILURE Error occurred during sending command to TPM or\r
receiving response from TPM.\r
\r
@retval TCG_PP_OPERATION_RESPONSE_BIOS_FAILURE Error occurred during sending command to TPM or\r
receiving response from TPM.\r
Status = gBS->LocateDevicePath (&gEfiBlockIoProtocolGuid, &DevicePathNode, &Handle);\r
if (!EFI_ERROR (Status) && !mTcg2MeasureGptTableFlag) {\r
//\r
Status = gBS->LocateDevicePath (&gEfiBlockIoProtocolGuid, &DevicePathNode, &Handle);\r
if (!EFI_ERROR (Status) && !mTcg2MeasureGptTableFlag) {\r
//\r
- // Find the gpt partion on the given devicepath\r
+ // Find the gpt partition on the given devicepath\r
//\r
DevicePathNode = OrigDevicePathNode;\r
ASSERT (DevicePathNode != NULL);\r
//\r
DevicePathNode = OrigDevicePathNode;\r
ASSERT (DevicePathNode != NULL);\r
Status = gBS->LocateDevicePath (&gEfiBlockIoProtocolGuid, &DevicePathNode, &Handle);\r
if (!EFI_ERROR (Status) && !mMeasureGptTableFlag) {\r
//\r
Status = gBS->LocateDevicePath (&gEfiBlockIoProtocolGuid, &DevicePathNode, &Handle);\r
if (!EFI_ERROR (Status) && !mMeasureGptTableFlag) {\r
//\r
- // Find the gpt partion on the given devicepath\r
+ // Find the gpt partition on the given devicepath\r
//\r
DevicePathNode = OrigDevicePathNode;\r
ASSERT (DevicePathNode != NULL);\r
//\r
DevicePathNode = OrigDevicePathNode;\r
ASSERT (DevicePathNode != NULL);\r
/** @file\r
This library is BaseCrypto router. It will redirect hash request to each individual\r
/** @file\r
This library is BaseCrypto router. It will redirect hash request to each individual\r
- hash handler registerd, such as SHA1, SHA256.\r
+ hash handler registered, such as SHA1, SHA256.\r
Platform can use PcdTpm2HashMask to mask some hash engines.\r
\r
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. <BR>\r
Platform can use PcdTpm2HashMask to mask some hash engines.\r
\r
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. <BR>\r
/** @file\r
This library is BaseCrypto router. It will redirect hash request to each individual\r
/** @file\r
This library is BaseCrypto router. It will redirect hash request to each individual\r
- hash handler registerd, such as SHA1, SHA256.\r
+ hash handler registered, such as SHA1, SHA256.\r
Platform can use PcdTpm2HashMask to mask some hash engines.\r
\r
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. <BR>\r
Platform can use PcdTpm2HashMask to mask some hash engines.\r
\r
Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. <BR>\r
-# NULL platform secure library instance that alway returns TRUE for a user physical present\r
+# NULL platform secure library instance that always returns TRUE for a user physical present\r
#\r
# NULL PlatformSecureLib instance does NOT really detect whether a physical present\r
# user exists but returns TRUE directly. This instance can be used to verify security\r
#\r
# NULL PlatformSecureLib instance does NOT really detect whether a physical present\r
# user exists but returns TRUE directly. This instance can be used to verify security\r
-// NULL platform secure library instance that alway returns TRUE for a user physical present\r
+// NULL platform secure library instance that always returns TRUE for a user physical present\r
//\r
// NULL PlatformSecureLib instance does NOT really detect whether a physical present\r
// user exists but returns TRUE directly. This instance can be used to verify security\r
//\r
// NULL PlatformSecureLib instance does NOT really detect whether a physical present\r
// user exists but returns TRUE directly. This instance can be used to verify security\r
@param[in] SignedData Pointer to buffer containing ASN.1 DER-encoded PKCS7\r
signature.\r
@param[in] SignedDataSize The size of SignedData buffer in bytes.\r
@param[in] SignedData Pointer to buffer containing ASN.1 DER-encoded PKCS7\r
signature.\r
@param[in] SignedDataSize The size of SignedData buffer in bytes.\r
- @param[in] InHash Pointer to the buffer containing the hash of the mesage data\r
+ @param[in] InHash Pointer to the buffer containing the hash of the message data\r
previously signed and to be verified.\r
@param[in] InHashSize The size of InHash buffer in bytes.\r
@param[in] RevokedDb Pointer to a list of pointers to EFI_SIGNATURE_LIST\r
previously signed and to be verified.\r
@param[in] InHashSize The size of InHash buffer in bytes.\r
@param[in] RevokedDb Pointer to a list of pointers to EFI_SIGNATURE_LIST\r
The driver will use the new RDRAND instruction to produce high-quality, high-performance\r
entropy and random number.\r
\r
The driver will use the new RDRAND instruction to produce high-quality, high-performance\r
entropy and random number.\r
\r
- RNG Algoritnms defined in UEFI 2.4:\r
+ RNG Algorithms defined in UEFI 2.4:\r
- EFI_RNG_ALGORITHM_SP800_90_CTR_256_GUID - Supported\r
(RDRAND implements a hardware NIST SP800-90 AES-CTR-256 based DRBG)\r
- EFI_RNG_ALGORITHM_RAW - Supported\r
- EFI_RNG_ALGORITHM_SP800_90_CTR_256_GUID - Supported\r
(RDRAND implements a hardware NIST SP800-90 AES-CTR-256 based DRBG)\r
- EFI_RNG_ALGORITHM_RAW - Supported\r