MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / Cmp

Method Cmp

Libraries/unrar/hash.cpp:128–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126
127
128bool DataHash::Cmp(HashValue *CmpValue,byte *Key)
129{
130 HashValue Final;
131 Result(&Final);
132 if (Key!=NULL)
133 ConvertHashToMAC(&Final,Key);
134 return Final==*CmpValue;
135}

Callers 4

ReadSubDataMethod · 0.80
MergeArchiveFunction · 0.80
ExtractUnixLink30Function · 0.80
ExtractCurrentFileMethod · 0.80

Calls 1

ConvertHashToMACFunction · 0.85

Tested by

no test coverage detected