provided by a driver and to create and destroy instances of the EFI Hash Protocol \r
so that a multiple drivers can use the underlying hashing services.\r
\r
-Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2014, 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
0x8628752a, 0x6cb7, 0x4814, {0x96, 0xfc, 0x24, 0xa8, 0x15, 0xac, 0x22, 0x26 } \\r
}\r
\r
+//\r
+// Note: Use of the following algorithms with EFI_HASH_PROTOCOL is deprecated.\r
+// EFI_HASH_ALGORITHM_SHA1_GUID\r
+// EFI_HASH_ALGORITHM_SHA224_GUID\r
+// EFI_HASH_ALGORITHM_SHA256_GUID\r
+// EFI_HASH_ALGORITHM_SHA384_GUID\r
+// EFI_HASH_ALGORITHM_SHA512_GUID\r
+// EFI_HASH_ALGORTIHM_MD5_GUID\r
+//\r
+\r
typedef struct _EFI_HASH_PROTOCOL EFI_HASH_PROTOCOL;\r
\r
typedef UINT8 EFI_MD5_HASH[16];\r
@param[out] HashSize Holds the returned size of the algorithm's hash.\r
\r
@retval EFI_SUCCESS Hash size returned successfully.\r
- @retval EFI_INVALID_PARAMETER HashSize is NULL\r
+ @retval EFI_INVALID_PARAMETER HashSize is NULL or HashAlgorithm is NULL.\r
@retval EFI_UNSUPPORTED The algorithm specified by HashAlgorithm is not supported \r
by this driver.\r
\r
array will contain the result of the hash computation.\r
\r
@retval EFI_SUCCESS Hash returned successfully.\r
- @retval EFI_INVALID_PARAMETER Message or Hash is NULL\r
+ @retval EFI_INVALID_PARAMETER Message or Hash, HashAlgorithm is NULL or MessageSize is 0.\r
+ MessageSize is not an integer multiple of block size.\r
@retval EFI_UNSUPPORTED The algorithm specified by HashAlgorithm is not supported by this\r
driver. Or, Extend is TRUE, and the algorithm doesn't support extending the hash.\r
\r