From bd3a6a04601749cbde007eaabf803fb602ee2783 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Thu, 19 Jun 2025 03:13:48 -0300 Subject: beginning of `communication.cc` --- reference/types.hh | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) (limited to 'reference/types.hh') diff --git a/reference/types.hh b/reference/types.hh index ef66baf..8e749d8 100644 --- a/reference/types.hh +++ b/reference/types.hh @@ -1,9 +1,4 @@ -struct TXTEASymmetricKey { - int (**_vptr.TXTEASymmetricKey)(...); // VTABLE? - uchar m_SymmetricKey[16]; -}; - struct TDatabasePoolConnection { TDatabaseConnectionPool *DatabaseConnectionPool; TDatabaseConnection *DatabaseConnection; @@ -60,15 +55,6 @@ struct THouse { int Help; }; -struct TWaitinglistEntry { - struct TWaitinglistEntry *Next; - char Name[30]; - ulong NextTry; - bool FreeAccount; - bool Newbie; - bool Sleeping; -}; - struct TDelayedMail { ulong CharacterID; int DepotNumber; @@ -224,41 +210,3 @@ struct TReaderThreadReply { uchar *Data; int Size; }; - -// NOTE(fusion): Probably bigint structures for RSA decoding. -struct vlong_flex_unit { - uint n; - uint *a; - uint z; -}; - -struct vlong { - int (**_vptr.vlong)(...); - struct vlong_value *value; - int negative; -}; - -struct vlong_value { - struct vlong_flex_unit super_vlong_flex_unit; - uint share; -}; - -struct vlong_montgomery { - struct vlong R; - struct vlong R1; - struct vlong m; - struct vlong n1; - struct vlong T; - struct vlong k; - uint N; -}; - -// NOTE(fusion): Oh yes. -struct TRSAPrivateKey { - int (**_vptr.TRSAPrivateKey)(...); - struct vlong m_PrimeP; - struct vlong m_PrimeQ; - struct vlong m_U; - struct vlong m_DP; - struct vlong m_DQ; -}; -- cgit v1.2.3