<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://switch2brew.org/w/index.php?action=history&amp;feed=atom&amp;title=BCH</id>
	<title>BCH - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://switch2brew.org/w/index.php?action=history&amp;feed=atom&amp;title=BCH"/>
	<link rel="alternate" type="text/html" href="https://switch2brew.org/w/index.php?title=BCH&amp;action=history"/>
	<updated>2026-04-24T16:38:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://switch2brew.org/w/index.php?title=BCH&amp;diff=90&amp;oldid=prev</id>
		<title>Ootulp: Created page with &quot;= NvBootComponentHeader = {| class=&quot;wikitable&quot; border=&quot;1&quot; |- ! Offset ! Size ! Name ! Description |- | 0x0000 || 4 || HeaderMagic || |- | 0x0004 || 0x40 || OuterDigest || |- | style=&quot;background: orange&quot; | Outer Section Begin | style=&quot;background: orange&quot; |  | style=&quot;background: orange&quot; |  | style=&quot;background: orange&quot; |  |- | 0x0044 || 0xC || Reserved || |- | 0x0050 || 0x40 || InnerDigest || |- | 0x0090 || 0x40 || Stage2Signature || |- | 0x0BA0...&quot;</title>
		<link rel="alternate" type="text/html" href="https://switch2brew.org/w/index.php?title=BCH&amp;diff=90&amp;oldid=prev"/>
		<updated>2025-06-15T02:01:17Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= NvBootComponentHeader = {| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; |- ! Offset ! Size ! Name ! Description |- | 0x0000 || 4 || HeaderMagic || |- | 0x0004 || 0x40 || OuterDigest || |- | style=&amp;quot;background: orange&amp;quot; | Outer Section Begin | style=&amp;quot;background: orange&amp;quot; |  | style=&amp;quot;background: orange&amp;quot; |  | style=&amp;quot;background: orange&amp;quot; |  |- | 0x0044 || 0xC || Reserved || |- | 0x0050 || 0x40 || InnerDigest || |- | 0x0090 || 0x40 || &lt;a href=&quot;#NvBootCryptoSignatures&quot;&gt;Stage2Signature&lt;/a&gt; || |- | 0x0BA0...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= NvBootComponentHeader =&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Name&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0000 || 4 || HeaderMagic ||&lt;br /&gt;
|-&lt;br /&gt;
| 0x0004 || 0x40 || OuterDigest ||&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | Outer Section Begin&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| 0x0044 || 0xC || Reserved ||&lt;br /&gt;
|-&lt;br /&gt;
| 0x0050 || 0x40 || InnerDigest ||&lt;br /&gt;
|-&lt;br /&gt;
| 0x0090 || 0x40 || [[#NvBootCryptoSignatures|Stage2Signature]] ||&lt;br /&gt;
|-&lt;br /&gt;
| 0x0BA0 || 0x180 || [[#NvPublicKeyParameters|Stage2Pcp]] || Pinned by fuses.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | Stage 2 Signed Section Begin &lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| 0x0FC0 || 16 || Salt2 || Random 16 bytes.&lt;br /&gt;
|-&lt;br /&gt;
| 0x0FD0 || 16 || Stage2Ecid || &lt;br /&gt;
|-&lt;br /&gt;
| 0x0FE0 || 4 || Stage2NumBinaries || &lt;br /&gt;
|-&lt;br /&gt;
| 0x0FE4 || 0x100 || ? || &lt;br /&gt;
|-&lt;br /&gt;
| 0x13F0 || 8 || BrbctBinding || Must match BR-BCT+0x19B0.&lt;br /&gt;
|-&lt;br /&gt;
| 0x1400 || 8 * 0xA0 || [[#NvStage2Component|Stage2Components]][8] ||&lt;br /&gt;
|-&lt;br /&gt;
| 0x1900 || 0x180 || Stage1Signature || Always RSA-3072.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | Stage 1 Signed Section Begin&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| 0x1A80 || 16 || Salt3 ||&lt;br /&gt;
|-&lt;br /&gt;
| 0x1A90 || 16 || Stage1Ecid || &lt;br /&gt;
|-&lt;br /&gt;
| 0x1AA0 || 4 || Stage1NumBinaries || &lt;br /&gt;
|-&lt;br /&gt;
| 0x1AA4 || 8 || Key7KdfLabel || &lt;br /&gt;
|-&lt;br /&gt;
| 0x1EE0 || 1 * 0x90 || [[#NvStage1Component|Stage1Components]][1] ||&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | Outer Section End / Stage 2 Signed Section End / Stage 1 Signed Section End&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== NvStage1Component ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Name&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | AAD Section Start&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 4 || BinaryMagic&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 4 || BinaryLen&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || 4 || LoadDestination&lt;br /&gt;
|-&lt;br /&gt;
| 0xC || 4 || EntryPoint&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || 4 || [[#NvBootComponentVersion|Version]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x14 || 4 || Reserved &lt;br /&gt;
|-&lt;br /&gt;
| 0x18 || 8 || PartitionOffset (Only used for MEM-BCT)&lt;br /&gt;
|-&lt;br /&gt;
| 0x20 || 16 || KdfLabel&lt;br /&gt;
|-&lt;br /&gt;
| 0x30 || 4 || Zeroes &lt;br /&gt;
|-&lt;br /&gt;
| 0x34 || 12 || GcmIv&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | AAD Section End&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| 0x40 || 16 || GcmAuthTag&lt;br /&gt;
|-&lt;br /&gt;
| 0x50 || 64 || PayloadDigest (SHA512 of 0x2000..)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== NvStage2Component ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Name&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | AAD Section Start&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 4 || BinaryMagic&lt;br /&gt;
|-&lt;br /&gt;
| 0x4 || 4 || BinaryLen&lt;br /&gt;
|-&lt;br /&gt;
| 0x8 || 4 || LoadDestination&lt;br /&gt;
|-&lt;br /&gt;
| 0xC || 4 || EntryPoint&lt;br /&gt;
|-&lt;br /&gt;
| 0x10 || 4 || [[#NvBootComponentVersion|Version]]&lt;br /&gt;
|-&lt;br /&gt;
| 0x24 || 0x1C || ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x30 || 16 || KdfLabel&lt;br /&gt;
|-&lt;br /&gt;
| 0x40 || 4 || Zeroes&lt;br /&gt;
|-&lt;br /&gt;
| 0x44 || 12 || GcmIv&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | AAD Section End&lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
| style=&amp;quot;background: orange&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| 0x50 || 16 || GcmAuthTag&lt;br /&gt;
|-&lt;br /&gt;
| 0x60 || 64 || PayloadDigest (SHA512 of 0x2000..)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== NvBootComponentVersion ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Name&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 1 || Major&lt;br /&gt;
|-&lt;br /&gt;
| 0x1 || 1 || Minor&lt;br /&gt;
|-&lt;br /&gt;
| 0x2 || 1 || Ratchet (others)&lt;br /&gt;
|-&lt;br /&gt;
| 0x2 || 2 || BigRatchet (NVDEC only)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== NvBootCryptoSignatures ==&lt;br /&gt;
This is a union.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Name&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x20 || Sha256Signature&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x40 || Sha512Signature&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0x40 || Rsa3072Signature&lt;br /&gt;
|-&lt;br /&gt;
| 0x0 || 0xB10 || XmssSignature&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ootulp</name></author>
	</entry>
</feed>