Mixes for Privacy and Anonymity in the Internet
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
CADataRetentionLogFile Class Reference

Public Member Functions

 CADataRetentionLogFile ()
 
 ~CADataRetentionLogFile ()
 
SINT32 openLog (UINT8 *strLogDir, UINT32 date, CAASymCipher *pPublicKey)
 
SINT32 closeLog ()
 
SINT32 log (t_dataretentionLogEntry *)
 
UINT32 getMaxLogTime ()
 

Static Public Member Functions

static SINT32 doCheckAndPerformanceTest ()
 

Private Member Functions

SINT32 writeHeader (CAASymCipher *pPublicKey)
 
SINT32 flushLogEntries ()
 
SINT32 writeFooter ()
 

Private Attributes

gcm_ctx_64k * m_pGCMCtx
 
int m_hLogFile
 
UINT8 m_Day
 
UINT8 m_Month
 
UINT16 m_Year
 
UINT8m_arOneBlock
 
UINT8m_encBlock
 
UINT8m_nonceBuffForLogEntries
 
UINT32 m_nLogEntriesPerBlock
 
UINT32 m_nBytesPerLogEntry
 
UINT32 m_nCurrentLogEntriesInBlock
 
UINT32 m_nCurrentBlockNumber
 
UINT32 m_nMaxLogTime
 

Constructor & Destructor Documentation

◆ CADataRetentionLogFile()

CADataRetentionLogFile::CADataRetentionLogFile ( )

◆ ~CADataRetentionLogFile()

CADataRetentionLogFile::~CADataRetentionLogFile ( )

Member Function Documentation

◆ closeLog()

SINT32 CADataRetentionLogFile::closeLog ( )

◆ doCheckAndPerformanceTest()

static SINT32 CADataRetentionLogFile::doCheckAndPerformanceTest ( )
static

◆ flushLogEntries()

SINT32 CADataRetentionLogFile::flushLogEntries ( )
private

◆ getMaxLogTime()

UINT32 CADataRetentionLogFile::getMaxLogTime ( )

References m_nMaxLogTime.

◆ log()

SINT32 CADataRetentionLogFile::log ( t_dataretentionLogEntry *  )

◆ openLog()

SINT32 CADataRetentionLogFile::openLog ( UINT8 strLogDir,
UINT32  date,
CAASymCipher pPublicKey 
)

◆ writeFooter()

SINT32 CADataRetentionLogFile::writeFooter ( )
private

◆ writeHeader()

SINT32 CADataRetentionLogFile::writeHeader ( CAASymCipher pPublicKey)
private

Member Data Documentation

◆ m_arOneBlock

UINT8* CADataRetentionLogFile::m_arOneBlock
private

◆ m_Day

UINT8 CADataRetentionLogFile::m_Day
private

◆ m_encBlock

UINT8* CADataRetentionLogFile::m_encBlock
private

◆ m_hLogFile

int CADataRetentionLogFile::m_hLogFile
private

◆ m_Month

UINT8 CADataRetentionLogFile::m_Month
private

◆ m_nBytesPerLogEntry

UINT32 CADataRetentionLogFile::m_nBytesPerLogEntry
private

◆ m_nCurrentBlockNumber

UINT32 CADataRetentionLogFile::m_nCurrentBlockNumber
private

◆ m_nCurrentLogEntriesInBlock

UINT32 CADataRetentionLogFile::m_nCurrentLogEntriesInBlock
private

◆ m_nLogEntriesPerBlock

UINT32 CADataRetentionLogFile::m_nLogEntriesPerBlock
private

◆ m_nMaxLogTime

UINT32 CADataRetentionLogFile::m_nMaxLogTime
private

Referenced by getMaxLogTime().

◆ m_nonceBuffForLogEntries

UINT8* CADataRetentionLogFile::m_nonceBuffForLogEntries
private

◆ m_pGCMCtx

gcm_ctx_64k* CADataRetentionLogFile::m_pGCMCtx
private

◆ m_Year

UINT16 CADataRetentionLogFile::m_Year
private