mirror of
https://github.com/jakcron/nstool
synced 2024-11-15 02:06:40 +00:00
Add note for future work for compressed/sparse storage
This commit is contained in:
parent
605b5c70f9
commit
1e81318d54
1 changed files with 3 additions and 0 deletions
|
@ -333,6 +333,9 @@ void nstool::NcaProcess::generatePartitionConfiguration()
|
||||||
pie::hac::detail::aes_iv_t partition_ctr = info.aes_ctr;
|
pie::hac::detail::aes_iv_t partition_ctr = info.aes_ctr;
|
||||||
tc::crypto::IncrementCounterAes128Ctr(partition_ctr.data(), info.offset >> 4);
|
tc::crypto::IncrementCounterAes128Ctr(partition_ctr.data(), info.offset >> 4);
|
||||||
|
|
||||||
|
// TODO see if AesCtrEx encryption can just be for creating the transparent decryption, with IndirectStorage IStream construction being done after decryption but before hash layer processing
|
||||||
|
// this might be relevant when processing compressed or sparse storage
|
||||||
|
|
||||||
NcaProcess nca_base = readBaseNCA();
|
NcaProcess nca_base = readBaseNCA();
|
||||||
if (nca_base.mHdr.getProgramId() != mHdr.getProgramId())
|
if (nca_base.mHdr.getProgramId() != mHdr.getProgramId())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue