and also restore the hashing until a command line version of RapidCRC is made by someone.
OK, it was comment out now. And CSS.exe was updated. http://www.mediafire.com/file/eq80y20l9 … st.7z/file
CSS Authentication function
bool CDVDSession::Authenticate()
{
if (m_session == DVD_END_ALL_SESSIONS) {
return false;
}
BYTE Challenge[10], Key[10];
for (BYTE i = 0; i < 10; i++) {
Challenge[i] = i;
}
if (!SendKey(DvdChallengeKey, Challenge)) {
return false;
}
if (!ReadKey(DvdBusKey1, Key)) {
return false;
}
int varient = -1;
for (int i = 31; i >= 0; i--) {
BYTE KeyCheck[5];
CSSkey1(i, Challenge, KeyCheck);
if (!memcmp(KeyCheck, Key, 5)) {
varient = i;
}
}
if (!ReadKey(DvdChallengeKey, Challenge)) {
return false;
}
CSSkey2(varient, Challenge, &Key[5]);
if (!SendKey(DvdBusKey2, &Key[5])) {
return false;
}
CSSbuskey(varient, Key, m_SessionKey);
return true;
}
There isn't "Authenticate" in the word except fuction name. ChallengeKey, BusKey1, BusKey2 and SessionKey are all ramdom as extremetech.com says. Even if "Authentication key" exists, I don't know how to get it now.