Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example of how to use the DSi AES engine #174

Open
AntonioND opened this issue Jun 27, 2024 · 4 comments
Open

Add example of how to use the DSi AES engine #174

AntonioND opened this issue Jun 27, 2024 · 4 comments
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@AntonioND
Copy link
Member

No description provided.

@AntonioND AntonioND added the documentation Improvements or additions to documentation label Jun 27, 2024
@mdigiorgio
Copy link
Contributor

Adding RSA usage example is addressed by #182

@mdigiorgio
Copy link
Contributor

RSA usage example is now merged.

For what concerns AES, an investigation is needed to:

@AntonioND AntonioND changed the title Add examples of how to use the DSi RSA and AES engines Add example of how to use the DSi AES engine Jul 14, 2024
@profi200
Copy link

A working superset of this AES engine is implemented in this old code. I had been planning to rewrite this and include it in libn3ds again.
https://github.com/derrekr/fastboot3DS/blob/master/source/arm9/hardware/crypto.c

Since i wrote the entire file i can relicense as needed.

@asiekierka
Copy link
Contributor

asiekierka commented Jul 14, 2024

A good chunk of the code there concerns keyX/keyY, which I don't think we have a particular intention of handling.

I think I have a decent understanding of how the AES engine works, but we could really use a discussion w/r/t on-demand DMA/NDMA/timer allocation/acquisition - as proper (= efficient) use of the AES engine requires borrowing not one, but two NDMA channels ;-)

@AntonioND AntonioND added the help wanted Extra attention is needed label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants