1
0
Fork 0
forked from len0rd/rockbox

Search-and-replace was a bit too excessive..

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18265 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2008-08-12 23:53:08 +00:00
parent bc628fe5ce
commit b2c19a5a26

View file

@ -47,7 +47,7 @@ struct player_info_t
{
const char* name;
const char* null_key; // HMAC-SHA1 key
const char* fresc_key_v1; // BlowFish key
const char* fresc_key; // BlowFish key
const char* tl_key; // BlowFish key
bool big_endian;
};
@ -469,7 +469,7 @@ bool decrypt(shared::bytes& data, int mode, player_info_t* pi,
std::cout << "[*] Decrypting input file..." << std::endl;
dword iv[2] = {shared::swap(data.size()), 0};
if (!zen::bf_cbc_decrypt((const byte*)pi->fresc_key_v1,
if (!zen::bf_cbc_decrypt((const byte*)pi->fresc_key,
strlen(pi->fresc_key_v1)+1, &data[0],
data.size(), (const byte*)iv))
{