aboutsummaryrefslogtreecommitdiff
path: root/riemann.fmi.uni-sofia.bg/programs/nlogin-0.3-pre/md5.h
blob: 0c8a88910471ec2e0cddc263bc37c7252354dd15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef MD5_H
#define MD5_h
#include <stdint.h>

struct md5_state {
  unsigned char buf[64];
  uint32_t state[4];
  uint64_t length;
};

typedef struct md5_state md5_state;
#include "md5_defs.h"

#define MD5_CTX		md5_state
#define MD5_Init	md5_init
#define MD5_Update	md5_update
#define MD5_Final(buf, hash)	md5_final(hash, buf)

#include "str_defs.h"
#include "byte_defs.h"
#endif