]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg: Fix few typos
authorAntoine Coeur <coeur@gmx.fr>
Fri, 7 Feb 2020 01:08:15 +0000 (02:08 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 10 Feb 2020 22:30:07 +0000 (22:30 +0000)
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>

SecurityPkg/Library/DxeTcgPhysicalPresenceLib/DxeTcgPhysicalPresenceLib.c
SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.c
SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.c
SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.c
SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.c
SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.uni
SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/Pkcs7VerifyDxe.c
SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.c

index 7cd3ddfc1b96ad2042cf9ab10198b8edee2d5b52..ba1abe9e08c473e7042375cdffe213fbfc770bc5 100644 (file)
@@ -185,7 +185,7 @@ TpmPhysicalPresence (
   @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
index cabc0c6c755641c158b0ef9c4f3039363a1c0288..f0e95e5ec01e3d28e15ba15ba535e704824ae08b 100644 (file)
@@ -478,7 +478,7 @@ DxeTpm2MeasureBootHandler (
   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
index dfaaa0f0b3329d854a4342347e6db5bf745ec61e..d499371e7aec14fff732fb71b5724e9389768198 100644 (file)
@@ -776,7 +776,7 @@ DxeTpmMeasureBootHandler (
   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
index a7cb05849c00ca4b703ee82733aae018ebc5d446..7a0f61efbb8c665b5cfeead504349dcdc782be41 100644 (file)
@@ -1,6 +1,6 @@
 /** @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
index d31c8b0782d405664412120548304a6091438aa4..42cb562f67d333df728db2d9d324f77bfad20b62 100644 (file)
@@ -1,6 +1,6 @@
 /** @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
index 9ae597d381fc78bd09fe4805ba429199699b711c..85607aa645a1985b1c71b77f047846ba9d9d6bdf 100644 (file)
@@ -1,5 +1,5 @@
 ## @file\r
 ## @file\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
index e5c9d1020ff9d54402fdd39c05c07d2d3147f2ca..860b8cbb5a05cd28116704b28eae33797ee7025e 100644 (file)
@@ -1,5 +1,5 @@
 // /** @file\r
 // /** @file\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
index a96862f93733997bba76e20d0d439cf1f1b3c1ef..42282e33a91349b57bbbc6ec9e1eaeb8d6111cfb 100644 (file)
@@ -519,7 +519,7 @@ IsValidTimestamp (
   @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
index 90e54a89ce2b117efa3fd33ab13cea9802a06194..13d3dbd0bfbe7c51164bd1ebe920ab2f88b3f15b 100644 (file)
@@ -4,7 +4,7 @@
   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