2005-02-20 14:27:00 +00:00
|
|
|
#ifndef _DIGCALC_H_
|
|
|
|
#define _DIGCALC_H_
|
|
|
|
|
2005-09-24 12:06:04 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
2005-02-20 14:27:00 +00:00
|
|
|
#include "config.h"
|
2005-09-24 12:06:04 +00:00
|
|
|
#endif
|
2005-02-20 14:27:00 +00:00
|
|
|
|
|
|
|
#define HASHLEN 16
|
|
|
|
typedef unsigned char HASH[HASHLEN];
|
|
|
|
#define HASHHEXLEN 32
|
|
|
|
typedef char HASHHEX[HASHHEXLEN+1];
|
|
|
|
#ifdef USE_OPENSSL
|
|
|
|
#define IN const
|
|
|
|
#else
|
2006-10-04 13:26:23 +00:00
|
|
|
#define IN
|
2005-02-20 14:27:00 +00:00
|
|
|
#endif
|
|
|
|
#define OUT
|
|
|
|
|
|
|
|
void CvtHex(
|
|
|
|
IN HASH Bin,
|
|
|
|
OUT HASHHEX Hex
|
|
|
|
);
|
|
|
|
|
|
|
|
#endif
|