md5.h

Go to the documentation of this file.
00001 #ifndef _GPXE_MD5_H
00002 #define _GPXE_MD5_H
00003 
00004 FILE_LICENCE ( GPL2_OR_LATER );
00005 
00006 struct digest_algorithm;
00007 
00008 #include <stdint.h>
00009 
00010 #define MD5_DIGEST_SIZE         16
00011 #define MD5_BLOCK_WORDS         16
00012 #define MD5_HASH_WORDS          4
00013 
00014 struct md5_ctx {
00015         u32 hash[MD5_HASH_WORDS];
00016         u32 block[MD5_BLOCK_WORDS];
00017         u64 byte_count;
00018 };
00019 
00020 #define MD5_CTX_SIZE sizeof ( struct md5_ctx )
00021 
00022 extern struct digest_algorithm md5_algorithm;
00023 
00024 #endif /* _GPXE_MD5_H */

Generated on Tue Apr 6 20:01:08 2010 for gPXE by  doxygen 1.5.7.1