COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
md5.h
Go to the documentation of this file.
1 #ifndef _MD5_H_
2 #define _MD5_H_
3 
4 
5 #ifdef _MSC_VER
6 #include <msinttypes/stdint.h>
7 #else
8 #include <stdint.h>
9 #endif
10 
11 
12 typedef struct {
13  uint32_t total[2];
14  uint32_t state[4];
15  uint8_t buffer[64];
16 } md5_context;
17 
18 void md5_starts(md5_context *ctx);
19 void md5_update(md5_context *ctx, const uint8_t *input, uint32_t length);
20 void md5_finish(md5_context *ctx, uint8_t digest[16]);
21 
22 #endif /* _MD5_H_ */
void md5_update(md5_context *ctx, const uint8_t *input, uint32_t length)
Definition: md5.c:140
unsigned char uint8_t
Definition: stdint.h:78
unsigned int uint32_t
Definition: stdint.h:80
void md5_starts(md5_context *ctx)
Definition: md5.c:8
void md5_finish(md5_context *ctx, uint8_t digest[16])
Definition: md5.c:181
Send comments to:
COOLFluiD Web Admin