<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dsibrew.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Booto</id>
	<title>DSiBrew - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dsibrew.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Booto"/>
	<link rel="alternate" type="text/html" href="https://dsibrew.org/wiki/Special:Contributions/Booto"/>
	<updated>2026-04-30T10:07:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=SD_title_export&amp;diff=2969</id>
		<title>SD title export</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=SD_title_export&amp;diff=2969"/>
		<updated>2010-07-06T02:48:22Z</updated>

		<summary type="html">&lt;p&gt;Booto: /* footer block */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The System Settings application delivered with each DSi can be used to export applications from NAND to SD. The files created on SD are encrypted with AES CCM (CTR with CBC-MAC), using a combination of a shared key and a console specific key.&lt;br /&gt;
&lt;br /&gt;
The application itself (APP), and the title metadata (TMD) is encrypted with a console specific key. This means that Nintendo intended that these files can only be imported back into the same DSi.&lt;br /&gt;
&lt;br /&gt;
While the banner, the public savegame, and several other metablocks are encrypted with a shared key, which means any DSi can inspect these parts of the file.&lt;br /&gt;
&lt;br /&gt;
[[ES block encryption]] is used to encrypt the header block, footer block, and the 11 parts. Each are their own seperate ES blocks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= header = &lt;br /&gt;
 0000000: 34 41 4e 54 31 30 00 01 74 e9 2c 1e 24 00 00 00  4ANT10..t.,.$...&lt;br /&gt;
 0000010: d6 e0 39 c3 98 3f 06 b6 9a b2 9d 14 e7 06 e9 00  ..9..?..........&lt;br /&gt;
 0000020: 45 4d 44 4b 04 00 03 00 28 02 00 00 20 d2 e0 00  EMDK....(... ...&lt;br /&gt;
 0000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000040: 00 00 00 00 00 00 00 00 00 00 00 00 80 80 06 00  ................&lt;br /&gt;
 0000050: 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000070: 00 00 00 00 00 80 06 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000080: 00 00 00 00 00 86 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000b0: 00 00 00 00                                      ....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00&lt;br /&gt;
| 4&lt;br /&gt;
| Always 0x544E4134 (&#039;TNA4&#039;, endian-swapped)&lt;br /&gt;
|-&lt;br /&gt;
| 0x04&lt;br /&gt;
| 2&lt;br /&gt;
| group_id/publisher code&lt;br /&gt;
|-&lt;br /&gt;
| 0x06&lt;br /&gt;
| 2&lt;br /&gt;
| Title version&lt;br /&gt;
|-&lt;br /&gt;
| 0x08&lt;br /&gt;
| 6&lt;br /&gt;
| DSi MAC address&lt;br /&gt;
|-&lt;br /&gt;
| 0x0E&lt;br /&gt;
| 2&lt;br /&gt;
| zero&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 16&lt;br /&gt;
| Extracted from HWINFO_N.dat&lt;br /&gt;
|-&lt;br /&gt;
| 0x20&lt;br /&gt;
| 4&lt;br /&gt;
| Lower TitleID of exported app&lt;br /&gt;
|-&lt;br /&gt;
| 0x24&lt;br /&gt;
| 4&lt;br /&gt;
| Upper TitleID of exported app&lt;br /&gt;
|-&lt;br /&gt;
| 0x28&lt;br /&gt;
| 11 * 4&lt;br /&gt;
| Contains the total lengths for each of the 11 parts.&lt;br /&gt;
|-&lt;br /&gt;
| 0x54&lt;br /&gt;
| 8 * 4&lt;br /&gt;
| List of content ids in same order as tmd&lt;br /&gt;
|-&lt;br /&gt;
| 0x74&lt;br /&gt;
| 0x3e&lt;br /&gt;
| reserved section per [http://www.wiibrew.org/wiki/TMD tmds]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= footer block =&lt;br /&gt;
&lt;br /&gt;
 0000000: d6 f3 24 7c a1 0f 4a dc cd 07 34 d6 ce 62 32 93  ..$|..J...4..b2.&lt;br /&gt;
 0000010: 11 54 54 a5 28 38 13 5a 0c 87 8e dc 63 0a ab 2e  .TT.(8.Z....c...&lt;br /&gt;
 0000020: 4a 0f 12 5c d7 31 ee 29 72 53 39 1d ff 70 c1 8a  J..\.1.)rS9..p..&lt;br /&gt;
 0000030: 45 18 c1 88 85 1f f5 55 c6 5f 48 37 27 f3 0a 02  E......U._H7&#039;...&lt;br /&gt;
 0000040: e7 77 18 8b 84 ee cc e5 e4 40 e5 cb 64 bb 0a f3  .w.......@..d...&lt;br /&gt;
 0000050: 20 00 53 00 74 00 75 00 64 00 69 00 6f 00 0a 00   .S.t.u.d.i.o...&lt;br /&gt;
 0000060: 4e 00 69 00 6e 00 74 00 65 00 6e 00 64 00 6f 00  N.i.n.t.e.n.d.o.&lt;br /&gt;
 0000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000d0: 00 00 00 00 00 00 00 00 00 00 00 00 c5 16 e5 12  ................&lt;br /&gt;
 00000e0: 4c 70 9a fd 7a 03 87 d0 13 94 da 86 46 11 ff 31  Lp..z.......F..1&lt;br /&gt;
 00000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000100: 00 00 00 00 00 b5 62 b1 02 c9 4e f3 14 2c 85 3d  ......b...N..,.=&lt;br /&gt;
 0000110: a2 c6 be c9 d8 01 db 46 03 12 44 6e 89 87 c4 e5  .......F..Dn....&lt;br /&gt;
 0000120: 83 1e 00 03 8f f8 cd 35 e3 e4 b8 8e be 6e 65 36  .......5.....ne6&lt;br /&gt;
 0000130: f2 6d c6 dc 2c 4b d6 38 2b 2d 7f e5 22 b0 44 3b  .m..,K.8+-..&amp;quot;.D;&lt;br /&gt;
 0000140: 00 01 00 02 00 78 58 de a6 c4 70 9c 89 26 22 f2  .....xX...p..&amp;amp;&amp;quot;.&lt;br /&gt;
 0000150: 60 38 cb c5 d7 54 cd a3 d5 b9 d9 b3 84 63 6f be  `8...T.......co.&lt;br /&gt;
 0000160: 36 ef 00 68 f0 9a 6b 35 91 1a 67 6f 73 dc 54 61  6..h..k5..gos.Ta&lt;br /&gt;
 0000170: c1 c7 6c 6f d4 43 58 e6 e2 62 52 11 65 77 9a ce  ..lo.CX..bR.ew..&lt;br /&gt;
 0000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00001a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00001b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00001c0: 52 6f 6f 74 2d 43 41 30 30 30 30 30 30 30 31 2d  Root-CA00000001-&lt;br /&gt;
 00001d0: 4d 53 30 30 30 30 30 30 30 38 2d 54 57 63 37 39  MS00000008-TWc79&lt;br /&gt;
 00001e0: 64 63 65 63 39 2d 30 38 61 32 30 32 38 37 30 31  dcec9-08a2028701&lt;br /&gt;
 00001f0: 30 38 34 31 31 38 00 00 00 00 00 00 00 00 00 00  084118..........&lt;br /&gt;
 0000200: 00 00 00 02 41 50 30 30 30 33 30 30 31 35 34 38  ....AP0003001548&lt;br /&gt;
 0000210: 34 65 34 32 34 35 00 00 00 00 00 00 00 00 00 00  4e4245..........&lt;br /&gt;
 0000220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000240: 00 00 00 00 00 00 00 00 00 d7 c1 33 4e 24 8c 13  ...........3N$..&lt;br /&gt;
 0000250: 0f b3 f4 c4 bb 2a 4a 79 81 51 39 6f 00 ee a2 00  .....*Jy.Q9o....&lt;br /&gt;
 0000260: 20 a6 f5 cc d8 72 01 74 60 57 4f a4 92 52 9b 5a   ....r.t`WO..R.Z&lt;br /&gt;
 0000270: 56 75 a9 62 4f 67 25 e3 7b 05 21 e4 4f 1f c3 21  Vu.bOg%.{.!.O..!&lt;br /&gt;
 0000280: 2b d8 ec e7 00 00 00 00 00 00 00 00 00 00 00 00  +...............&lt;br /&gt;
 0000290: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00002a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00002b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00002c0: 00 01 00 02 00 db da 21 3b e1 f1 bf bb 4d dc 1d  .......!;....M..&lt;br /&gt;
 00002d0: 60 29 da 19 42 1e 66 4f a8 e5 27 a1 d4 ea 46 7d  `)..B.fO..&#039;...F}&lt;br /&gt;
 00002e0: 9b b4 00 95 c5 0d e8 fa ef a7 8d e9 bc 54 da c1  .............T..&lt;br /&gt;
 00002f0: 24 94 0b 7c ad a8 61 d5 05 97 c2 64 38 ad 18 f9  $..|..a....d8...&lt;br /&gt;
 0000300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000310: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000320: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000330: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000340: 52 6f 6f 74 2d 43 41 30 30 30 30 30 30 30 31 2d  Root-CA00000001-&lt;br /&gt;
 0000350: 4d 53 30 30 30 30 30 30 30 38 00 00 00 00 00 00  MS00000008......&lt;br /&gt;
 0000360: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000370: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000380: 00 00 00 02 54 57 63 37 39 64 63 65 63 39 2d 30  ....TWc79dcec9-0&lt;br /&gt;
 0000390: 38 61 32 30 32 38 37 30 31 30 38 34 31 31 38 00  8a2028701084118.&lt;br /&gt;
 00003a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00003b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00003c0: 00 00 00 00 6f dd de 42 01 e0 34 a3 19 bc a9 af  ....o..B..4.....&lt;br /&gt;
 00003d0: 50 fe 8a ac 75 08 07 a9 3a 2c 21 51 93 ae 4a 90  P...u...:,!Q..J.&lt;br /&gt;
 00003e0: 6e 62 41 f1 a2 fe 00 00 3d 0a 13 97 da 53 17 98  nbA.....=....S..&lt;br /&gt;
 00003f0: 69 38 65 67 ca f4 9c 87 ec 44 b7 eb d0 ec b8 3d  i8eg.....D.....=&lt;br /&gt;
 0000400: 23 cf 7a 35 00 00 00 00 00 00 00 00 00 00 00 00  #.z5............&lt;br /&gt;
 0000410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00&lt;br /&gt;
| 20&lt;br /&gt;
| SHA1 of banner&lt;br /&gt;
|-&lt;br /&gt;
| 0x14&lt;br /&gt;
| 20&lt;br /&gt;
| SHA1 of tna4&lt;br /&gt;
|-&lt;br /&gt;
| 0x28&lt;br /&gt;
| 20&lt;br /&gt;
| SHA1 of tmd&lt;br /&gt;
|-&lt;br /&gt;
| 0x3c&lt;br /&gt;
| 20*8&lt;br /&gt;
| SHA1 of up to 8 contents [if unused, can be whatever happened to be in memory before]&lt;br /&gt;
|-&lt;br /&gt;
| 0xdc&lt;br /&gt;
| 20&lt;br /&gt;
| SHA1 of save data&lt;br /&gt;
|-&lt;br /&gt;
| 0xf0&lt;br /&gt;
| 20&lt;br /&gt;
| SHA1 of ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x104&lt;br /&gt;
| 0x3c&lt;br /&gt;
| ECC signature of previous 0x104 bytes with AP cert&lt;br /&gt;
|-&lt;br /&gt;
| 0x140&lt;br /&gt;
| 0x180&lt;br /&gt;
| AP cert, signed by TW cert&lt;br /&gt;
|-&lt;br /&gt;
| 0x2c0&lt;br /&gt;
| 0x180&lt;br /&gt;
| TW cert, specific to a console (see dev.kp)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is assumed that this block contains an ECC signature, aswell as the console id and serial of the DSi that exported the file, as part of a Nintendo cert.  Much like the Wii, the DSi carries with it a private ECC key that it can use to sign things, and a certificate signed by Nintendo that attests to the fact that the public ECC key belongs to a genuine DSi.&lt;/div&gt;</summary>
		<author><name>Booto</name></author>
	</entry>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=SD_title_export&amp;diff=2968</id>
		<title>SD title export</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=SD_title_export&amp;diff=2968"/>
		<updated>2010-07-06T02:45:48Z</updated>

		<summary type="html">&lt;p&gt;Booto: /* footer block */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The System Settings application delivered with each DSi can be used to export applications from NAND to SD. The files created on SD are encrypted with AES CCM (CTR with CBC-MAC), using a combination of a shared key and a console specific key.&lt;br /&gt;
&lt;br /&gt;
The application itself (APP), and the title metadata (TMD) is encrypted with a console specific key. This means that Nintendo intended that these files can only be imported back into the same DSi.&lt;br /&gt;
&lt;br /&gt;
While the banner, the public savegame, and several other metablocks are encrypted with a shared key, which means any DSi can inspect these parts of the file.&lt;br /&gt;
&lt;br /&gt;
[[ES block encryption]] is used to encrypt the header block, footer block, and the 11 parts. Each are their own seperate ES blocks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= header = &lt;br /&gt;
 0000000: 34 41 4e 54 31 30 00 01 74 e9 2c 1e 24 00 00 00  4ANT10..t.,.$...&lt;br /&gt;
 0000010: d6 e0 39 c3 98 3f 06 b6 9a b2 9d 14 e7 06 e9 00  ..9..?..........&lt;br /&gt;
 0000020: 45 4d 44 4b 04 00 03 00 28 02 00 00 20 d2 e0 00  EMDK....(... ...&lt;br /&gt;
 0000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000040: 00 00 00 00 00 00 00 00 00 00 00 00 80 80 06 00  ................&lt;br /&gt;
 0000050: 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000070: 00 00 00 00 00 80 06 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000080: 00 00 00 00 00 86 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000b0: 00 00 00 00                                      ....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00&lt;br /&gt;
| 4&lt;br /&gt;
| Always 0x544E4134 (&#039;TNA4&#039;, endian-swapped)&lt;br /&gt;
|-&lt;br /&gt;
| 0x04&lt;br /&gt;
| 2&lt;br /&gt;
| group_id/publisher code&lt;br /&gt;
|-&lt;br /&gt;
| 0x06&lt;br /&gt;
| 2&lt;br /&gt;
| Title version&lt;br /&gt;
|-&lt;br /&gt;
| 0x08&lt;br /&gt;
| 6&lt;br /&gt;
| DSi MAC address&lt;br /&gt;
|-&lt;br /&gt;
| 0x0E&lt;br /&gt;
| 2&lt;br /&gt;
| zero&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 16&lt;br /&gt;
| Extracted from HWINFO_N.dat&lt;br /&gt;
|-&lt;br /&gt;
| 0x20&lt;br /&gt;
| 4&lt;br /&gt;
| Lower TitleID of exported app&lt;br /&gt;
|-&lt;br /&gt;
| 0x24&lt;br /&gt;
| 4&lt;br /&gt;
| Upper TitleID of exported app&lt;br /&gt;
|-&lt;br /&gt;
| 0x28&lt;br /&gt;
| 11 * 4&lt;br /&gt;
| Contains the total lengths for each of the 11 parts.&lt;br /&gt;
|-&lt;br /&gt;
| 0x54&lt;br /&gt;
| 8 * 4&lt;br /&gt;
| List of content ids in same order as tmd&lt;br /&gt;
|-&lt;br /&gt;
| 0x74&lt;br /&gt;
| 0x3e&lt;br /&gt;
| reserved section per [http://www.wiibrew.org/wiki/TMD tmds]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= footer block =&lt;br /&gt;
&lt;br /&gt;
 0000000: d6 f3 24 7c a1 0f 4a dc cd 07 34 d6 ce 62 32 93  ..$|..J...4..b2.&lt;br /&gt;
 0000010: 11 54 54 a5 28 38 13 5a 0c 87 8e dc 63 0a ab 2e  .TT.(8.Z....c...&lt;br /&gt;
 0000020: 4a 0f 12 5c d7 31 ee 29 72 53 39 1d ff 70 c1 8a  J..\.1.)rS9..p..&lt;br /&gt;
 0000030: 45 18 c1 88 85 1f f5 55 c6 5f 48 37 27 f3 0a 02  E......U._H7&#039;...&lt;br /&gt;
 0000040: e7 77 18 8b 84 ee cc e5 e4 40 e5 cb 64 bb 0a f3  .w.......@..d...&lt;br /&gt;
 0000050: 20 00 53 00 74 00 75 00 64 00 69 00 6f 00 0a 00   .S.t.u.d.i.o...&lt;br /&gt;
 0000060: 4e 00 69 00 6e 00 74 00 65 00 6e 00 64 00 6f 00  N.i.n.t.e.n.d.o.&lt;br /&gt;
 0000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000d0: 00 00 00 00 00 00 00 00 00 00 00 00 c5 16 e5 12  ................&lt;br /&gt;
 00000e0: 4c 70 9a fd 7a 03 87 d0 13 94 da 86 46 11 ff 31  Lp..z.......F..1&lt;br /&gt;
 00000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000100: 00 00 00 00 00 b5 62 b1 02 c9 4e f3 14 2c 85 3d  ......b...N..,.=&lt;br /&gt;
 0000110: a2 c6 be c9 d8 01 db 46 03 12 44 6e 89 87 c4 e5  .......F..Dn....&lt;br /&gt;
 0000120: 83 1e 00 03 8f f8 cd 35 e3 e4 b8 8e be 6e 65 36  .......5.....ne6&lt;br /&gt;
 0000130: f2 6d c6 dc 2c 4b d6 38 2b 2d 7f e5 22 b0 44 3b  .m..,K.8+-..&amp;quot;.D;&lt;br /&gt;
 0000140: 00 01 00 02 00 78 58 de a6 c4 70 9c 89 26 22 f2  .....xX...p..&amp;amp;&amp;quot;.&lt;br /&gt;
 0000150: 60 38 cb c5 d7 54 cd a3 d5 b9 d9 b3 84 63 6f be  `8...T.......co.&lt;br /&gt;
 0000160: 36 ef 00 68 f0 9a 6b 35 91 1a 67 6f 73 dc 54 61  6..h..k5..gos.Ta&lt;br /&gt;
 0000170: c1 c7 6c 6f d4 43 58 e6 e2 62 52 11 65 77 9a ce  ..lo.CX..bR.ew..&lt;br /&gt;
 0000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00001a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00001b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00001c0: 52 6f 6f 74 2d 43 41 30 30 30 30 30 30 30 31 2d  Root-CA00000001-&lt;br /&gt;
 00001d0: 4d 53 30 30 30 30 30 30 30 38 2d 54 57 63 37 39  MS00000008-TWc79&lt;br /&gt;
 00001e0: 64 63 65 63 39 2d 30 38 61 32 30 32 38 37 30 31  dcec9-08a2028701&lt;br /&gt;
 00001f0: 30 38 34 31 31 38 00 00 00 00 00 00 00 00 00 00  084118..........&lt;br /&gt;
 0000200: 00 00 00 02 41 50 30 30 30 33 30 30 31 35 34 38  ....AP0003001548&lt;br /&gt;
 0000210: 34 65 34 32 34 35 00 00 00 00 00 00 00 00 00 00  4e4245..........&lt;br /&gt;
 0000220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000240: 00 00 00 00 00 00 00 00 00 d7 c1 33 4e 24 8c 13  ...........3N$..&lt;br /&gt;
 0000250: 0f b3 f4 c4 bb 2a 4a 79 81 51 39 6f 00 ee a2 00  .....*Jy.Q9o....&lt;br /&gt;
 0000260: 20 a6 f5 cc d8 72 01 74 60 57 4f a4 92 52 9b 5a   ....r.t`WO..R.Z&lt;br /&gt;
 0000270: 56 75 a9 62 4f 67 25 e3 7b 05 21 e4 4f 1f c3 21  Vu.bOg%.{.!.O..!&lt;br /&gt;
 0000280: 2b d8 ec e7 00 00 00 00 00 00 00 00 00 00 00 00  +...............&lt;br /&gt;
 0000290: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00002a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00002b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00002c0: 00 01 00 02 00 db da 21 3b e1 f1 bf bb 4d dc 1d  .......!;....M..&lt;br /&gt;
 00002d0: 60 29 da 19 42 1e 66 4f a8 e5 27 a1 d4 ea 46 7d  `)..B.fO..&#039;...F}&lt;br /&gt;
 00002e0: 9b b4 00 95 c5 0d e8 fa ef a7 8d e9 bc 54 da c1  .............T..&lt;br /&gt;
 00002f0: 24 94 0b 7c ad a8 61 d5 05 97 c2 64 38 ad 18 f9  $..|..a....d8...&lt;br /&gt;
 0000300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000310: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000320: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000330: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000340: 52 6f 6f 74 2d 43 41 30 30 30 30 30 30 30 31 2d  Root-CA00000001-&lt;br /&gt;
 0000350: 4d 53 30 30 30 30 30 30 30 38 00 00 00 00 00 00  MS00000008......&lt;br /&gt;
 0000360: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000370: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000380: 00 00 00 02 54 57 63 37 39 64 63 65 63 39 2d 30  ....TWc79dcec9-0&lt;br /&gt;
 0000390: 38 61 32 30 32 38 37 30 31 30 38 34 31 31 38 00  8a2028701084118.&lt;br /&gt;
 00003a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00003b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00003c0: 00 00 00 00 6f dd de 42 01 e0 34 a3 19 bc a9 af  ....o..B..4.....&lt;br /&gt;
 00003d0: 50 fe 8a ac 75 08 07 a9 3a 2c 21 51 93 ae 4a 90  P...u...:,!Q..J.&lt;br /&gt;
 00003e0: 6e 62 41 f1 a2 fe 00 00 3d 0a 13 97 da 53 17 98  nbA.....=....S..&lt;br /&gt;
 00003f0: 69 38 65 67 ca f4 9c 87 ec 44 b7 eb d0 ec b8 3d  i8eg.....D.....=&lt;br /&gt;
 0000400: 23 cf 7a 35 00 00 00 00 00 00 00 00 00 00 00 00  #.z5............&lt;br /&gt;
 0000410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00&lt;br /&gt;
| 20&lt;br /&gt;
| SHA1 of banner&lt;br /&gt;
|-&lt;br /&gt;
| 0x14&lt;br /&gt;
| 20&lt;br /&gt;
| SHA1 of tna4&lt;br /&gt;
|-&lt;br /&gt;
| 0x28&lt;br /&gt;
| 20&lt;br /&gt;
| SHA1 of tmd&lt;br /&gt;
|-&lt;br /&gt;
| 0x3c&lt;br /&gt;
| 20*8&lt;br /&gt;
| SHA1 of up to 8 contents [if unused, can be whatever happened to be in memory before]&lt;br /&gt;
|-&lt;br /&gt;
| 0xdc&lt;br /&gt;
| 20&lt;br /&gt;
| SHA-1 of save data&lt;br /&gt;
|-&lt;br /&gt;
| 0xf0&lt;br /&gt;
| 20&lt;br /&gt;
| SHA-1 of ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x104&lt;br /&gt;
| 0x3c&lt;br /&gt;
| ECC signature of previous 0x104 bytes with AP cert&lt;br /&gt;
|-&lt;br /&gt;
| 0x140&lt;br /&gt;
| 0x180&lt;br /&gt;
| AP cert, signed by TW cert&lt;br /&gt;
|-&lt;br /&gt;
| 0x2c0&lt;br /&gt;
| 0x180&lt;br /&gt;
| TW cert, specific to a console (see dev.kp)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is assumed that this block contains an ECC signature, aswell as the console id and serial of the DSi that exported the file, as part of a Nintendo cert.  Much like the Wii, the DSi carries with it a private ECC key that it can use to sign things, and a certificate signed by Nintendo that attests to the fact that the public ECC key belongs to a genuine DSi.&lt;/div&gt;</summary>
		<author><name>Booto</name></author>
	</entry>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=PXI&amp;diff=2941</id>
		<title>PXI</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=PXI&amp;diff=2941"/>
		<updated>2010-06-30T08:40:28Z</updated>

		<summary type="html">&lt;p&gt;Booto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;PXI is the inter-processor communication interface between the ARM7 and ARM9.  Most user code runs on the ARM9 and makes requests to the ARM7 to access various hardware (SD, NAND, AES, etc).   Each module is identified by a tag.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* PXI 0xB: FS&lt;br /&gt;
* PXI 0x13: AES&lt;br /&gt;
** subcommand 1,0&lt;br /&gt;
** subcommand 7,6&lt;br /&gt;
** subcommand 0xA, 0&lt;br /&gt;
** subcommand 0xA, 1&lt;br /&gt;
** subcommand 0xA, 2&lt;br /&gt;
** subcommand 0xA, 3&lt;br /&gt;
** subcommand 0xA, 4&lt;br /&gt;
* PXI 0x14: FATFS&lt;br /&gt;
** subcommand 0x0: read&lt;br /&gt;
** subcommand 0x1: write&lt;br /&gt;
** subcommand 0x8: close&lt;br /&gt;
** subcommand 0xD: open&lt;br /&gt;
** subcommand 0xE: seek&lt;br /&gt;
** subcommand 0x15: deletefile&lt;br /&gt;
** subcommand 0x16: renamefile?&lt;br /&gt;
** subcommand 0x17: getpathinfo&lt;br /&gt;
** subcommand 0x19: createdir&lt;br /&gt;
** subcommand 0x1f: truncate&lt;br /&gt;
&lt;br /&gt;
** subcommand 0x20: createfile&lt;br /&gt;
* PXI 0x13: SEA&lt;br /&gt;
** subcommand 1,0&lt;/div&gt;</summary>
		<author><name>Booto</name></author>
	</entry>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=Nand:/sys/dev.kp&amp;diff=2549</id>
		<title>Nand:/sys/dev.kp</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=Nand:/sys/dev.kp&amp;diff=2549"/>
		<updated>2009-12-24T06:28:07Z</updated>

		<summary type="html">&lt;p&gt;Booto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The dev.kp file is encrypted with [[ES block encryption]], and the contents of an example dev.kp file after decryption is shown below.&lt;br /&gt;
&lt;br /&gt;
Note that the console id itself is burned in an OTP area of the TWL CPU, and changing the contents of this file will not actually change the console id.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file contains the unique per-console ECC private-public key pair, along with a certificate issued by Nintendo.&lt;br /&gt;
 Signature across rest of block -- type = 0x00010002, ECC&lt;br /&gt;
 0000000: 00 01 00 02 00 db da 21 3b e1 f1 bf bb 4d dc 1d&lt;br /&gt;
 0000010: 60 29 da 19 42 1e 66 4f a8 e5 27 a1 d4 ea 46 7d&lt;br /&gt;
 0000020: 9b b4 00 95 c5 0d e8 fa ef a7 8d e9 bc 54 da c1&lt;br /&gt;
 0000030: 24 94 0b 7c ad a8 61 d5 05 97 c2 64 38 ad 18 f9&lt;br /&gt;
 &lt;br /&gt;
 0000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;br /&gt;
 0000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;br /&gt;
 0000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;br /&gt;
 0000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;br /&gt;
 &lt;br /&gt;
 Key used to sign this cert (Root-CA00000001-MS00000008)&lt;br /&gt;
 0000080: 52 6f 6f 74 2d 43 41 30 30 30 30 30 30 30 31 2d  Root-CA00000001-&lt;br /&gt;
 0000090: 4d 53 30 30 30 30 30 30 30 38 00 00 00 00 00 00  MS00000008&lt;br /&gt;
 00000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;br /&gt;
 00000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00&lt;br /&gt;
 &lt;br /&gt;
 Console ID string&lt;br /&gt;
 00000c0: 00 00 00 02 54 57 63 37 39 64 63 65 63 39 2d 30  ....TWc79dcec9-0&lt;br /&gt;
 00000d0: 38 61 32 30 32 38 37 30 31 30 38 34 31 31 38 00  8a2028701084118.&lt;br /&gt;
 00000e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000100: 00 00 00 00 6f dd de 42 01 e0 34 a3 19 bc a9 af  ....o..B..4.....&lt;br /&gt;
 0000110: 50 fe 8a ac 75 08 07 a9 3a 2c 21 51 93 ae 4a 90  P...u...:,!Q..J.&lt;br /&gt;
 0000120: 6e 62 41 f1 a2 fe 00 00 3d 0a 13 97 da 53 17 98  nbA.....=....S..&lt;br /&gt;
 0000130: 69 38 65 67 ca f4 9c 87 ec 44 b7 eb d0 ec b8 3d  i8eg.....D.....=&lt;br /&gt;
 0000140: 23 cf 7a 35 00 00 00 00 00 00 00 00 00 00 00 00  #.z5............&lt;br /&gt;
 0000150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 &lt;br /&gt;
 Private per-console ECC key, used for signing files on SD&lt;br /&gt;
 0000180: 01 12 9d e0 77 82 44 d3 ee 99 ad ce e5 fa fa ed&lt;br /&gt;
 0000190: c9 ab 8e a1 f9 b5 c8 14 3c 74 74 f8 19 3a&lt;br /&gt;
&lt;br /&gt;
See also [http://www.wiibrew.org/wiki/Certificate_chain Certificate Chain]&lt;/div&gt;</summary>
		<author><name>Booto</name></author>
	</entry>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=Nand:/sys/HWINFO_N.dat&amp;diff=2548</id>
		<title>Nand:/sys/HWINFO N.dat</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=Nand:/sys/HWINFO_N.dat&amp;diff=2548"/>
		<updated>2009-12-24T04:25:32Z</updated>

		<summary type="html">&lt;p&gt;Booto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; 0000000: 88 ca bc 0e 4e fe aa 90 e4 19 6a 0c 1c 12 cd 80  ....N.....j.....&lt;br /&gt;
 0000010: 54 af b9 1e 00 00 00 00 00 00 00 00 00 00 00 00  T...............&lt;br /&gt;
 0000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000080: 01 00 00 00 14 00 00 00 7e 66 15 02 d6 e0 39 c3  ........~f....9.&lt;br /&gt;
 0000090: 98 3f 06 b6 9a b2 9d 14 e7 06 e9 00 ff ff ff ff  .?..............&lt;br /&gt;
 00000a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................&lt;br /&gt;
 00000b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................&lt;br /&gt;
 ...&lt;br /&gt;
 0003ff0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00&lt;br /&gt;
| 14&lt;br /&gt;
| sha1 of DATA1&lt;br /&gt;
|-&lt;br /&gt;
| 0x80&lt;br /&gt;
| 4&lt;br /&gt;
| interal index&lt;br /&gt;
|-&lt;br /&gt;
| 0x84&lt;br /&gt;
| 4&lt;br /&gt;
| DATA1_length&lt;br /&gt;
|-&lt;br /&gt;
| 0x88&lt;br /&gt;
| DATA1_length&lt;br /&gt;
| DATA1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{stub}}&lt;/div&gt;</summary>
		<author><name>Booto</name></author>
	</entry>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=SD_title_export&amp;diff=2528</id>
		<title>SD title export</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=SD_title_export&amp;diff=2528"/>
		<updated>2009-12-23T16:26:14Z</updated>

		<summary type="html">&lt;p&gt;Booto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The System Settings application delivered with each DSi can be used to export applications from NAND to SD. The files created on SD are encrypted with AES CCM (CTR with CBC-MAC), using a combination of a shared key and a console specific key.&lt;br /&gt;
&lt;br /&gt;
The application itself (APP), and the title metadata (TMD) is encrypted with a console specific key. This means that Nintendo intended that these files can only be imported back into the same DSi.&lt;br /&gt;
&lt;br /&gt;
While the banner, the public savegame, and several other metablocks are encrypted with a shared key, which means any DSi can inspect these parts of the file.&lt;br /&gt;
&lt;br /&gt;
= ES blocks =&lt;br /&gt;
An ES block, for lack of a better name, is a commonly used data encryption method on DSi by Nintendo.&lt;br /&gt;
&lt;br /&gt;
It uses AES CCM to encrypt a maximum of 0x20000 bytes of data per time, and extends it with a 32 byte trail block at the end.&lt;br /&gt;
&lt;br /&gt;
A part of the last 16 bytes of trail block itself is encrypted with AES CTR, and contains the nonce for decryption and size of the ES block:&lt;br /&gt;
 0000000: qq qq qq qq qq qq qq qq qq qq qq qq qq qq qq qq&lt;br /&gt;
 0000010: xx nn nn nn nn nn nn nn nn nn nn nn nn yy yy yy&lt;br /&gt;
&lt;br /&gt;
The counter used for decrypting the trail block is the last 16 bytes of the trailblock, with the first, 14th, 15th and 16th byte set to 0:&lt;br /&gt;
 00 nn nn nn nn nn nn nn nn nn nn nn nn 00 00 00&lt;br /&gt;
&lt;br /&gt;
After decrypting the trailblock, xx is always 0x3A, and yy is the size of the ES block (excluding the trail block). The nonce after decryption is not used. It is assumed that qq is a MAC (Message Authentication Code), used to verify the contents of the ES block after decryption, but this has not been verified yet.&lt;br /&gt;
&lt;br /&gt;
The same 12-byte nonce from the trailblock is again used to decrypt the whole ES block itself.&lt;br /&gt;
&lt;br /&gt;
Data larger than 0x20000 bytes is split into multiple ES blocks, each with their own trailblock.&lt;br /&gt;
&lt;br /&gt;
ES block encryption is used to encrypt the header block, footer block, and the 11 parts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= header = &lt;br /&gt;
 0000000: 34 41 4e 54 31 30 00 01 74 e9 2c 1e 24 00 00 00  4ANT10..t.,.$...&lt;br /&gt;
 0000010: d6 e0 39 c3 98 3f 06 b6 9a b2 9d 14 e7 06 e9 00  ..9..?..........&lt;br /&gt;
 0000020: 45 4d 44 4b 04 00 03 00 28 02 00 00 20 d2 e0 00  EMDK....(... ...&lt;br /&gt;
 0000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000040: 00 00 00 00 00 00 00 00 00 00 00 00 80 80 06 00  ................&lt;br /&gt;
 0000050: 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000070: 00 00 00 00 00 80 06 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000080: 00 00 00 00 00 86 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000b0: 00 00 00 00                                      ....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00&lt;br /&gt;
| 4&lt;br /&gt;
| Always 0x544E4134 (&#039;TNA4&#039;, endian-swapped)&lt;br /&gt;
|-&lt;br /&gt;
| 0x04&lt;br /&gt;
| 2&lt;br /&gt;
| group_id/publisher code&lt;br /&gt;
|-&lt;br /&gt;
| 0x06&lt;br /&gt;
| 2&lt;br /&gt;
| Title version&lt;br /&gt;
|-&lt;br /&gt;
| 0x08&lt;br /&gt;
| 6&lt;br /&gt;
| DSi MAC address&lt;br /&gt;
|-&lt;br /&gt;
| 0x0E&lt;br /&gt;
| 2&lt;br /&gt;
| zero&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 16&lt;br /&gt;
| Extracted from HWINFO_N.dat&lt;br /&gt;
|-&lt;br /&gt;
| 0x20&lt;br /&gt;
| 4&lt;br /&gt;
| Lower TitleID of exported app&lt;br /&gt;
|-&lt;br /&gt;
| 0x24&lt;br /&gt;
| 4&lt;br /&gt;
| Upper TitleID of exported app&lt;br /&gt;
|-&lt;br /&gt;
| 0x28&lt;br /&gt;
| 11 * 4&lt;br /&gt;
| Contains the total lengths for each of the 11 parts.&lt;br /&gt;
|-&lt;br /&gt;
| 0x54&lt;br /&gt;
| 8 * 4&lt;br /&gt;
| List of content ids in same order as tmd&lt;br /&gt;
|-&lt;br /&gt;
| 0x74&lt;br /&gt;
| 0x3e&lt;br /&gt;
| reserved section per [http://www.wiibrew.org/wiki/TMD tmds]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= footer block =&lt;br /&gt;
&lt;br /&gt;
 0000000: d6 f3 24 7c a1 0f 4a dc cd 07 34 d6 ce 62 32 93  ..$|..J...4..b2.&lt;br /&gt;
 0000010: 11 54 54 a5 28 38 13 5a 0c 87 8e dc 63 0a ab 2e  .TT.(8.Z....c...&lt;br /&gt;
 0000020: 4a 0f 12 5c d7 31 ee 29 72 53 39 1d ff 70 c1 8a  J..\.1.)rS9..p..&lt;br /&gt;
 0000030: 45 18 c1 88 85 1f f5 55 c6 5f 48 37 27 f3 0a 02  E......U._H7&#039;...&lt;br /&gt;
 0000040: e7 77 18 8b 84 ee cc e5 e4 40 e5 cb 64 bb 0a f3  .w.......@..d...&lt;br /&gt;
 0000050: 20 00 53 00 74 00 75 00 64 00 69 00 6f 00 0a 00   .S.t.u.d.i.o...&lt;br /&gt;
 0000060: 4e 00 69 00 6e 00 74 00 65 00 6e 00 64 00 6f 00  N.i.n.t.e.n.d.o.&lt;br /&gt;
 0000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000d0: 00 00 00 00 00 00 00 00 00 00 00 00 c5 16 e5 12  ................&lt;br /&gt;
 00000e0: 4c 70 9a fd 7a 03 87 d0 13 94 da 86 46 11 ff 31  Lp..z.......F..1&lt;br /&gt;
 00000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000100: 00 00 00 00 00 b5 62 b1 02 c9 4e f3 14 2c 85 3d  ......b...N..,.=&lt;br /&gt;
 0000110: a2 c6 be c9 d8 01 db 46 03 12 44 6e 89 87 c4 e5  .......F..Dn....&lt;br /&gt;
 0000120: 83 1e 00 03 8f f8 cd 35 e3 e4 b8 8e be 6e 65 36  .......5.....ne6&lt;br /&gt;
 0000130: f2 6d c6 dc 2c 4b d6 38 2b 2d 7f e5 22 b0 44 3b  .m..,K.8+-..&amp;quot;.D;&lt;br /&gt;
 0000140: 00 01 00 02 00 78 58 de a6 c4 70 9c 89 26 22 f2  .....xX...p..&amp;amp;&amp;quot;.&lt;br /&gt;
 0000150: 60 38 cb c5 d7 54 cd a3 d5 b9 d9 b3 84 63 6f be  `8...T.......co.&lt;br /&gt;
 0000160: 36 ef 00 68 f0 9a 6b 35 91 1a 67 6f 73 dc 54 61  6..h..k5..gos.Ta&lt;br /&gt;
 0000170: c1 c7 6c 6f d4 43 58 e6 e2 62 52 11 65 77 9a ce  ..lo.CX..bR.ew..&lt;br /&gt;
 0000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00001a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00001b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00001c0: 52 6f 6f 74 2d 43 41 30 30 30 30 30 30 30 31 2d  Root-CA00000001-&lt;br /&gt;
 00001d0: 4d 53 30 30 30 30 30 30 30 38 2d 54 57 63 37 39  MS00000008-TWc79&lt;br /&gt;
 00001e0: 64 63 65 63 39 2d 30 38 61 32 30 32 38 37 30 31  dcec9-08a2028701&lt;br /&gt;
 00001f0: 30 38 34 31 31 38 00 00 00 00 00 00 00 00 00 00  084118..........&lt;br /&gt;
 0000200: 00 00 00 02 41 50 30 30 30 33 30 30 31 35 34 38  ....AP0003001548&lt;br /&gt;
 0000210: 34 65 34 32 34 35 00 00 00 00 00 00 00 00 00 00  4e4245..........&lt;br /&gt;
 0000220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000240: 00 00 00 00 00 00 00 00 00 d7 c1 33 4e 24 8c 13  ...........3N$..&lt;br /&gt;
 0000250: 0f b3 f4 c4 bb 2a 4a 79 81 51 39 6f 00 ee a2 00  .....*Jy.Q9o....&lt;br /&gt;
 0000260: 20 a6 f5 cc d8 72 01 74 60 57 4f a4 92 52 9b 5a   ....r.t`WO..R.Z&lt;br /&gt;
 0000270: 56 75 a9 62 4f 67 25 e3 7b 05 21 e4 4f 1f c3 21  Vu.bOg%.{.!.O..!&lt;br /&gt;
 0000280: 2b d8 ec e7 00 00 00 00 00 00 00 00 00 00 00 00  +...............&lt;br /&gt;
 0000290: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00002a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00002b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00002c0: 00 01 00 02 00 db da 21 3b e1 f1 bf bb 4d dc 1d  .......!;....M..&lt;br /&gt;
 00002d0: 60 29 da 19 42 1e 66 4f a8 e5 27 a1 d4 ea 46 7d  `)..B.fO..&#039;...F}&lt;br /&gt;
 00002e0: 9b b4 00 95 c5 0d e8 fa ef a7 8d e9 bc 54 da c1  .............T..&lt;br /&gt;
 00002f0: 24 94 0b 7c ad a8 61 d5 05 97 c2 64 38 ad 18 f9  $..|..a....d8...&lt;br /&gt;
 0000300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000310: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000320: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000330: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000340: 52 6f 6f 74 2d 43 41 30 30 30 30 30 30 30 31 2d  Root-CA00000001-&lt;br /&gt;
 0000350: 4d 53 30 30 30 30 30 30 30 38 00 00 00 00 00 00  MS00000008......&lt;br /&gt;
 0000360: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000370: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000380: 00 00 00 02 54 57 63 37 39 64 63 65 63 39 2d 30  ....TWc79dcec9-0&lt;br /&gt;
 0000390: 38 61 32 30 32 38 37 30 31 30 38 34 31 31 38 00  8a2028701084118.&lt;br /&gt;
 00003a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00003b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00003c0: 00 00 00 00 6f dd de 42 01 e0 34 a3 19 bc a9 af  ....o..B..4.....&lt;br /&gt;
 00003d0: 50 fe 8a ac 75 08 07 a9 3a 2c 21 51 93 ae 4a 90  P...u...:,!Q..J.&lt;br /&gt;
 00003e0: 6e 62 41 f1 a2 fe 00 00 3d 0a 13 97 da 53 17 98  nbA.....=....S..&lt;br /&gt;
 00003f0: 69 38 65 67 ca f4 9c 87 ec 44 b7 eb d0 ec b8 3d  i8eg.....D.....=&lt;br /&gt;
 0000400: 23 cf 7a 35 00 00 00 00 00 00 00 00 00 00 00 00  #.z5............&lt;br /&gt;
 0000410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00&lt;br /&gt;
| 80&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x50&lt;br /&gt;
| 150*2&lt;br /&gt;
| Producer Company (UCS-2)&lt;br /&gt;
|-&lt;br /&gt;
| 0xDC&lt;br /&gt;
| 20&lt;br /&gt;
| (?) SHA-1&lt;br /&gt;
|-&lt;br /&gt;
|..&lt;br /&gt;
|..&lt;br /&gt;
|ECC certificates/signatures&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is assumed that this block contains an ECC signature, aswell as the console id and serial of the DSi that exported the file, as part of a Nintendo cert.  Much like the Wii, the DSi carries with it a private ECC key that it can use to sign things, and a certificate signed by Nintendo that attests to the fact that the public ECC key belongs to a genuine DSi.&lt;/div&gt;</summary>
		<author><name>Booto</name></author>
	</entry>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=SD_title_export&amp;diff=2527</id>
		<title>SD title export</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=SD_title_export&amp;diff=2527"/>
		<updated>2009-12-23T15:52:27Z</updated>

		<summary type="html">&lt;p&gt;Booto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The System Settings application delivered with each DSi can be used to export applications from NAND to SD. The files created on SD are encrypted with AES CCM (CTR with CBC-MAC), using a combination of a shared key and a console specific key.&lt;br /&gt;
&lt;br /&gt;
The application itself (APP), and the title metadata (TMD) is encrypted with a console specific key. This means that Nintendo intended that these files can only be imported back into the same DSi.&lt;br /&gt;
&lt;br /&gt;
While the banner, the public savegame, and several other metablocks are encrypted with a shared key, which means any DSi can inspect these parts of the file.&lt;br /&gt;
&lt;br /&gt;
= ES blocks =&lt;br /&gt;
An ES block, for lack of a better name, is a commonly used data encryption method on DSi by Nintendo.&lt;br /&gt;
&lt;br /&gt;
It uses AES CCM to encrypt a maximum of 0x20000 bytes of data per time, and extends it with a 32 byte trail block at the end.&lt;br /&gt;
&lt;br /&gt;
A part of the last 16 bytes of trail block itself is encrypted with AES CTR, and contains the nonce for decryption and size of the ES block:&lt;br /&gt;
 0000000: qq qq qq qq qq qq qq qq qq qq qq qq qq qq qq qq&lt;br /&gt;
 0000010: xx nn nn nn nn nn nn nn nn nn nn nn nn yy yy yy&lt;br /&gt;
&lt;br /&gt;
The counter used for decrypting the trail block is the last 16 bytes of the trailblock, with the first, 14th, 15th and 16th byte set to 0:&lt;br /&gt;
 00 nn nn nn nn nn nn nn nn nn nn nn nn 00 00 00&lt;br /&gt;
&lt;br /&gt;
After decrypting the trailblock, xx is always 0x3A, and yy is the size of the ES block (excluding the trail block). The nonce after decryption is not used. It is assumed that qq is a MAC (Message Authentication Code), used to verify the contents of the ES block after decryption, but this has not been verified yet.&lt;br /&gt;
&lt;br /&gt;
The same 12-byte nonce from the trailblock is again used to decrypt the whole ES block itself.&lt;br /&gt;
&lt;br /&gt;
Data larger than 0x20000 bytes is split into multiple ES blocks, each with their own trailblock.&lt;br /&gt;
&lt;br /&gt;
ES block encryption is used to encrypt the header block, footer block, and the 11 parts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= header = &lt;br /&gt;
 0000000: 34 41 4e 54 31 30 00 01 74 e9 2c 1e 24 00 00 00  4ANT10..t.,.$...&lt;br /&gt;
 0000010: d6 e0 39 c3 98 3f 06 b6 9a b2 9d 14 e7 06 e9 00  ..9..?..........&lt;br /&gt;
 0000020: 45 4d 44 4b 04 00 03 00 28 02 00 00 20 d2 e0 00  EMDK....(... ...&lt;br /&gt;
 0000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000040: 00 00 00 00 00 00 00 00 00 00 00 00 80 80 06 00  ................&lt;br /&gt;
 0000050: 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000070: 00 00 00 00 00 80 06 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000080: 00 00 00 00 00 86 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000b0: 00 00 00 00                                      ....&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00&lt;br /&gt;
| 4&lt;br /&gt;
| Always 0x544E4134 (&#039;TNA4&#039;, endian-swapped)&lt;br /&gt;
|-&lt;br /&gt;
| 0x04&lt;br /&gt;
| 2&lt;br /&gt;
| group_id/publisher code&lt;br /&gt;
|-&lt;br /&gt;
| 0x06&lt;br /&gt;
| 2&lt;br /&gt;
| Title version&lt;br /&gt;
|-&lt;br /&gt;
| 0x08&lt;br /&gt;
| 6&lt;br /&gt;
| DSi MAC address&lt;br /&gt;
|-&lt;br /&gt;
| 0x0E&lt;br /&gt;
| 2&lt;br /&gt;
| zero&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| 16&lt;br /&gt;
| Extracted from HWINFO_N.dat&lt;br /&gt;
|-&lt;br /&gt;
| 0x20&lt;br /&gt;
| 4&lt;br /&gt;
| Lower TitleID of exported app&lt;br /&gt;
|-&lt;br /&gt;
| 0x24&lt;br /&gt;
| 4&lt;br /&gt;
| Upper TitleID of exported app&lt;br /&gt;
|-&lt;br /&gt;
| 0x28&lt;br /&gt;
| 11 * 4&lt;br /&gt;
| Contains the total lengths for each of the 11 parts.&lt;br /&gt;
|-&lt;br /&gt;
| 0x54&lt;br /&gt;
| ?&lt;br /&gt;
| ?&lt;br /&gt;
|-&lt;br /&gt;
| 0x74&lt;br /&gt;
| 0x3e&lt;br /&gt;
| reserved section per [http://www.wiibrew.org/wiki/TMD tmds]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= footer block =&lt;br /&gt;
&lt;br /&gt;
 0000000: d6 f3 24 7c a1 0f 4a dc cd 07 34 d6 ce 62 32 93  ..$|..J...4..b2.&lt;br /&gt;
 0000010: 11 54 54 a5 28 38 13 5a 0c 87 8e dc 63 0a ab 2e  .TT.(8.Z....c...&lt;br /&gt;
 0000020: 4a 0f 12 5c d7 31 ee 29 72 53 39 1d ff 70 c1 8a  J..\.1.)rS9..p..&lt;br /&gt;
 0000030: 45 18 c1 88 85 1f f5 55 c6 5f 48 37 27 f3 0a 02  E......U._H7&#039;...&lt;br /&gt;
 0000040: e7 77 18 8b 84 ee cc e5 e4 40 e5 cb 64 bb 0a f3  .w.......@..d...&lt;br /&gt;
 0000050: 20 00 53 00 74 00 75 00 64 00 69 00 6f 00 0a 00   .S.t.u.d.i.o...&lt;br /&gt;
 0000060: 4e 00 69 00 6e 00 74 00 65 00 6e 00 64 00 6f 00  N.i.n.t.e.n.d.o.&lt;br /&gt;
 0000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00000d0: 00 00 00 00 00 00 00 00 00 00 00 00 c5 16 e5 12  ................&lt;br /&gt;
 00000e0: 4c 70 9a fd 7a 03 87 d0 13 94 da 86 46 11 ff 31  Lp..z.......F..1&lt;br /&gt;
 00000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000100: 00 00 00 00 00 b5 62 b1 02 c9 4e f3 14 2c 85 3d  ......b...N..,.=&lt;br /&gt;
 0000110: a2 c6 be c9 d8 01 db 46 03 12 44 6e 89 87 c4 e5  .......F..Dn....&lt;br /&gt;
 0000120: 83 1e 00 03 8f f8 cd 35 e3 e4 b8 8e be 6e 65 36  .......5.....ne6&lt;br /&gt;
 0000130: f2 6d c6 dc 2c 4b d6 38 2b 2d 7f e5 22 b0 44 3b  .m..,K.8+-..&amp;quot;.D;&lt;br /&gt;
 0000140: 00 01 00 02 00 78 58 de a6 c4 70 9c 89 26 22 f2  .....xX...p..&amp;amp;&amp;quot;.&lt;br /&gt;
 0000150: 60 38 cb c5 d7 54 cd a3 d5 b9 d9 b3 84 63 6f be  `8...T.......co.&lt;br /&gt;
 0000160: 36 ef 00 68 f0 9a 6b 35 91 1a 67 6f 73 dc 54 61  6..h..k5..gos.Ta&lt;br /&gt;
 0000170: c1 c7 6c 6f d4 43 58 e6 e2 62 52 11 65 77 9a ce  ..lo.CX..bR.ew..&lt;br /&gt;
 0000180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00001a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00001b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00001c0: 52 6f 6f 74 2d 43 41 30 30 30 30 30 30 30 31 2d  Root-CA00000001-&lt;br /&gt;
 00001d0: 4d 53 30 30 30 30 30 30 30 38 2d 54 57 63 37 39  MS00000008-TWc79&lt;br /&gt;
 00001e0: 64 63 65 63 39 2d 30 38 61 32 30 32 38 37 30 31  dcec9-08a2028701&lt;br /&gt;
 00001f0: 30 38 34 31 31 38 00 00 00 00 00 00 00 00 00 00  084118..........&lt;br /&gt;
 0000200: 00 00 00 02 41 50 30 30 30 33 30 30 31 35 34 38  ....AP0003001548&lt;br /&gt;
 0000210: 34 65 34 32 34 35 00 00 00 00 00 00 00 00 00 00  4e4245..........&lt;br /&gt;
 0000220: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000230: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000240: 00 00 00 00 00 00 00 00 00 d7 c1 33 4e 24 8c 13  ...........3N$..&lt;br /&gt;
 0000250: 0f b3 f4 c4 bb 2a 4a 79 81 51 39 6f 00 ee a2 00  .....*Jy.Q9o....&lt;br /&gt;
 0000260: 20 a6 f5 cc d8 72 01 74 60 57 4f a4 92 52 9b 5a   ....r.t`WO..R.Z&lt;br /&gt;
 0000270: 56 75 a9 62 4f 67 25 e3 7b 05 21 e4 4f 1f c3 21  Vu.bOg%.{.!.O..!&lt;br /&gt;
 0000280: 2b d8 ec e7 00 00 00 00 00 00 00 00 00 00 00 00  +...............&lt;br /&gt;
 0000290: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00002a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00002b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00002c0: 00 01 00 02 00 db da 21 3b e1 f1 bf bb 4d dc 1d  .......!;....M..&lt;br /&gt;
 00002d0: 60 29 da 19 42 1e 66 4f a8 e5 27 a1 d4 ea 46 7d  `)..B.fO..&#039;...F}&lt;br /&gt;
 00002e0: 9b b4 00 95 c5 0d e8 fa ef a7 8d e9 bc 54 da c1  .............T..&lt;br /&gt;
 00002f0: 24 94 0b 7c ad a8 61 d5 05 97 c2 64 38 ad 18 f9  $..|..a....d8...&lt;br /&gt;
 0000300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000310: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000320: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000330: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000340: 52 6f 6f 74 2d 43 41 30 30 30 30 30 30 30 31 2d  Root-CA00000001-&lt;br /&gt;
 0000350: 4d 53 30 30 30 30 30 30 30 38 00 00 00 00 00 00  MS00000008......&lt;br /&gt;
 0000360: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000370: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000380: 00 00 00 02 54 57 63 37 39 64 63 65 63 39 2d 30  ....TWc79dcec9-0&lt;br /&gt;
 0000390: 38 61 32 30 32 38 37 30 31 30 38 34 31 31 38 00  8a2028701084118.&lt;br /&gt;
 00003a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00003b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 00003c0: 00 00 00 00 6f dd de 42 01 e0 34 a3 19 bc a9 af  ....o..B..4.....&lt;br /&gt;
 00003d0: 50 fe 8a ac 75 08 07 a9 3a 2c 21 51 93 ae 4a 90  P...u...:,!Q..J.&lt;br /&gt;
 00003e0: 6e 62 41 f1 a2 fe 00 00 3d 0a 13 97 da 53 17 98  nbA.....=....S..&lt;br /&gt;
 00003f0: 69 38 65 67 ca f4 9c 87 ec 44 b7 eb d0 ec b8 3d  i8eg.....D.....=&lt;br /&gt;
 0000400: 23 cf 7a 35 00 00 00 00 00 00 00 00 00 00 00 00  #.z5............&lt;br /&gt;
 0000410: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000420: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
 0000430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Offset&lt;br /&gt;
! Size&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x00&lt;br /&gt;
| 80&lt;br /&gt;
| Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0x50&lt;br /&gt;
| 150*2&lt;br /&gt;
| Producer Company (UCS-2)&lt;br /&gt;
|-&lt;br /&gt;
| 0xDC&lt;br /&gt;
| 20&lt;br /&gt;
| (?) SHA-1&lt;br /&gt;
|-&lt;br /&gt;
|..&lt;br /&gt;
|..&lt;br /&gt;
|ECC certificates/signatures&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It is assumed that this block contains an ECC signature, aswell as the console id and serial of the DSi that exported the file, as part of a Nintendo cert.  Much like the Wii, the DSi carries with it a private ECC key that it can use to sign things, and a certificate signed by Nintendo that attests to the fact that the public ECC key belongs to a genuine DSi.&lt;/div&gt;</summary>
		<author><name>Booto</name></author>
	</entry>
	<entry>
		<id>https://dsibrew.org/w/index.php?title=Hardware&amp;diff=1942</id>
		<title>Hardware</title>
		<link rel="alternate" type="text/html" href="https://dsibrew.org/w/index.php?title=Hardware&amp;diff=1942"/>
		<updated>2009-08-14T12:35:56Z</updated>

		<summary type="html">&lt;p&gt;Booto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
== Specifications ==&lt;br /&gt;
&lt;br /&gt;
*[[Cameras|Includes (2) 0.3 Megapixel VGA Cameras]]&lt;br /&gt;
*256MB Internal Flash Memory - Samsung kmapf0000m-S998 MOVI NAND - MMC Interface&lt;br /&gt;
*16MB RAM - NEC uPD 46128512AF1 - DDR SRAM or a Fujitsu 128-Mbit FCRAM 82DBS08164D-70L&lt;br /&gt;
*(2) 256 x 192 3.25 Inch Displays&lt;br /&gt;
*Backwards compatible with Nintendo DS games but not GBA games as the lack of a gameboy cartridge port.&lt;br /&gt;
*Integrated ARM7/ARM9 cores clocked at 133mhz in real mode and downclocked to 66mhz for compatibility mode.&lt;br /&gt;
*PAIC3000D Sound Chip - possibly a TI codecs: AIC3    ????&lt;br /&gt;
*Mitsumi (MM3317A) or TI 72071B0 - Power supply and charger circuit ????&lt;br /&gt;
*SD/SDHC Card slot&lt;br /&gt;
&lt;br /&gt;
== Images ==&lt;br /&gt;
&lt;br /&gt;
=== Front ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Twl_front.jpg]]&lt;br /&gt;
&lt;br /&gt;
The socket to the left of the ARM processor is the wifi chip socket.&lt;br /&gt;
&lt;br /&gt;
=== Back ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Twl_back.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== CPU with new ram ===&lt;br /&gt;
&lt;br /&gt;
[[Image:CPUv2.jpg]]&lt;br /&gt;
&lt;br /&gt;
=== Glamor Shot ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Nintendo-dsi-Glamor-Shot.jpg]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
# http://en.wikipedia.org/wiki/Nintendo_DSi&lt;br /&gt;
# http://insidetronics.blogspot.com/2008/11/new-nintendo-dsi-teardown.html&lt;br /&gt;
# http://techon.nikkeibp.co.jp/english/NEWS_EN/20081111/161077/&lt;br /&gt;
# http://games.gearlive.com/playfeed/article/q408-nintendo-dsi-announced-larger-screens-dual-cameras-dsi-shop-store/&lt;br /&gt;
# http://www.ifixit.com/Guide/First-Look/Nintendo-DSi/714/1&lt;/div&gt;</summary>
		<author><name>Booto</name></author>
	</entry>
</feed>