[edk2-devel] [PATCH v2 63/78] SecurityPkg/Hash2DxeCrypto: Fix few typos

Philippe Mathieu-Daudé posted 78 patches 6 years, 1 month ago
There is a newer version of this series
[edk2-devel] [PATCH v2 63/78] SecurityPkg/Hash2DxeCrypto: Fix few typos
Posted by Philippe Mathieu-Daudé 6 years, 1 month ago
From: Antoine Coeur <coeur@gmx.fr>

Fix few typos in documentation, comments and debug strings.

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>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
---
 SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf | 2 +-
 SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c   | 2 +-
 SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.uni | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
index 9d84bacf189c..a0b57f051455 100644
--- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
+++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
@@ -1,7 +1,7 @@
 ## @file
 #  Produces the UEFI HASH2 protocol
 #
-#  This module will use EDKII crypto libary to HASH2 protocol.
+#  This module will use EDKII crypto library to HASH2 protocol.
 #
 #  (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>
 #  Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
index 2b069a36c02b..d96bc136e2a4 100644
--- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
+++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
@@ -87,7 +87,7 @@ BOOLEAN
   This function completes hash computation and retrieves the digest value into
   the specified memory. After this function has been called, the Hash context cannot
   be used again.
-  Hash context should be already correctly intialized by HashInit(), and should not be
+  Hash context should be already correctly initialized by HashInit(), and should not be
   finalized by HashFinal(). Behavior with invalid Hash context is undefined.
 
   If HashContext is NULL, then return FALSE.
diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.uni b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.uni
index 604c2a41be6d..9e168373f344 100644
--- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.uni
+++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.uni
@@ -1,7 +1,7 @@
 // /** @file
 // Produces the UEFI HASH2 protocol
 //
-// This module will use EDKII crypto libary to HASH2 protocol.
+// This module will use EDKII crypto library to HASH2 protocol.
 //
 // Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
 //
@@ -12,5 +12,5 @@
 
 #string STR_MODULE_ABSTRACT             #language en-US "Produces UEFI HASH2 protocol"
 
-#string STR_MODULE_DESCRIPTION          #language en-US "This module will use EDKII crypto libary to HASH2 protocol."
+#string STR_MODULE_DESCRIPTION          #language en-US "This module will use EDKII crypto library to HASH2 protocol."
 
-- 
2.21.0


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#52797): https://edk2.groups.io/g/devel/message/52797
Mute This Topic: https://groups.io/mt/69395962/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v2 63/78] SecurityPkg/Hash2DxeCrypto: Fix few typos
Posted by Yao, Jiewen 6 years, 1 month ago
Reviewed-by: jiewen.yao@intel.com

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Philippe
> Mathieu-Daudé
> Sent: Friday, January 3, 2020 5:08 PM
> To: devel@edk2.groups.io
> Cc: Antoine Coeur <coeur@gmx.fr>; Yao, Jiewen <jiewen.yao@intel.com>;
> Wang, Jian J <jian.j.wang@intel.com>; Zhang, Chao B
> <chao.b.zhang@intel.com>; Philippe Mathieu-Daude <philmd@redhat.com>
> Subject: [edk2-devel] [PATCH v2 63/78] SecurityPkg/Hash2DxeCrypto: Fix few
> typos
> 
> From: Antoine Coeur <coeur@gmx.fr>
> 
> Fix few typos in documentation, comments and debug strings.
> 
> 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>
> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
> ---
>  SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf | 2 +-
>  SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c   | 2 +-
>  SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.uni | 4 ++--
>  3 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
> b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
> index 9d84bacf189c..a0b57f051455 100644
> --- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
> +++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
> @@ -1,7 +1,7 @@
>  ## @file
>  #  Produces the UEFI HASH2 protocol
>  #
> -#  This module will use EDKII crypto libary to HASH2 protocol.
> +#  This module will use EDKII crypto library to HASH2 protocol.
>  #
>  #  (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>
>  #  Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
> diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> index 2b069a36c02b..d96bc136e2a4 100644
> --- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> +++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
> @@ -87,7 +87,7 @@ BOOLEAN
>    This function completes hash computation and retrieves the digest value into
>    the specified memory. After this function has been called, the Hash context
> cannot
>    be used again.
> -  Hash context should be already correctly intialized by HashInit(), and should
> not be
> +  Hash context should be already correctly initialized by HashInit(), and should
> not be
>    finalized by HashFinal(). Behavior with invalid Hash context is undefined.
> 
>    If HashContext is NULL, then return FALSE.
> diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.uni
> b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.uni
> index 604c2a41be6d..9e168373f344 100644
> --- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.uni
> +++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.uni
> @@ -1,7 +1,7 @@
>  // /** @file
>  // Produces the UEFI HASH2 protocol
>  //
> -// This module will use EDKII crypto libary to HASH2 protocol.
> +// This module will use EDKII crypto library to HASH2 protocol.
>  //
>  // Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
>  //
> @@ -12,5 +12,5 @@
> 
>  #string STR_MODULE_ABSTRACT             #language en-US "Produces UEFI
> HASH2 protocol"
> 
> -#string STR_MODULE_DESCRIPTION          #language en-US "This module will
> use EDKII crypto libary to HASH2 protocol."
> +#string STR_MODULE_DESCRIPTION          #language en-US "This module will
> use EDKII crypto library to HASH2 protocol."
> 
> --
> 2.21.0
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#52805): https://edk2.groups.io/g/devel/message/52805
Mute This Topic: https://groups.io/mt/69395962/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-