blob: f8976a19bf40cc2647e5f43c71c77382f56a4d6f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef _GPXE_MD5_H
#define _GPXE_MD5_H
struct digest_algorithm;
#include <stdint.h>
#define MD5_DIGEST_SIZE 16
#define MD5_BLOCK_WORDS 16
#define MD5_HASH_WORDS 4
struct md5_ctx {
u32 hash[MD5_HASH_WORDS];
u32 block[MD5_BLOCK_WORDS];
u64 byte_count;
};
#define MD5_CTX_SIZE sizeof ( struct md5_ctx )
extern struct digest_algorithm md5_algorithm;
#endif /* _GPXE_MD5_H */
|