~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to include/md5.h

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2011-11-03 15:38:23 UTC
  • mto: (4.5.5 sid) (1.6.4)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-10sx16jprzxlhkqf
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
typedef unsigned int uint32_t;
8
8
#endif
9
9
 
 
10
#define MD5LENGTH 16
 
11
 
10
12
struct MD5Context {
11
13
        uint32_t buf[4];
12
14
        uint32_t bits[2];
16
18
void MD5Init(struct MD5Context *context);
17
19
void MD5Update(struct MD5Context *context, unsigned char const *buf,
18
20
               unsigned len);
19
 
void MD5Final(unsigned char digest[16], struct MD5Context *context);
 
21
void MD5Final(unsigned char digest[MD5LENGTH], struct MD5Context *context);
20
22
void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
21
23
 
22
24
/*