windows-nt/Source/XPSP1/NT/ds/win32/ntcrypto/inc/nt_rsa.h

44 lines
703 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
#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__