SpotPass: Difference between revisions

No edit summary
No edit summary
Line 100: Line 100:
|}
|}


When the content payload has an additional RSA signature checked by the application, the first 0x10-bytes are all-zero except the first byte which is 0x80. And the u16 at 0x10 is 0x2 when an additional signature is used. When an additional signature isn't used, the first 0x12-bytes are used to verify the content payload.
The first 0x10-bytes are all-zero except the first byte which is 0x80, and the u16 at 0x10 is 0x2. It's unknown what the first 0x12-bytes are used for.


The hash at offset 0x12 hashes the 0x12-byte data at offset 0x0 followed by a zero u16. The RSA signature is signed by Nintendo. Following this header is the actual content payload, which is written to a cleartext file under the [[extdata]] /boss directory.
The hash at offset 0x12 hashes the 0x12-byte data at offset 0x0 followed by a zero u16. The RSA signature is signed by Nintendo. Following this header is the actual content payload, which is written to a cleartext file under the [[extdata]] /boss directory.


[[Category:Nintendo Software]]
[[Category:Nintendo Software]]