]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Hash2.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Protocol / Hash2.h
index f36ed40a36b13678cefd94a81847f58fc94e963b..59a41b45b575e3a8dc4b87138fd57c6f267b8e72 100644 (file)
@@ -8,13 +8,7 @@
   message padding and finalization are performed by the supporting driver.\r
 \r
 Copyright (c) 2015, 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
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -48,20 +42,20 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 typedef struct _EFI_HASH2_PROTOCOL EFI_HASH2_PROTOCOL;\r
 \r
-typedef UINT8  EFI_MD5_HASH2[16];\r
-typedef UINT8  EFI_SHA1_HASH2[20];\r
-typedef UINT8  EFI_SHA224_HASH2[28];\r
-typedef UINT8  EFI_SHA256_HASH2[32];\r
-typedef UINT8  EFI_SHA384_HASH2[48];\r
-typedef UINT8  EFI_SHA512_HASH2[64];\r
+typedef UINT8 EFI_MD5_HASH2[16];\r
+typedef UINT8 EFI_SHA1_HASH2[20];\r
+typedef UINT8 EFI_SHA224_HASH2[28];\r
+typedef UINT8 EFI_SHA256_HASH2[32];\r
+typedef UINT8 EFI_SHA384_HASH2[48];\r
+typedef UINT8 EFI_SHA512_HASH2[64];\r
 \r
 typedef union {\r
-  EFI_MD5_HASH2     Md5Hash;\r
-  EFI_SHA1_HASH2    Sha1Hash;\r
-  EFI_SHA224_HASH2  Sha224Hash;\r
-  EFI_SHA256_HASH2  Sha256Hash;\r
-  EFI_SHA384_HASH2  Sha384Hash;\r
-  EFI_SHA512_HASH2  Sha512Hash;\r
+  EFI_MD5_HASH2       Md5Hash;\r
+  EFI_SHA1_HASH2      Sha1Hash;\r
+  EFI_SHA224_HASH2    Sha224Hash;\r
+  EFI_SHA256_HASH2    Sha256Hash;\r
+  EFI_SHA384_HASH2    Sha384Hash;\r
+  EFI_SHA512_HASH2    Sha512Hash;\r
 } EFI_HASH2_OUTPUT;\r
 \r
 /**\r
@@ -189,14 +183,14 @@ EFI_STATUS
 /// finalization are performed by the supporting driver.\r
 ///\r
 struct _EFI_HASH2_PROTOCOL {\r
-  EFI_HASH2_GET_HASH_SIZE          GetHashSize;\r
-  EFI_HASH2_HASH                   Hash;\r
-  EFI_HASH2_HASH_INIT              HashInit;\r
-  EFI_HASH2_HASH_UPDATE            HashUpdate;\r
-  EFI_HASH2_HASH_FINAL             HashFinal;\r
+  EFI_HASH2_GET_HASH_SIZE    GetHashSize;\r
+  EFI_HASH2_HASH             Hash;\r
+  EFI_HASH2_HASH_INIT        HashInit;\r
+  EFI_HASH2_HASH_UPDATE      HashUpdate;\r
+  EFI_HASH2_HASH_FINAL       HashFinal;\r
 };\r
 \r
-extern EFI_GUID gEfiHash2ServiceBindingProtocolGuid;\r
-extern EFI_GUID gEfiHash2ProtocolGuid;\r
+extern EFI_GUID  gEfiHash2ServiceBindingProtocolGuid;\r
+extern EFI_GUID  gEfiHash2ProtocolGuid;\r
 \r
 #endif\r