ReactOS  0.4.13-dev-982-g9853eab
md5.h
Go to the documentation of this file.
1 /*
2  ***********************************************************************
3  ** md5.h -- header file for implementation of MD5 **
4  ** RSA Data Security, Inc. MD5 Message-Digest Algorithm **
5  ** Created: 2/17/90 RLR **
6  ** Revised: 12/27/90 SRD,AJ,BSK,JT Reference C version **
7  ** Revised (for MD5): RLR 4/27/91 **
8  ** -- G modified to have y&~z instead of y&z **
9  ** -- FF, GG, HH modified to add in last register done **
10  ** -- Access pattern: round 2 works mod 5, round 3 works mod 3 **
11  ** -- distinct additive constant for each step **
12  ** -- round 4 added, working mod 7 **
13  ***********************************************************************
14  */
15 
16 /*
17  ***********************************************************************
18  ** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
19  ** **
20  ** License to copy and use this software is granted provided that **
21  ** it is identified as the "RSA Data Security, Inc. MD5 Message- **
22  ** Digest Algorithm" in all material mentioning or referencing this **
23  ** software or this function. **
24  ** **
25  ** License is also granted to make and use derivative works **
26  ** provided that such works are identified as "derived from the RSA **
27  ** Data Security, Inc. MD5 Message-Digest Algorithm" in all **
28  ** material mentioning or referencing the derived work. **
29  ** **
30  ** RSA Data Security, Inc. makes no representations concerning **
31  ** either the merchantability of this software or the suitability **
32  ** of this software for any particular purpose. It is provided "as **
33  ** is" without express or implied warranty of any kind. **
34  ** **
35  ** These notices must be retained in any copies of any part of this **
36  ** documentation and/or software. **
37  ***********************************************************************
38  */
39 
40 #ifndef MD5_H
41 #define MD5_H
42 
43 /* Data structure for MD5 (Message-Digest) computation */
44 typedef struct {
45  u32_t i[2]; /* number of _bits_ handled mod 2^64 */
46  u32_t buf[4]; /* scratch buffer */
47  unsigned char in[64]; /* input buffer */
48  unsigned char digest[16]; /* actual digest after MD5Final call */
49 } MD5_CTX;
50 
51 void MD5Init ( MD5_CTX *mdContext);
52 void MD5Update( MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen);
53 void MD5Final ( unsigned char hash[], MD5_CTX *mdContext);
54 
55 #endif /* MD5_H */
VOID NTAPI MD5Init(MD5_CTX *ctx)
Definition: md5.c:45
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:7751
struct tagMD5_CTX MD5_CTX
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
unsigned long u32_t
Definition: cc.h:25
VOID NTAPI MD5Update(MD5_CTX *ctx, const unsigned char *buf, unsigned int len)
Definition: md5.c:59
GLuint in
Definition: glext.h:9616
VOID NTAPI MD5Final(MD5_CTX *ctx)
Definition: md5.c:113
Definition: msi.c:4078
Definition: _hash_fun.h:40