From: Antoine Coeur <coeur@gmx.fr>
Fix few typos in comments.
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyux.lu@intel.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
---
CryptoPkg/Library/OpensslLib/rand_pool.c | 8 ++++----
CryptoPkg/Library/OpensslLib/rand_pool_noise.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/CryptoPkg/Library/OpensslLib/rand_pool.c b/CryptoPkg/Library/OpensslLib/rand_pool.c
index 9d2a4ad13823..9f3983f7c35b 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 c16ed8b45496..212834e27acc 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;
--
2.21.0
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#51605): https://edk2.groups.io/g/devel/message/51605
Mute This Topic: https://groups.io/mt/65772810/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-