nca: fix header definition

This commit is contained in:
Michael Scire 2020-03-18 11:13:17 -07:00
parent 575845f5e7
commit eeeee7c35c

2
nca.h
View file

@ -110,7 +110,7 @@ typedef struct {
}; };
uint8_t crypto_type2; /* Which keyblob (field 2) */ uint8_t crypto_type2; /* Which keyblob (field 2) */
uint8_t fixed_key_generation; uint8_t fixed_key_generation;
uint8_t _0x222[0xF]; /* Padding. */ uint8_t _0x222[0xE]; /* Padding. */
uint8_t rights_id[0x10]; /* Rights ID (for titlekey crypto). */ uint8_t rights_id[0x10]; /* Rights ID (for titlekey crypto). */
nca_section_entry_t section_entries[4]; /* Section entry metadata. */ nca_section_entry_t section_entries[4]; /* Section entry metadata. */
uint8_t section_hashes[4][0x20]; /* SHA-256 hashes for each section header. */ uint8_t section_hashes[4][0x20]; /* SHA-256 hashes for each section header. */