From 5109015c9a0b241fc3181cf874f9681ff741f3eb Mon Sep 17 00:00:00 2001 From: jyao1 Date: Mon, 13 Jan 2014 13:25:30 +0000 Subject: Follow UEFI2.4.a spec, deprecate 6 hash algo. Signed-off by: jiewen yao Reviewed by: qin long git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15104 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Protocol/Hash.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'MdePkg') diff --git a/MdePkg/Include/Protocol/Hash.h b/MdePkg/Include/Protocol/Hash.h index 9299c96699..1f9b3b32ae 100644 --- a/MdePkg/Include/Protocol/Hash.h +++ b/MdePkg/Include/Protocol/Hash.h @@ -5,7 +5,7 @@ provided by a driver and to create and destroy instances of the EFI Hash Protocol so that a multiple drivers can use the underlying hashing services. -Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License that accompanies this distribution. The full text of the license may be found at @@ -69,6 +69,16 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 0x8628752a, 0x6cb7, 0x4814, {0x96, 0xfc, 0x24, 0xa8, 0x15, 0xac, 0x22, 0x26 } \ } +// +// Note: Use of the following algorithms with EFI_HASH_PROTOCOL is deprecated. +// EFI_HASH_ALGORITHM_SHA1_GUID +// EFI_HASH_ALGORITHM_SHA224_GUID +// EFI_HASH_ALGORITHM_SHA256_GUID +// EFI_HASH_ALGORITHM_SHA384_GUID +// EFI_HASH_ALGORITHM_SHA512_GUID +// EFI_HASH_ALGORTIHM_MD5_GUID +// + typedef struct _EFI_HASH_PROTOCOL EFI_HASH_PROTOCOL; typedef UINT8 EFI_MD5_HASH[16]; -- cgit v1.2.3