diff --git a/src/KeyConfiguration.cpp b/src/KeyConfiguration.cpp index 5053fab..1698eab 100644 --- a/src/KeyConfiguration.cpp +++ b/src/KeyConfiguration.cpp @@ -210,7 +210,7 @@ void KeyConfiguration::clearGeneralKeyConfiguration() for (size_t j = 0; j < kNcaKeakNum; j++) { mNcaKeyAreaEncryptionKey[j][i] = kNullAesKey; - mNcaKeyAreaEncryptionKey[j][i] = kNullAesKey; + mNcaKeyAreaEncryptionKeyHw[j][i] = kNullAesKey; } } } diff --git a/src/MetaProcess.cpp b/src/MetaProcess.cpp index 2594923..5e9b0ae 100644 --- a/src/MetaProcess.cpp +++ b/src/MetaProcess.cpp @@ -296,6 +296,7 @@ void MetaProcess::validateAciFromAcid(const nn::hac::AccessControlInfo& aci, con void MetaProcess::displayMetaHeader(const nn::hac::Meta& hdr) { 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 << " Ins. Type: " << nn::hac::MetaUtil::getInstructionTypeAsString(hdr.getInstructionType()) << std::endl; std::cout << " Addr Space: " << nn::hac::MetaUtil::getProcAddressSpaceTypeAsString(hdr.getProcAddressSpaceType()) << std::endl;