]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.c
SecurityPkg: Clean up source files
[mirror_edk2.git] / SecurityPkg / RandomNumberGenerator / RngDxe / RngDxe.c
index 32c46ab45f127f58a15cfc472754e1e9a7f0e1c1..852bbfadd7ea8b5628b703b79a5db558c2a416bc 100644 (file)
@@ -1,7 +1,7 @@
-/** @file  \r
+/** @file\r
   RNG Driver to produce the UEFI Random Number Generator protocol.\r
 \r
-  The driver will use the new RDRAND instruction to produce high-quality, high-performance \r
+  The driver will use the new RDRAND instruction to produce high-quality, high-performance\r
   entropy and random number.\r
 \r
   RNG Algoritnms defined in UEFI 2.4:\r
    - EFI_RNG_ALGORITHM_X9_31_3DES_GUID        - Unsupported\r
    - EFI_RNG_ALGORITHM_X9_31_AES_GUID         - Unsupported\r
 \r
-Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>\r
 (C) Copyright 2015 Hewlett Packard Enterprise Development LP<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
+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
+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
 \r
 **/\r
@@ -40,7 +40,7 @@ EFI_RNG_ALGORITHM mSupportedRngAlgorithms[] = {
   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
@@ -89,7 +89,7 @@ RngGetInfo (
     }\r
   }\r
   *RNGAlgorithmListSize = RequiredSize;\r
-  \r
+\r
   return Status;\r
 }\r
 \r
@@ -151,7 +151,7 @@ RngGetRNG (
   //\r
   if (CompareGuid (RNGAlgorithm, &gEfiRngAlgorithmRaw)) {\r
     //\r
-    // When a DRBG is used on the output of a entropy source, \r
+    // When a DRBG is used on the output of a entropy source,\r
     // its security level must be at least 256 bits according to UEFI Spec.\r
     //\r
     if (RNGValueLength < 32) {\r