]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Rng.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Protocol / Rng.h
index 5a4fe692ff70188e47b7114ef952bfed5ab9b66d..a0a05d1661f8950d790fb7d324a73a30952a722e 100644 (file)
@@ -1,16 +1,10 @@
 /** @file\r
   EFI_RNG_PROTOCOL as defined in UEFI 2.4.\r
 /** @file\r
   EFI_RNG_PROTOCOL as defined in UEFI 2.4.\r
-  The UEFI Random Number Generator Protocol is used to provide random bits for use \r
+  The UEFI Random Number Generator Protocol is used to provide random bits for use\r
   in applications, or entropy for seeding other random number generators.\r
 \r
   in applications, or entropy for seeding other random number generators.\r
 \r
-Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available under\r
-the terms and conditions of the BSD License that accompanies this distribution.\r
-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
 \r
 **/\r
 \r
@@ -29,7 +23,7 @@ typedef struct _EFI_RNG_PROTOCOL EFI_RNG_PROTOCOL;
 \r
 ///\r
 /// A selection of EFI_RNG_PROTOCOL algorithms.\r
 \r
 ///\r
 /// A selection of EFI_RNG_PROTOCOL algorithms.\r
-/// The algorithms listed are optional, not meant to be exhaustive and be argmented by \r
+/// The algorithms listed are optional, not meant to be exhaustive and be argmented by\r
 /// vendors or other industry standards.\r
 ///\r
 \r
 /// vendors or other industry standards.\r
 ///\r
 \r
@@ -78,7 +72,7 @@ typedef EFI_GUID EFI_RNG_ALGORITHM;
   Returns information about the random number generation implementation.\r
 \r
   @param[in]     This                 A pointer to the EFI_RNG_PROTOCOL instance.\r
   Returns information about the random number generation implementation.\r
 \r
   @param[in]     This                 A pointer to the EFI_RNG_PROTOCOL instance.\r
-  @param[in,out] RNGAlgorithmListSize On input, the size in bytes of RNGAlgorithmList. \r
+  @param[in,out] RNGAlgorithmListSize On input, the size in bytes of RNGAlgorithmList.\r
                                       On output with a return code of EFI_SUCCESS, the size\r
                                       in bytes of the data returned in RNGAlgorithmList. On output\r
                                       with a return code of EFI_BUFFER_TOO_SMALL,\r
                                       On output with a return code of EFI_SUCCESS, the size\r
                                       in bytes of the data returned in RNGAlgorithmList. On output\r
                                       with a return code of EFI_BUFFER_TOO_SMALL,\r
@@ -137,7 +131,7 @@ EFI_STATUS
   );\r
 \r
 ///\r
   );\r
 \r
 ///\r
-/// The Random Number Generator (RNG) protocol provides random bits for use in \r
+/// The Random Number Generator (RNG) protocol provides random bits for use in\r
 /// applications, or entropy for seeding other random number generators.\r
 ///\r
 struct _EFI_RNG_PROTOCOL {\r
 /// applications, or entropy for seeding other random number generators.\r
 ///\r
 struct _EFI_RNG_PROTOCOL {\r