ace-radius/md5.h
00001 #ifndef __MD5_H_
00002 #define __MD5_H_
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifdef _MSC_VER
00027 #include "Radius.h"
00028 #else
00029 #include <inttypes.h>
00030 #endif
00031
00032 typedef struct MD5Context
00033 {
00034 uint32_t buf[4];
00035 uint32_t bits[2];
00036 unsigned char in[64];
00037 } MD5_CTX;
00038
00039 extern void MD5Init(struct MD5Context * ctx);
00040 extern void MD5Update(struct MD5Context *ctx, unsigned char *buf, uint32_t len);
00041 extern void MD5Final(unsigned char digest[16], struct MD5Context *ctx);
00042 extern void MD5Transform(uint32_t buf[4], uint32_t in[16]);
00043
00044 extern void MD5Calc(unsigned char *output,unsigned char *input, uint32_t len);
00045
00046 #endif
00047
Generated on Tue Aug 11 18:35:06 2009 for ace-radius by
1.3.7-20040704