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

Method UpdKeys20

Libraries/unrar/crypt2.cpp:116–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114
115
116void CryptData::UpdKeys20(byte *Buf)
117{
118 for (int I=0;I<16;I+=4)
119 {
120 Key20[0]^=CRCTab[Buf[I]];
121 Key20[1]^=CRCTab[Buf[I+1]];
122 Key20[2]^=CRCTab[Buf[I+2]];
123 Key20[3]^=CRCTab[Buf[I+3]];
124 }
125}
126
127
128void CryptData::Swap20(byte *Ch1,byte *Ch2)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected