Commit Graph

7 Commits

Author SHA1 Message Date
SciresM
b38939adb5 Implement support for parsing/interacting with NCAs. (#942)
* fs: implement support for interacting with ncas.

* spl: extend to use virtual keyslots
2020-05-12 15:44:19 -07:00
Michael Scire
da6eac986d buildsystem: fix building 2020-04-06 17:44:36 -07:00
Michael Scire
18396d1a36 crypto: add aes (ecb, ctr, xts) 2020-04-05 23:25:44 -07:00
SciresM
926d5a55d6 mem: implement most of StandardAllocator (#860)
This was tested using `https://github.com/node-dot-cpp/alloc-test` plus a few other by-hand tests.

It seems to work for the case we care about (sysmodules without thread cache-ing).

External users are advised to build with assertions on and contact SciresM if you find issues.

This is a lot of code to have gotten right in one go, and it was written mostly after midnight while sick, so there are probably un-noticed issues.
2020-03-30 20:41:21 -07:00
Michael Scire
3fd36b170d crypto: add Sha256Context 2020-03-18 00:15:01 -07:00
Michael Scire
577e3936a6 crypto: implement RSA-2048-PSS 2020-03-02 19:51:06 -08:00
Michael Scire
98cc1dd870 crypto: Implement BigNum/ExpMod 2020-03-02 19:51:06 -08:00