sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
md5.h
Go to the documentation of this file.
1 #ifndef _MD5_H
2 #define _MD5_H
3 
4 #ifndef uint8
5 #define uint8 unsigned char
6 #endif
7 
8 #ifndef uint32
9 #define uint32 unsigned long int
10 #endif
11 
12 typedef struct
13 {
14  uint32 total[2];
17 }
19 
20 void md5_starts( md5_context *ctx );
21 void md5_update( md5_context *ctx, uint8 *input, uint32 length );
22 void md5_finish( md5_context *ctx, uint8 digest[16] );
23 
24 #endif /* md5.h */
25 
#define uint32
Definition: md5.h:9
uint8_t state
Definition: Sensors.cpp:526
#define uint8
Definition: md5.h:5
void md5_update(md5_context *ctx, uint8 *input, uint32 length)
Definition: md5.c:175
void md5_starts(md5_context *ctx)
Definition: md5.c:41
Definition: md5.h:12
char buffer[BLOCK_SIZE]
Definition: DeviceGeneric.cpp:84
void md5_finish(md5_context *ctx, uint8 digest[16])
Definition: md5.c:222