www.pudn.com > ntcrypto.rar > nt_rsa.h


#ifndef	__NT_RSA_H__ 
#define	__NT_RSA_H__ 
 
#include "md2.h" 
#include "md4.h" 
#include "md5.h" 
#include "sha.h" 
#include "rc2.h" 
#include "rc4.h" 
#include "des.h" 
#include "modes.h" 
 
/* nt_rsa.h 
 * 
 *	Stuff local to NameTag, but necessary for the RSA library. 
 */ 
 
#ifdef __cplusplus 
extern "C" { 
#endif 
 
// This structure keeps state for MD4 hashing. 
typedef struct MD4stuff 
{ 
	MDstruct			MD;		// MD4's state 
	BOOL				FinishFlag; 
	DWORD				BufLen; 
	BYTE				Buf[MD4BLOCKSIZE];// staging buffer 
} MD4_object; 
 
typedef struct MD2stuff 
{ 
	MD2_CTX                         MD;		// MD2's state 
	BOOL				FinishFlag; 
} MD2_object; 
 
#define MD2DIGESTLEN    16 
 
#ifdef __cplusplus 
} 
#endif 
 
#endif // __NT_RSA_H__