MCPcopy Create free account
hub / github.com/crossuo/crossuo / RS_MDS_Encode

Function RS_MDS_Encode

src/Crypt/GameCrypt.cpp:667–677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

665}
666
667static unsigned int RS_MDS_Encode(unsigned int k0, unsigned int k1)
668{
669 unsigned int r = 0;
670 for (int i = r = 0; i < 2; i++)
671 {
672 r ^= (i) ? k0 : k1;
673 for (int j = 0; j < 4; j++)
674 RS_rem(r);
675 }
676 return r;
677}
678
679static void reKey(keyInstance *key)
680{

Callers 1

reKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected