]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/IScsiDxe/Md5.h
202033 make .h more clear, seperate ComponentName.h IScsiInitiatorName.h from IScsiDr...
[mirror_edk2.git] / MdeModulePkg / Universal / Network / IScsiDxe / Md5.h
index 18accea7d5c3f8e8d91b3933ab3ecd7a9c12edeb..4198e200dc9d62abfaeccde8872749e6bbbb0315 100644 (file)
@@ -32,48 +32,48 @@ typedef struct _MD5_CTX {
 /**\r
   Initialize four 32-bits chaining variables and use them to do the Md5 transform.\r
 \r
-  @param[in]  Md5Ctx The data structure of Md5.\r
+  @param[out]  Md5Ctx The data structure of Md5.\r
 \r
   @retval EFI_SUCCESS Initialization is ok.\r
 **/\r
 EFI_STATUS\r
 MD5Init (\r
-  IN MD5_CTX  *Md5Ctx\r
+  OUT MD5_CTX  *Md5Ctx\r
   );\r
 \r
 /**\r
   the external interface of Md5 algorithm\r
 \r
-  @param[in]  Md5Ctx  The data structure of storing the original data\r
-                      segment and the final result.\r
-  @param[in]  Data    The data wanted to be transformed.\r
-  @param[in]  DataLen The length of data.\r
+  @param[in, out]  Md5Ctx  The data structure of storing the original data\r
+                           segment and the final result.\r
+  @param[in]       Data    The data wanted to be transformed.\r
+  @param[in]       DataLen The length of data.\r
 \r
   @retval EFI_SUCCESS The transform is ok.\r
   @retval Others      Other errors as indicated.\r
 **/\r
 EFI_STATUS\r
 MD5Update (\r
-  IN  MD5_CTX  *Md5Ctx,\r
-  IN  VOID     *Data,\r
-  IN  UINTN    DataLen\r
+  IN  OUT MD5_CTX  *Md5Ctx,\r
+  IN  VOID         *Data,\r
+  IN  UINTN        DataLen\r
   );\r
 \r
 /**\r
   Accumulate the MD5 value of every data segment and generate the finial\r
   result according to MD5 algorithm.\r
 \r
-  @param[in]   Md5Ctx  The data structure of storing the original data\r
-                       segment and the final result.\r
-  @param[out]  HashVal The final 128-bits output.\r
+  @param[in, out]   Md5Ctx  The data structure of storing the original data\r
+                            segment and the final result.\r
+  @param[out]      HashVal  The final 128-bits output.\r
 \r
   @retval EFI_SUCCESS  The transform is ok.\r
   @retval Others       Other errors as indicated.\r
 **/\r
 EFI_STATUS\r
 MD5Final (\r
-  IN  MD5_CTX  *Md5Ctx,\r
-  OUT UINT8    *HashVal\r
+  IN  OUT MD5_CTX  *Md5Ctx,\r
+  OUT UINT8        *HashVal\r
   );\r
 \r
 #endif \r