]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/iScsi/Md5.h
Comment out the IntelFrameworkModulePkg/Universal/DriverSampleDxe/DriverSampleDxe...
[mirror_edk2.git] / MdeModulePkg / Universal / iScsi / Md5.h
CommitLineData
6a690e23 1/*++\r
2\r
3Copyright (c) 2007 Intel Corporation. All rights reserved\r
4This software and associated documentation (if any) is furnished\r
5under a license and may only be used or copied in accordance\r
6with the terms of the license. Except as permitted by such\r
7license, no part of this software or documentation may be\r
8reproduced, stored in a retrieval system, or transmitted in any\r
9form or by any means without the express written consent of\r
10Intel Corporation.\r
11\r
12Module Name:\r
13\r
14 Md5.h\r
15\r
16Abstract:\r
17\r
18 Header file for Md5\r
19\r
20--*/\r
21\r
22#ifndef _MD5_H_\r
23#define _MD5_H_\r
24\r
25#include <uefi/UefiBaseType.h>\r
26#include <Library/BaseLib.h>\r
27#include <Library/NetLib.h>\r
28\r
29#define MD5_HASHSIZE 16\r
30\r
31typedef struct _MD5_CTX {\r
32 EFI_STATUS Status;\r
33 UINT64 Length;\r
34 UINT32 States[MD5_HASHSIZE / sizeof (UINT32)];\r
35 UINT8 M[64];\r
36 UINTN Count;\r
37} MD5_CTX;\r
38\r
39EFI_STATUS\r
40MD5Init (\r
41 IN MD5_CTX *Md5Ctx\r
42 )\r
43/*++\r
44\r
45Routine Description:\r
46\r
47 GC_TODO: Add function description\r
48\r
49Arguments:\r
50\r
51 Md5Ctx - GC_TODO: add argument description\r
52\r
53Returns:\r
54\r
55 EFI_SUCCESS - GC_TODO: Add description for return value\r
56\r
57--*/\r
58;\r
59\r
60EFI_STATUS\r
61MD5Update (\r
62 IN MD5_CTX *Md5Ctx,\r
63 IN VOID *Data,\r
64 IN UINTN DataLen\r
65 )\r
66/*++\r
67\r
68Routine Description:\r
69\r
70 GC_TODO: Add function description\r
71\r
72Arguments:\r
73\r
74 Md5Ctx - GC_TODO: add argument description\r
75 Data - GC_TODO: add argument description\r
76 DataLen - GC_TODO: add argument description\r
77\r
78Returns:\r
79\r
80 EFI_SUCCESS - GC_TODO: Add description for return value\r
81\r
82--*/\r
83;\r
84\r
85EFI_STATUS\r
86MD5Final (\r
87 IN MD5_CTX *Md5Ctx,\r
88 OUT UINT8 *HashVal\r
89 )\r
90/*++\r
91\r
92Routine Description:\r
93\r
94 GC_TODO: Add function description\r
95\r
96Arguments:\r
97\r
98 Md5Ctx - GC_TODO: add argument description\r
99 HashVal - GC_TODO: add argument description\r
100\r
101Returns:\r
102\r
103 EFI_SUCCESS - GC_TODO: Add description for return value\r
104\r
105--*/\r
106;\r
107\r
108#endif // _MD5_H\r