mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Enable storing CSS sectors decrypted
This commit is contained in:
@@ -186,6 +186,16 @@ namespace Aaru.Core.Devices.Dumping
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(!_storeEncrypted && _titleKeys)
|
||||
{
|
||||
// Todo: Flag in the _outputPlugin that a sector has been decrypted
|
||||
buffer = CSS.DecryptSector(buffer,
|
||||
_outputPlugin.ReadSectorsTag(i, blocksToRead, SectorTagType.DvdCmi),
|
||||
_outputPlugin.ReadSectorsTag(i, blocksToRead,
|
||||
SectorTagType.DvdTitleKeyDecrypted),
|
||||
blocksToRead, blockSize);
|
||||
}
|
||||
}
|
||||
|
||||
mhddLog.Write(i, cmdDuration);
|
||||
|
||||
Reference in New Issue
Block a user