nt_rsa.h

来自「windows的加密api源码」· C头文件 代码 · 共 44 行

H
44
字号
#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__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?