1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-13 23:46:40 +00:00
Commit graph

24 commits

Author SHA1 Message Date
TuxSH
a00e68e94a Write a significant chunk of coldboot init...
...merge start.cold.s and start.warm.s, other changes, etc.
2018-02-25 03:34:15 +01:00
TuxSH
cc4f6f7f84 Introduce memory_map.h 2018-02-24 17:22:55 +01:00
Michael Scire
e8b1e0b965 Implement exception vectors. 2018-02-24 07:06:29 -08:00
Mat M
615216edeb smc_api: Fix compilation issues (#40)
* smc_api: Add missing includes

MASTERKEY_REVISION_400_CURRENT, seal_titlekey, PMC_BASE and the randomcache functions  aren't visible without them

* smc_api: Add missing parameter name to smc_get_result

* smc_api: Fix buffer being passed to se_get_exp_mod_output in smc_unwrap_rsa_oaep_wrapped_titlekey_get_result

wrapped_titlekey doesn't exist

* smc_api: Correct device physical address accesses in smc_read_write_register
2018-02-23 05:41:26 -08:00
Michael Scire
f7598cb433 Implement smcConfigureCarveout 2018-02-23 01:12:38 -08:00
Michael Scire
b2dc858738 Implement smcReadWriteRegister 2018-02-23 00:20:51 -08:00
Mat M
83216409d2 all: Use bool where applicable (#30) 2018-02-22 19:58:39 -08:00
Michael Scire
330f8a0f8b Fix SMC names. 2018-02-20 18:48:09 -08: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
cec055a44b smcGetRandomFor{User,Priv} Implementations. 2018-02-20 03:19:35 -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
0340085c67 smcComputeCmac implementation. 2018-02-19 20:28:37 -08:00
Michael Scire
ff07451280 Outline user<->secure page copying. 2018-02-19 20:18:53 -08:00
Michael Scire
d0beae376f SMCCryptAes + Skeleton blocking AES API 2018-02-19 13:27:18 -08:00
Michael Scire
f77cae48d0 Skeleton for smcGetConfig and smcSetConfig 2018-02-19 00:41:19 -08:00
Michael Scire
a800c3c2e7 Add some more MMIO, smcCpuOn 2018-02-17 18:50:39 -08:00
Michael Scire
5c24f58402 Example SMC implementation (load_aes_key) 2018-02-17 16:34:31 -08:00
Michael Scire
49e1e6f41e Add wrapper for async SMCs 2018-02-17 16:00:53 -08:00
Michael Scire
8ea1ac0ecc Basic API for SMC handlers. 2018-02-17 15:48:49 -08:00