From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:NCA" |
|---|
| claim | "NCA FS header enums: fs_type 0 RomFs, 1 PartitionFs; hash_type 0 Auto, 1 None, 2 HierarchicalSha256Hash, 3 HierarchicalIntegrityHash, 4 AutoSha3, 5 HierarchicalSha3256Hash, 6 HierarchicalIntegritySha3Hash; encryption_type 0 Auto, 1 None, 2 AesXts, 3 AesCtr, 4 AesCtrEx, 5 AesCtrSkipLayerHash, 6 AesCtrExSkipLayerHash." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:NCA" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "NcaFsHeader::HashType" |
|---|
| underlying_type | "u8" |
|---|
| values | | 0 | "Auto" |
|---|
| 1 | "None" |
|---|
| 2 | "HierarchicalSha256Hash" |
|---|
| 3 | "HierarchicalIntegrityHash" |
|---|
| 4 | "AutoSha3" |
|---|
| 5 | "HierarchicalSha3256Hash" |
|---|
| 6 | "HierarchicalIntegritySha3Hash" |
|---|
|
|---|
| fs_type | |
|---|
| encryption_type | | 0 | "Auto" |
|---|
| 1 | "None" |
|---|
| 2 | "AesXts" |
|---|
| 3 | "AesCtr" |
|---|
| 4 | "AesCtrEx" |
|---|
| 5 | "AesCtrSkipLayerHash" |
|---|
| 6 | "AesCtrExSkipLayerHash" |
|---|
|
|---|
| meta_data_hash_type | | 0 | "None" |
|---|
| 1 | "HierarchicalIntegrity" |
|---|
|
|---|
| complete | true |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "FsType, EncryptionType, HashType and MetaDataHashType enums; the table in this fact lists HashType in data. hactool nca.h lines 48-64 names the values differently (FS_TYPE_PFS0 = 2, FS_TYPE_ROMFS = 3, CRYPT_NONE 1, CRYPT_XTS 2, CRYPT_CTR 3, CRYPT_BKTR 4)." |
|---|
| repo | "Atmosphere-NX/Atmosphere" |
|---|
| commit | "6b0c077b4c608a3a2ee712b8dc35fee87ceb62e8" |
|---|
| path | "libraries/libstratosphere/include/stratosphere/fssystem/fssystem_nca_header.hpp" |
|---|
| lines | "210-241" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "NCA FS header types" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T01:18:38.528Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:49:21.074Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read fssystem_nca_header.hpp at Atmosphere 6b0c077b lines 210-241: FsType 0-1, EncryptionType 0-6, HashType 0-6, MetaDataHashType 0-1 all match the claim and the corrected data." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T07:49:20.811Z" |
|---|
| summary | "fs_type, encryption_type and meta data hash type values were only in the claim text; data held HashType only. Added all four enums to data; values re-read at the cited commit lines 210-241 and match." |
|---|
| changed | |
|---|
|
|
|---|