Line 22: |
Line 22: |
| |- | | |- |
| | 0x104 | | | 0x104 |
− | | 0x2A3 | + | | 0x139 |
− | | 0x19F | + | | 0x3C |
| + | | Padding (always 0) |
| + | |- |
| + | | 0x140 |
| + | | 0x2A1 |
| + | | 0x161 |
| | Ticket view | | | Ticket view |
| |} | | |} |
Line 36: |
Line 41: |
| |- | | |- |
| | 0x000 | | | 0x000 |
− | | 0x03B | + | | 0x039 |
− | | 0x03C
| |
− | | Padding (Always 0 - everything after this field is covered by the above signature)
| |
− | |-
| |
− | | 0x03C
| |
− | | 0x07B
| |
| | 0x040 | | | 0x040 |
| | Signature issuer | | | Signature issuer |
| |- | | |- |
| + | | 0x040 |
| | 0x07B | | | 0x07B |
− | | 0x0B7
| |
| | 0x03C | | | 0x03C |
| | ECDH data, used to generate one-time key during install of console specific titles | | | ECDH data, used to generate one-time key during install of console specific titles |
| |- | | |- |
− | | 0x0B7 | + | | 0x07C |
− | | 0x0BA | + | | 0x07E |
| | 0x003 | | | 0x003 |
| | Unused/Padding | | | Unused/Padding |
| |- | | |- |
− | | 0x0BA | + | | 0x07F |
− | | 0x0CA | + | | 0x08E |
| | 0x010 | | | 0x010 |
| | Title Key, encrypted by Common Key | | | Title Key, encrypted by Common Key |
| |- | | |- |
− | | 0x0CA | + | | 0x08F |
− | | 0x0CA | + | | 0x08F |
| | 0x001 | | | 0x001 |
| | Unknown | | | Unknown |
| |- | | |- |
− | | 0x0CA | + | | 0x090 |
− | | 0x0D2 | + | | 0x097 |
| | 0x008 | | | 0x008 |
| | ticket_id (used as IV for title key decryption of console specific titles) | | | ticket_id (used as IV for title key decryption of console specific titles) |
| |- | | |- |
− | | 0x0D2 | + | | 0x098 |
− | | 0x0D6 | + | | 0x09B |
| | 0x004 | | | 0x004 |
| | Console ID | | | Console ID |
| |- | | |- |
− | | 0x0D6 | + | | 0x09C |
− | | 0x0DE | + | | 0x0A3 |
| | 0x008 | | | 0x008 |
| | Title ID / [http://en.wikipedia.org/wiki/Initialization_Vector Initialization Vector] (IV) used for AES-[http://en.wikipedia.org/wiki/Cipher_Block_Chaining#Cipher-block_chaining_.28CBC.29 CBC] encryption | | | Title ID / [http://en.wikipedia.org/wiki/Initialization_Vector Initialization Vector] (IV) used for AES-[http://en.wikipedia.org/wiki/Cipher_Block_Chaining#Cipher-block_chaining_.28CBC.29 CBC] encryption |
| |- | | |- |
− | | 0x0DE | + | | 0x0A4 |
− | | 0x0E0 | + | | 0x0A5 |
| | 0x002 | | | 0x002 |
| | Unknown, mostly 0xFFFF | | | Unknown, mostly 0xFFFF |
| |- | | |- |
− | | 0x0E0 | + | | 0x0A6 |
− | | 0x0E2 | + | | 0x0A7 |
| | 0x002 | | | 0x002 |
| | Ticket title version | | | Ticket title version |
| |- | | |- |
− | | 0x0E2 | + | | 0x0A8 |
− | | 0x0E4 | + | | 0x0A9 |
| | 0x002 | | | 0x002 |
| | Permitted Titles Mask | | | Permitted Titles Mask |
| |- | | |- |
− | | 0x0E4 | + | | 0x0AA |
− | | 0x0E8 | + | | 0x0AD |
| | 0x004 | | | 0x004 |
| | Permit mask. The current disc title is ANDed with the inverse of this mask to see if the result matches the Permitted Titles Mask. | | | Permit mask. The current disc title is ANDed with the inverse of this mask to see if the result matches the Permitted Titles Mask. |
| |- | | |- |
− | | 0x0E8 | + | | 0x0AE |
− | | 0x0E9 | + | | 0x0AE |
| | 0x001 | | | 0x001 |
| | Title Export allowed using PRNG key (1 = allowed, 0 = not allowed) | | | Title Export allowed using PRNG key (1 = allowed, 0 = not allowed) |
| |- | | |- |
− | | 0x0E9 | + | | 0x0AF |
− | | 0x0EA | + | | 0x0AF |
| | 0x001 | | | 0x001 |
| | Common Key index (2 = [http://wiiubrew.org/wiki/WiiMode Wii U Wii mode], 1 = Korean Common key, 0 = "normal" Common key) | | | Common Key index (2 = [http://wiiubrew.org/wiki/WiiMode Wii U Wii mode], 1 = Korean Common key, 0 = "normal" Common key) |
| |- | | |- |
− | | 0x0EB | + | | 0x0B0 |
− | | 0x11B | + | | 0x0DF |
| | 0x030 | | | 0x030 |
| | Unknown. Is all 0 for non-VC, for VC, all 0 except last byte is 1. | | | Unknown. Is all 0 for non-VC, for VC, all 0 except last byte is 1. |
| |- | | |- |
− | | 0x11B | + | | 0x0E0 |
− | | 0x15B | + | | 0x11F |
| | 0x040 | | | 0x040 |
| | Content access permissions (one bit for each content) | | | Content access permissions (one bit for each content) |
| |- | | |- |
− | | 0x15B | + | | 0x120 |
− | | 0x15D | + | | 0x121 |
| | 0x002 | | | 0x002 |
| | Padding (Always 0) | | | Padding (Always 0) |
| |- | | |- |
− | | 0x15D | + | | 0x122 |
− | | 0x161 | + | | 0x125 |
| | 0x004 | | | 0x004 |
| | Enable time limit (1 = Enabled, 0 = Disabled) | | | Enable time limit (1 = Enabled, 0 = Disabled) |
| |- | | |- |
− | | 0x161 | + | | 0x126 |
− | | 0x165 | + | | 0x129 |
| | 0x004 | | | 0x004 |
| | Time limit (Seconds) | | | Time limit (Seconds) |
| |- | | |- |
− | | 0x165 | + | | 0x12A |
− | | 0x19D | + | | 0x161 |
| | 0x038 | | | 0x038 |
| | 7 more time_limit structs as above ({int enable, seconds}) | | | 7 more time_limit structs as above ({int enable, seconds}) |