mirror of
https://github.com/jakcron/nstool
synced 2024-11-15 02:06:40 +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
2 changed files with 2 additions and 1 deletions
|
@ -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