MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / XorBlock

Function XorBlock

Source/codec.cpp:84–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void XorBlock(const uint32_t *shaResult, uint32_t *out)
85{
86 for (unsigned i = 0; i < BlockSize; ++i)
87 out[i] ^= shaResult[i % SHA1HashSize];
88}
89
90} // namespace
91

Callers 2

codec_decodeFunction · 0.85
codec_encodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected