#ifndef __HASHCOMP_H__
#define __HASHCOMP_H__

#include "fullSpec.h"

int computeIteratedHash (unsigned char *result, int resLen, unsigned char *data,
		     unsigned int dataLen, int nofIterations);
int computeHash (unsigned char *result, int resLen, unsigned char *data,
	     unsigned int dataLen);
int computeSimplifiedHash (unsigned char *result, int resLen, unsigned char *data,
		       unsigned int dataLen);

extern int blockEncrypt (cipherInstance * cipher, keyInstance * key,
		  BYTE * input, int inputLen, BYTE * outBuffer);
extern int makeKeyBinary (keyInstance * keyInst, BYTE direction,
	       unsigned char *cipherKey);

#endif /* __HASHCOMP_H__ */