]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/Hash.h
MdePkg: Add UEFI2.5 USB Function I/O protocol definitions
[mirror_edk2.git] / MdePkg / Include / Protocol / Hash.h
index 1f9b3b32ae3903044c5bd62f3098179486ccef11..0bee694a5b10d2b7b1b138631c86e4aff4f7e28f 100644 (file)
@@ -105,7 +105,7 @@ typedef union {
   @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
@@ -135,7 +135,8 @@ EFI_STATUS
                             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