4dsdev
Views: 1,610,090 Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 11-23-24 11:44 AM
Guest:

0 users reading SHA hash functions via 3DS registers? | 1 bot

Main - Homebrew discussion - SHA hash functions via 3DS registers? Hide post layouts | New reply


d0k3
Posted on 10-20-15 10:55 AM Link | #524
Browsing around 3Dbrew, I stumbled upon this:
http://3dbrew.org/wiki/SHA_Registers

I'm pretty sure, using these registers to calculate the SHA-256 instead of a SHA-256 software implementation would be much faster, but I'm also careful with the low level stuff.

So, I wonder, is there already some small and working library available for this? Anyone know something?


profi200
Posted on 10-20-15 11:05 AM Link | #525
https://github.com/mid-kid/CakesForeveryWan/blob/master/source/crypto.c#L265

No access from ARM11 usrland. This uses the SHA directly.

d0k3
Posted on 10-20-15 10:01 PM Link | #527
Posted by profi200
https://github.com/mid-kid/CakesForeveryWan/blob/master/source/crypto.c#L265

No access from ARM11 usrland. This uses the SHA directly.

Already coded my own routines based on that and working :). Thank you, again!


Main - Homebrew discussion - SHA hash functions via 3DS registers? Hide post layouts | New reply

Page rendered in 0.009 seconds. (2048KB of memory used)
MySQL - queries: 26, rows: 67/67, time: 0.006 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.