Homebrew Homebrew Development

ernilos

Well-Known Member
Member
Joined
Aug 28, 2013
Messages
145
Trophies
0
Location
CAT
XP
280
Country
United States
I was wondering, has anyone wrote some code to interact with thr aes engine? I'm not really friendly with the io registers. I've seen time ago someone who posted some basic piece of code, but it has been removed in less than a day, probably for piracy. I'd like this to improve my studyes on the hb scene.

Time ago I wrotte the code in libctru for PS service (AES), but it don't acess to the "interesan" keyslots so never I didn't used... I don't know if it works properly
PS.h: http://pastebin.com/NvpxeYfX
PS.c: http://pastebin.com/UAZRCTFJ
 

Roxas75

Well-Known Member
Member
Joined
Oct 9, 2010
Messages
516
Trophies
0
XP
1,522
Country
Italy

Bug_Checker_

Well-Known Member
Member
Joined
Jun 10, 2006
Messages
950
Trophies
0
XP
664
Country
United States
I was wondering, has anyone wrote some code to interact with thr aes engine? I'm not really friendly with the io registers. I've seen time ago someone who posted some basic piece of code, but it has been removed in less than a day, probably for piracy. I'd like this to improve my studyes on the hb scene.

Do you have any additional info? Like who? when? where?
 

Relys

^(Software | Hardware) Exploit? Development.$
Member
Joined
Jan 5, 2007
Messages
878
Trophies
1
XP
1,239
Country
United States
It was someone in waffle's group. It directly used the IO registers. Here's a mirror of it http://pastebin.com/qaV25PX9


Does anyone have the lib and crypto headers?

Well, i think we can download the GBA VC in .3DS, maybe the key is just 00000, i don't know to be honest... but we can try extract it, after it, i can try reverse and understand how it work

I would think that it would use 0000.... AES key. I think they use the 3DS's AES engine to do the decryption (Because it's impossible to get the key without decapping IIRC), then they inject VC game and re-encrypt with all 0's (Gateway's homebrew format) and rebuild the .3DS header.

Although AES in symmetric right? So I guess they could transfer it back to the 3DS and have the AES engine encrypt it????? Is that right?
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,024
Country
Vietnam
Quick question: Why are GW HB encrypted and does GW use the AES engine to decrypt it? If so does that mean they can tell the engine to use whatever key they like?
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
yeah it was st4rk, and it was a launcher.dat hombebrew not .3ds style
Here my version of port from GameBoy Emulator(thank a lot seagal112).

This version have Pokémon Red in Launcher.dat, frameskip(L1 up/R1 down).

I call my version of 3DGB(funny name no ?), and a video with pokémon red working fine:



You can find the link for download in my blog, check the video.

Thanks Seagal112 :]
 

cracker

Nyah!
Member
Joined
Aug 24, 2005
Messages
3,619
Trophies
1
XP
2,213
Country
United States
Wow. There are so many sleeper homebrew releases that get buried in these threads it seems. I also found quite a few hb demos, etc. by crawling via contributor links on github that I hadn't heard of before. It baffles me why 3Dbrew doesn't have a section for the actual homebrew! It is more akin to GBATEK than it's sister sites.
 

Relys

^(Software | Hardware) Exploit? Development.$
Member
Joined
Jan 5, 2007
Messages
878
Trophies
1
XP
1,239
Country
United States
Quick question: Why are GW HB encrypted and does GW use the AES engine to decrypt it? If so does that mean they can tell the engine to use whatever key they like?


GW HB are encrypted with 00000.... AES key as opposed to using the 3DS's AES engine to decrypt. According to plutoo Gateway patches SHA256 checks and RSA signature to allow these files to run.
 

Ryft

Well-Known Member
Member
Joined
Nov 21, 2013
Messages
617
Trophies
1
Age
38
Location
Illinois
XP
1,010
Country
United States
Wow. There are so many sleeper homebrew releases that get buried in these threads it seems. I also found quite a few hb demos, etc. by crawling via contributor links on github that I hadn't heard of before. It baffles me why 3Dbrew doesn't have a section for the actual homebrew! It is more akin to GBATEK than it's sister sites.

Filetrip has a 3DS section with a homebrew category and some others. http://filetrip.net/3ds-downloads/
 

VMM

Hamon > Stand
Member
Joined
Jul 1, 2010
Messages
3,132
Trophies
2
Age
33
XP
2,243
Country
Brazil
Well Stark, it seems Mega-Mario was faster than you with that SNES emulator.
BTW, with the homebrew section in Filetrip you can now host your NES emulator and have a place to keep up every update you do and their changelogs.
 

desertwarior

Well-Known Member
Newcomer
Joined
Aug 16, 2014
Messages
50
Trophies
0
Age
35
XP
107
Country
Libya
:) can someone tell me or direct me to links about 3DS/Arm11 programing , sdk, documentations?



never mind i was too stupid to see the first page.
 

Arisotura

rise of melonism
Member
Joined
Dec 5, 2009
Messages
839
Trophies
1
Age
30
Location
center of the Sun
Website
kuribo64.net
XP
2,498
Country
France
Is there a particular reason why modifying the access info in gw_workaround.rsf causes apps to not launch? Because that file contains its own key for signing the data, so signing shouldn't be an issue there.

In any case, I need access to csnd:SND and it's not listed there.
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,189
Country
New Zealand
Is there a particular reason why modifying the access info in gw_workaround.rsf causes apps to not launch? Because that file contains its own key for signing the data, so signing shouldn't be an issue there.

In any case, I need access to csnd:SND and it's not listed there.


No retail software has CSND in its service access list as far as I can see so its probably always allowed.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-