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:
parent
bc628fe5ce
commit
b2c19a5a26
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue