Commit graph

16 commits

Author SHA1 Message Date
TuxSH
663c446439 Mention that Nintendo copy-pasted some startup code from arm-trusted-firmware 2018-02-21 00:53:23 +01:00
Michael Scire
d3d65f4800 smcGenerateSpecificAesKey, smcLoadRsaPrivateKey, smcLoadRsaOaepKey 2018-02-20 13:25:57 -08:00
Michael Scire
3d80b4edbc smcDecryptRsaPrivateKey 2018-02-20 12:56:41 -08:00
Michael Scire
77c93221e9 Implement Nintendo's non-standard AES-GCM. 2018-02-20 09:39:50 -08:00
Michael Scire
cec055a44b smcGetRandomFor{User,Priv} Implementations. 2018-02-20 03:19:35 -08:00
Michael Scire
34667a65f9 Implement titlekey unwrapping. 2018-02-20 01:49:10 -08:00
Michael Scire
4030c6eb20 smcGenerateAesKek + Key sealing. 2018-02-20 01:02:01 -08:00
Michael Scire
07f9e9500e Implement masterkey logic, KEYSLOT defines. 2018-02-19 23:41:27 -08:00
Michael Scire
61f8886879 Implement titlekey SMCs (with skeleton tkey API) 2018-02-19 21:47:11 -08:00
Michael Scire
59281c5a97 Implement smcRsaOaep 2018-02-19 21:09:53 -08:00
Michael Scire
f1c521a5d6 Implement smcExpMod. 2018-02-19 20:56:12 -08:00
Michael Scire
9b54bc536b Add missing userToSecure args in smcComputeCmac 2018-02-19 20:31:04 -08:00
Michael Scire
0340085c67 smcComputeCmac implementation. 2018-02-19 20:28:37 -08:00
Michael Scire
d0beae376f SMCCryptAes + Skeleton blocking AES API 2018-02-19 13:27:18 -08:00
TuxSH
f629a629d1 Change argument types in se.c/h, implement read32le/be, etc. 2018-02-19 00:02:37 +01:00
Michael Scire
5c24f58402 Example SMC implementation (load_aes_key) 2018-02-17 16:34:31 -08:00