mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-05 16:59:02 +00:00
implementation fixes
cleaned AES interface, corrected some header files, other misc
This commit is contained in:
+1
-3
@@ -175,7 +175,5 @@ bool IsTmdContentEncrypted(tmd_content_chunk info)
|
||||
|
||||
bool ValidateTmdContent(u8 *data, tmd_content_chunk info)
|
||||
{
|
||||
u8 hash[32];
|
||||
ctr_sha(data,GetTmdContentSize(info),hash,CTR_SHA_256);
|
||||
return memcmp(hash,GetTmdContentHash(&info),32) == 0;
|
||||
return VerifySha256(data, GetTmdContentSize(info), GetTmdContentHash(&info));
|
||||
}
|
||||
Reference in New Issue
Block a user