@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