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
\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
/// 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