mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-22 10:45:28 +00:00
Merge pull request #66 from jakcron/v1.2.0-development
Fix bug and print ACID KeyGeneration.
This commit is contained in:
commit
10558837cb
|
@ -210,7 +210,7 @@ void KeyConfiguration::clearGeneralKeyConfiguration()
|
||||||
for (size_t j = 0; j < kNcaKeakNum; j++)
|
for (size_t j = 0; j < kNcaKeakNum; j++)
|
||||||
{
|
{
|
||||||
mNcaKeyAreaEncryptionKey[j][i] = kNullAesKey;
|
mNcaKeyAreaEncryptionKey[j][i] = kNullAesKey;
|
||||||
mNcaKeyAreaEncryptionKey[j][i] = kNullAesKey;
|
mNcaKeyAreaEncryptionKeyHw[j][i] = kNullAesKey;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -296,6 +296,7 @@ void MetaProcess::validateAciFromAcid(const nn::hac::AccessControlInfo& aci, con
|
||||||
void MetaProcess::displayMetaHeader(const nn::hac::Meta& hdr)
|
void MetaProcess::displayMetaHeader(const nn::hac::Meta& hdr)
|
||||||
{
|
{
|
||||||
std::cout << "[Meta Header]" << std::endl;
|
std::cout << "[Meta Header]" << std::endl;
|
||||||
|
std::cout << " ACID KeyGeneration: " << std::dec << hdr.getAcidKeyGeneration() << std::endl;
|
||||||
std::cout << " Process Architecture Params:" << std::endl;
|
std::cout << " Process Architecture Params:" << std::endl;
|
||||||
std::cout << " Ins. Type: " << nn::hac::MetaUtil::getInstructionTypeAsString(hdr.getInstructionType()) << std::endl;
|
std::cout << " Ins. Type: " << nn::hac::MetaUtil::getInstructionTypeAsString(hdr.getInstructionType()) << std::endl;
|
||||||
std::cout << " Addr Space: " << nn::hac::MetaUtil::getProcAddressSpaceTypeAsString(hdr.getProcAddressSpaceType()) << std::endl;
|
std::cout << " Addr Space: " << nn::hac::MetaUtil::getProcAddressSpaceTypeAsString(hdr.getProcAddressSpaceType()) << std::endl;
|
||||||
|
|
Loading…
Reference in a new issue