]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/BaseCryptLib/Rand/CryptRandItc.c
Maintainers.txt: Remove Nt32Pkg reference after Nt32Pkg is removed
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / Rand / CryptRandItc.c
index 9f87087445fe2622a6b7cbfef91489138533bcb4..8699cfeb7165600f1e1d2c38ce085a823d848cfb 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
   Pseudorandom Number Generator Wrapper Implementation over OpenSSL.\r
 \r
-Copyright (c) 2012 - 2013, 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) 2012 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -69,7 +63,7 @@ RandomSeed (
       sizeof (DefaultSeed),\r
       "UEFI Crypto Library default seed (%ld)",\r
       AsmReadItc ()\r
-      ); \r
+      );\r
 \r
     RAND_seed (DefaultSeed, sizeof (DefaultSeed));\r
   }\r
@@ -87,7 +81,7 @@ RandomSeed (
   If Output is NULL, then return FALSE.\r
 \r
   @param[out]  Output  Pointer to buffer to receive random value.\r
-  @param[in]   Size    Size of randome bytes to generate.\r
+  @param[in]   Size    Size of random bytes to generate.\r
 \r
   @retval TRUE   Pseudorandom byte stream generated successfully.\r
   @retval FALSE  Pseudorandom number generator fails to generate due to lack of entropy.\r