OLD | NEW |
1 /* See md5.c for explanation and copyright information. */ | 1 /* See md5.c for explanation and copyright information. */ |
2 | 2 |
3 /* | |
4 * $Id: md5.h 2101 2008-05-23 06:46:51Z peter $ | |
5 */ | |
6 | |
7 #ifndef YASM_MD5_H | 3 #ifndef YASM_MD5_H |
8 #define YASM_MD5_H | 4 #define YASM_MD5_H |
9 | 5 |
10 #ifndef YASM_LIB_DECL | 6 #ifndef YASM_LIB_DECL |
11 #define YASM_LIB_DECL | 7 #define YASM_LIB_DECL |
12 #endif | 8 #endif |
13 | 9 |
14 /* Unlike previous versions of this code, uint32 need not be exactly | 10 /* Unlike previous versions of this code, uint32 need not be exactly |
15 32 bits, merely 32 bits or more. Choosing a data type which is 32 | 11 32 bits, merely 32 bits or more. Choosing a data type which is 32 |
16 bits instead of 64 is not important; speed is considerably more | 12 bits instead of 64 is not important; speed is considerably more |
(...skipping 10 matching lines...) Expand all Loading... |
27 void yasm_md5_init(yasm_md5_context *context); | 23 void yasm_md5_init(yasm_md5_context *context); |
28 YASM_LIB_DECL | 24 YASM_LIB_DECL |
29 void yasm_md5_update(yasm_md5_context *context, unsigned char const *buf, | 25 void yasm_md5_update(yasm_md5_context *context, unsigned char const *buf, |
30 unsigned long len); | 26 unsigned long len); |
31 YASM_LIB_DECL | 27 YASM_LIB_DECL |
32 void yasm_md5_final(unsigned char digest[16], yasm_md5_context *context); | 28 void yasm_md5_final(unsigned char digest[16], yasm_md5_context *context); |
33 YASM_LIB_DECL | 29 YASM_LIB_DECL |
34 void yasm_md5_transform(unsigned long buf[4], const unsigned char in[64]); | 30 void yasm_md5_transform(unsigned long buf[4], const unsigned char in[64]); |
35 | 31 |
36 #endif /* !YASM_MD5_H */ | 32 #endif /* !YASM_MD5_H */ |
OLD | NEW |