In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Ancast image

From WiiUBrew
Revision as of 10:02, 6 June 2014 by Marcan (talk | contribs) (No keys on the wiki kthx)
Jump to navigation Jump to search

Ancast images are encrypted and signed binaries for the Espresso processor to execute. The Espresso contains a secure Boot ROM that runs upon a PowerPC hard reset, which will only boot signed code. This code comes in the form of an ancast image. Before resetting the Espresso, the currently running Starbuck code (either IOSU or vWii IOS) must load the ancast image to 0x1330000 for the Boot ROM to verify and decrypt. The Cafe OS kernel, vWii System Menu, and vWii NANDLoader are all in the form of ancast images.

Structure

Header

Start Length Description
0x00 4 Magicbytes 0xEFA282D9
0x08 4 Entry offset or header size

Entry info

Start Length Description
0x00 4 Signature type
0x04 56 Signature
0x84 4 Unknown, maybe content ID
0x88 4 Unknown, maybe index and flags
0x8C 4 Size
0x90 14 SHA1

This is followed by AES-128-CBC encrypted data.