FreeTDS API
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
md5.h
1
#ifndef MD5_H
2
#define MD5_H
3
4
/* $Id: md5.h,v 1.4 2007/03/12 13:28:50 freddy77 Exp $ */
5
6
#if defined(__GNUC__) && __GNUC__ >= 4
7
#pragma GCC visibility push(hidden)
8
#endif
9
10
struct
MD5Context
{
11
TDS_UINT buf[4];
12
TDS_UINT bits[2];
13
unsigned
char
in[64];
14
};
15
16
void
MD5Init(
struct
MD5Context
*context);
17
void
MD5Update(
struct
MD5Context
*context,
unsigned
char
const
*buf,
18
unsigned
len);
19
void
MD5Final(
struct
MD5Context
*context,
unsigned
char
*digest);
20
void
MD5Transform(TDS_UINT buf[4], TDS_UINT
const
in[16]);
21
22
/*
23
* This is needed to make RSAREF happy on some MS-DOS compilers.
24
*/
25
typedef
struct
MD5Context
MD5_CTX
;
26
27
#if defined(__GNUC__) && __GNUC__ >= 4
28
#pragma GCC visibility pop
29
#endif
30
31
#endif
/* !MD5_H */
MD5Context
Definition:
md5.h:10
Generated by
1.8.5