|
@@ -1,5 +1,6 @@
|
|
|
#ifndef __ACCESSAUTHCONN_H
|
|
|
#define __ACCESSAUTHCONN_H
|
|
|
+#pragma once
|
|
|
|
|
|
#include "SpSecureClient.h"
|
|
|
#include "AccessAuthorization_def_g.h"
|
|
@@ -38,6 +39,7 @@ struct SMWKUpdateRet
|
|
|
BYTE kmcData[0]; // 变长1到300
|
|
|
};
|
|
|
|
|
|
+#ifdef RVC_OS_LINUX
|
|
|
//获取KMC密钥
|
|
|
struct KMCKeyReq {
|
|
|
char TerminalNo[16];
|
|
@@ -50,6 +52,7 @@ struct KMCKeyRet {
|
|
|
char Index[8];
|
|
|
char Reserved[256];
|
|
|
};
|
|
|
+#endif // RVC_OS_LINUX
|
|
|
|
|
|
// 请求TOKEN时附带设备信息(未加密) 102 byte
|
|
|
struct RequestTokenInfo
|
|
@@ -238,7 +241,9 @@ struct CheckMD5Req
|
|
|
};
|
|
|
#pragma pack()
|
|
|
|
|
|
+#ifdef RVC_OS_LINUX
|
|
|
class CAccessAuthFSM;
|
|
|
class CAccessAuthGetTokenReq;
|
|
|
+#endif // RVC_OS_LINUX
|
|
|
|
|
|
#endif // !__ACCESSAUTHCONN_H
|