#include <TigerTree.h>
Public Member Functions | |
CTigerTree () | |
~CTigerTree () | |
void | SetupAndAllocate (DWORD nHeight, QWORD nLength) |
void | SetupParameters (QWORD nLength) |
void | Clear () |
void | Serialize (CArchive &ar) |
DWORD | GetSerialSize () const |
BOOL | GetRoot (TIGEROOT *pTiger) const |
CString | RootToString () const |
void | Assume (CTigerTree *pSource) |
void | BeginFile (DWORD nHeight, QWORD nLength) |
void | AddToFile (LPCVOID pInput, DWORD nLength) |
BOOL | FinishFile () |
void | BeginBlockTest () |
void | AddToTest (LPCVOID pInput, DWORD nLength) |
BOOL | FinishBlockTest (DWORD nBlock) |
BOOL | ToBytes (BYTE **pOutput, DWORD *pnOutput, DWORD nHeight=0) |
BOOL | FromBytes (BYTE *pOutput, DWORD nOutput, DWORD nHeight, QWORD nLength) |
BOOL | CheckIntegrity () |
void | Dump () |
BOOL | IsAvailable () const |
DWORD | GetHeight () const |
DWORD | GetBlockLength () const |
DWORD | GetBlockCount () const |
Public Attributes | |
void(* | pTiger )(WORD64 *, WORD64 *) |
Protected Member Functions | |
void | Collapse () |
void | BlocksToNode () |
void | Tiger (LPCVOID pInput, WORD64 nInput, WORD64 *pOutput, WORD64 *pInput1=NULL, WORD64 *pInput2=NULL) |
Protected Attributes | |
DWORD | m_nHeight |
CTigerNode * | m_pNode |
DWORD | m_nNodeCount |
DWORD | m_nNodeBase |
DWORD | m_nNodePos |
DWORD | m_nBaseUsed |
DWORD | m_nBlockCount |
DWORD | m_nBlockPos |
CTigerNode * | m_pStackBase |
CTigerNode * | m_pStackTop |
Static Protected Attributes | |
static WORD64 | m_pTable [4 *256] |
|
Definition at line 56 of file TigerTree.cpp. References GetCPUIDFlags(), m_nHeight, m_nNodeCount, m_pNode, m_pStackBase, m_pStackTop, NULL, pTiger, TigerTree_Tiger_p5(), and TigerTree_Tiger_SSE2(). |
|
Definition at line 70 of file TigerTree.cpp. References Clear(), m_pStackBase, and NULL. |
|
Definition at line 254 of file TigerTree.cpp. References BLOCK_SIZE, BlocksToNode(), Collapse(), m_nBlockCount, m_nBlockPos, m_pNode, m_pStackTop, NULL, Tiger(), and CTigerNode::value. Referenced by CLibraryBuilder::HashFile(). |
|
Definition at line 347 of file TigerTree.cpp. References BLOCK_SIZE, Collapse(), m_nBlockCount, m_nBlockPos, m_pNode, m_pStackTop, NULL, Tiger(), and CTigerNode::value. Referenced by CDownloadWithTiger::ContinueValidation(). |
|
Definition at line 223 of file TigerTree.cpp. References Clear(), m_nHeight, m_nNodeCount, m_pNode, and NULL. |
|
Definition at line 335 of file TigerTree.cpp. References m_nBlockPos, m_pNode, m_pStackBase, m_pStackTop, NULL, and STACK_SIZE. Referenced by CDownloadWithTiger::FindNewValidationBlock(). |
|
Definition at line 240 of file TigerTree.cpp. References IsAvailable(), m_nBlockPos, m_pStackBase, m_pStackTop, NULL, SetupAndAllocate(), and STACK_SIZE. Referenced by CLibraryBuilder::HashFile(). |
|
Definition at line 904 of file TigerTree.cpp. References CTigerNode::bValid, Collapse(), m_nBlockPos, m_nNodeBase, m_nNodeCount, m_nNodePos, m_pNode, m_pStackBase, m_pStackTop, CTigerNode::v1, CTigerNode::v2, and CTigerNode::v3. Referenced by AddToFile(), and FinishFile(). |
|
Definition at line 500 of file TigerTree.cpp. References CTigerNode::bValid, m_nNodeBase, m_nNodeCount, m_pNode, NULL, Tiger(), TIGER_SIZE, CTigerNode::value, and TIGEROOT::w. Referenced by FromBytes(). |
|
Definition at line 141 of file TigerTree.cpp. References m_nHeight, m_nNodeCount, m_pNode, and NULL. Referenced by Assume(), CDownloadWithTiger::ClearVerification(), FromBytes(), CHashDatabase::GetTiger(), Serialize(), CDownloadWithTiger::SetTigerTree(), SetupAndAllocate(), and ~CTigerTree(). |
|
Definition at line 890 of file TigerTree.cpp. References m_pStackBase, m_pStackTop, NULL, Tiger(), TIGER_SIZE, and CTigerNode::value. Referenced by AddToFile(), AddToTest(), BlocksToNode(), and FinishBlockTest(). |
|
Definition at line 541 of file TigerTree.cpp. References CTigerNode::HashToString(), CShareazaApp::LogMessage(), m_nHeight, m_nNodeCount, m_pNode, and theApp. |
|
Definition at line 378 of file TigerTree.cpp. References Collapse(), m_nBaseUsed, m_nNodeBase, m_nNodeCount, m_pNode, m_pStackBase, m_pStackTop, CTigerNode::v1, CTigerNode::v2, and CTigerNode::v3. Referenced by CDownloadWithTiger::FinishValidation(), and CDownloadWithTiger::ResetVerification(). |
|
Definition at line 288 of file TigerTree.cpp. References BlocksToNode(), CTigerNode::bValid, m_nBaseUsed, m_nBlockPos, m_nNodeBase, m_nNodeCount, m_nNodePos, m_pNode, m_pStackBase, m_pStackTop, NULL, Tiger(), TIGER_SIZE, and CTigerNode::value. Referenced by CLibraryBuilder::HashFile(). |
|
Definition at line 433 of file TigerTree.cpp. References CTigerNode::bValid, CheckIntegrity(), Clear(), m_nBaseUsed, m_nHeight, m_nNodeBase, m_nNodeCount, m_pNode, pTiger, SetupAndAllocate(), SetupParameters(), TIGER_SIZE, and TIGEROOT::w. Referenced by CDownloadWithTiger::SetTigerTree(). |
|
Definition at line 71 of file TigerTree.h. References m_nBaseUsed. Referenced by CDownloadWithTiger::SetTigerTree(). |
|
Definition at line 70 of file TigerTree.h. References m_nBlockCount. Referenced by CDownloadWithTiger::SetTigerTree(). |
|
Definition at line 69 of file TigerTree.h. References m_nHeight. Referenced by CDownloadWithTiger::SetTigerTree(). |
|
Definition at line 202 of file TigerTree.cpp. References m_pNode, NULL, TIGER_SIZE, and CTigerNode::value. Referenced by CLibraryFile::GetTigerTree(), CLibraryBuilder::HashFile(), and CDownloadWithTiger::SetTigerTree(). |
|
Definition at line 194 of file TigerTree.cpp. References m_nNodeCount, and TIGER_SIZE. Referenced by CHashDatabase::StoreTiger(). |
|
Definition at line 68 of file TigerTree.h. Referenced by BeginFile(), CDownloadWithTiger::GetTigerTree(), CDownloadWithTiger::NeedTigerTree(), CDownloadWithTiger::Serialize(), and CDownloadWithTiger::SetTigerTree(). |
|
Definition at line 213 of file TigerTree.cpp. References m_pNode, NULL, and CTigerNode::ToString(). |
|
Definition at line 153 of file TigerTree.cpp. References CTigerNode::bValid, Clear(), m_nHeight, m_nNodeCount, m_pNode, NULL, TIGER_SIZE, and CTigerNode::value. Referenced by CHashDatabase::GetTiger(), CDownloadWithTiger::Serialize(), and CHashDatabase::StoreTiger(). |
|
Definition at line 80 of file TigerTree.cpp. References BLOCK_SIZE, Clear(), m_nBaseUsed, m_nBlockCount, m_nBlockPos, m_nHeight, m_nNodeBase, m_nNodeCount, m_nNodePos, and m_pNode. Referenced by BeginFile(), and FromBytes(). |
|
Definition at line 113 of file TigerTree.cpp. References BLOCK_SIZE, m_nBaseUsed, m_nBlockCount, m_nBlockPos, m_nHeight, m_nNodeBase, and m_nNodeCount. Referenced by FromBytes(), and CDownloadWithTiger::Serialize(). |
|
Definition at line 715 of file TigerTree.cpp. References NULL, pTiger, and TIGER_SIZE. Referenced by AddToFile(), AddToTest(), CheckIntegrity(), Collapse(), and FinishFile(). |
|
Definition at line 397 of file TigerTree.cpp. References CTigerNode::bValid, m_nHeight, m_nNodeCount, m_pNode, NULL, TIGER_SIZE, and CTigerNode::value. |
|
Definition at line 83 of file TigerTree.h. Referenced by FinishBlockTest(), FinishFile(), FromBytes(), GetBlockCount(), SetupAndAllocate(), and SetupParameters(). |
|
Definition at line 84 of file TigerTree.h. Referenced by AddToFile(), AddToTest(), GetBlockLength(), SetupAndAllocate(), and SetupParameters(). |
|
Definition at line 85 of file TigerTree.h. Referenced by AddToFile(), AddToTest(), BeginBlockTest(), BeginFile(), BlocksToNode(), FinishFile(), SetupAndAllocate(), and SetupParameters(). |
|
Definition at line 75 of file TigerTree.h. Referenced by Assume(), Clear(), CTigerTree(), Dump(), FromBytes(), GetHeight(), Serialize(), SetupAndAllocate(), SetupParameters(), and ToBytes(). |
|
Definition at line 81 of file TigerTree.h. Referenced by BlocksToNode(), CheckIntegrity(), FinishBlockTest(), FinishFile(), FromBytes(), SetupAndAllocate(), and SetupParameters(). |
|
Definition at line 77 of file TigerTree.h. Referenced by Assume(), BlocksToNode(), CheckIntegrity(), Clear(), CTigerTree(), Dump(), FinishBlockTest(), FinishFile(), FromBytes(), GetSerialSize(), Serialize(), SetupAndAllocate(), SetupParameters(), and ToBytes(). |
|
Definition at line 82 of file TigerTree.h. Referenced by BlocksToNode(), FinishFile(), and SetupAndAllocate(). |
|
Definition at line 76 of file TigerTree.h. Referenced by AddToFile(), AddToTest(), Assume(), BeginBlockTest(), BlocksToNode(), CheckIntegrity(), Clear(), CTigerTree(), Dump(), FinishBlockTest(), FinishFile(), FromBytes(), GetRoot(), IsAvailable(), RootToString(), Serialize(), SetupAndAllocate(), and ToBytes(). |
|
Definition at line 86 of file TigerTree.h. Referenced by BeginBlockTest(), BeginFile(), BlocksToNode(), Collapse(), CTigerTree(), FinishBlockTest(), FinishFile(), and ~CTigerTree(). |
|
Definition at line 87 of file TigerTree.h. Referenced by AddToFile(), AddToTest(), BeginBlockTest(), BeginFile(), BlocksToNode(), Collapse(), CTigerTree(), FinishBlockTest(), and FinishFile(). |
|
Definition at line 5 of file TigerBoxes.h. |
|
Referenced by CTigerTree(), FromBytes(), and Tiger(). |