mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
798 B
42 lines
798 B
// iopPriBlob.h: interface for the CPrivateKeyBlob
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(IOP_PRIBLOB_H)
|
|
#define IOP_PRIBLOB_H
|
|
|
|
#include <windows.h>
|
|
|
|
#include "DllSymDefn.h"
|
|
|
|
namespace iop
|
|
{
|
|
|
|
class IOPDLL_API CPrivateKeyBlob
|
|
{
|
|
public:
|
|
CPrivateKeyBlob(){};
|
|
virtual ~CPrivateKeyBlob(){};
|
|
|
|
BYTE bPLen;
|
|
BYTE bQLen;
|
|
BYTE bInvQLen;
|
|
BYTE bKsecModQLen;
|
|
BYTE bKsecModPLen;
|
|
|
|
BYTE bP[64];
|
|
BYTE bQ[64];
|
|
BYTE bInvQ[64];
|
|
BYTE bKsecModQ[64];
|
|
BYTE bKsecModP[64];
|
|
|
|
};
|
|
|
|
/////////////////////////// HELPERS /////////////////////////////////
|
|
|
|
void IOPDLL_API __cdecl // __cdecl req'd by CCI
|
|
Clear(CPrivateKeyBlob &rKeyBlob); // defined in KeyBlobHlp.cpp
|
|
|
|
} // namespace iop
|
|
|
|
#endif // IOP_PRIBLOB_H
|