summaryrefslogtreecommitdiffstats
path: root/CryptoPkg
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:07:14 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commit7aa8af457650005daf439c81186c814a54638564 (patch)
treea32dcd4670c10f50fc97f108ae758238224ed802 /CryptoPkg
parent4b026f0d5af36faf3a3629a3ad49c51b5b3be12f (diff)
downloadedk2-7aa8af457650005daf439c81186c814a54638564.tar.gz
edk2-7aa8af457650005daf439c81186c814a54638564.tar.bz2
edk2-7aa8af457650005daf439c81186c814a54638564.zip
CryptoPkg/OpensslLib: Fix few typos
Fix few typos in comments. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Xiaoyu Lu <xiaoyux.lu@intel.com> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-2-philmd@redhat.com>
Diffstat (limited to 'CryptoPkg')
-rw-r--r--CryptoPkg/Library/OpensslLib/rand_pool.c8
-rw-r--r--CryptoPkg/Library/OpensslLib/rand_pool_noise.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/CryptoPkg/Library/OpensslLib/rand_pool.c b/CryptoPkg/Library/OpensslLib/rand_pool.c
index 9d2a4ad138..9f3983f7c3 100644
--- a/CryptoPkg/Library/OpensslLib/rand_pool.c
+++ b/CryptoPkg/Library/OpensslLib/rand_pool.c
@@ -129,7 +129,7 @@ RandGetSeed128 (
AES_KEY AESKey;
//
- // Chose an arbitary key and zero the feed_forward_value (FFV)
+ // Chose an arbitrary key and zero the feed_forward_value (FFV)
//
for (Index = 0; Index < 16; Index++) {
Key[Index] = (UINT8) Index;
@@ -287,7 +287,7 @@ int rand_pool_add_additional_data(RAND_POOL *pool)
}
/*
- * Dummy Implememtation for UEFI
+ * Dummy Implementation for UEFI
*
* This is OpenSSL required interface.
*/
@@ -297,7 +297,7 @@ int rand_pool_init(void)
}
/*
- * Dummy Implememtation for UEFI
+ * Dummy Implementation for UEFI
*
* This is OpenSSL required interface.
*/
@@ -306,7 +306,7 @@ void rand_pool_cleanup(void)
}
/*
- * Dummy Implememtation for UEFI
+ * Dummy Implementation for UEFI
*
* This is OpenSSL required interface.
*/
diff --git a/CryptoPkg/Library/OpensslLib/rand_pool_noise.c b/CryptoPkg/Library/OpensslLib/rand_pool_noise.c
index c16ed8b454..212834e27a 100644
--- a/CryptoPkg/Library/OpensslLib/rand_pool_noise.c
+++ b/CryptoPkg/Library/OpensslLib/rand_pool_noise.c
@@ -22,7 +22,7 @@ GetRandomNoise64 (
)
{
//
- // Return FALSE will fallback to use PerformaceCounter to
+ // Return FALSE will fallback to use PerformanceCounter to
// generate noise.
//
return FALSE;