]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c
CryptoPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / Hash / CryptSha1.c
index b8a6d0cda0472adc034f5aab728243f62ddf5096..bf2f5f4ce40d9fdc20b3e72e7a124b1e19a0eee3 100644 (file)
@@ -2,13 +2,7 @@
   SHA-1 Digest Wrapper Implementation over OpenSSL.\r
 \r
 Copyright (c) 2009 - 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
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -102,7 +96,7 @@ Sha1Duplicate (
 \r
   This function performs SHA-1 digest on a data buffer of the specified size.\r
   It can be called multiple times to compute the digest of long or discontinuous data streams.\r
-  SHA-1 context should be already correctly intialized by Sha1Init(), and should not be finalized\r
+  SHA-1 context should be already correctly initialized by Sha1Init(), and should not be finalized\r
   by Sha1Final(). Behavior with invalid context is undefined.\r
 \r
   If Sha1Context is NULL, then return FALSE.\r
@@ -149,7 +143,7 @@ Sha1Update (
   This function completes SHA-1 hash computation and retrieves the digest value into\r
   the specified memory. After this function has been called, the SHA-1 context cannot\r
   be used again.\r
-  SHA-1 context should be already correctly intialized by Sha1Init(), and should not be\r
+  SHA-1 context should be already correctly initialized by Sha1Init(), and should not be\r
   finalized by Sha1Final(). Behavior with invalid SHA-1 context is undefined.\r
 \r
   If Sha1Context is NULL, then return FALSE.\r