]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.c
SecurityPkg: Fix spelling errors
[mirror_edk2.git] / SecurityPkg / Library / HashInstanceLibSha256 / HashInstanceLibSha256.c
index 32e03120be03e0412cd77c56db574ddd9e04d92c..760e20bae0002ca754917e1c3a69a7f2a3be2058 100644 (file)
@@ -2,14 +2,8 @@
   This library is BaseCrypto SHA256 hash instance.\r
   It can be registered to BaseCrypto router, to serve as hash engine.\r
 \r
-Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved. <BR>\r
-This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved. <BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -118,7 +112,7 @@ Sha256HashFinal (
   Sha256Final (Sha256Ctx, Digest);\r
 \r
   FreePool (Sha256Ctx);\r
-  \r
+\r
   Tpm2SetSha256ToDigestList (DigestList, Digest);\r
 \r
   return EFI_SUCCESS;\r
@@ -133,8 +127,8 @@ HASH_INTERFACE  mSha256InternalHashInstance = {
 \r
 /**\r
   The function register SHA256 instance.\r
-  \r
-  @retval EFI_SUCCESS   SHA256 instance is registered, or system dose not surpport registr SHA256 instance\r
+\r
+  @retval EFI_SUCCESS   SHA256 instance is registered, or system does not support register SHA256 instance\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -152,4 +146,4 @@ HashInstanceLibSha256Constructor (
     return EFI_SUCCESS;\r
   }\r
   return Status;\r
-}
\ No newline at end of file
+}\r