Michael Scire
3fcad4bc65
exo: fix SE driver coherency bug ( closes #384 )
2019-03-14 13:07:54 -07:00
hexkyz
39d812f434
fusee: Move nxboot hand-off to IRAM.
...
fusee/exosphere: Minor cleanup.
2018-09-15 21:08:58 +01:00
hexkyz
28e4d4411d
Add and fix copyright notices for better GPL compliance (thanks @naehrwert and @CTCaer).
2018-09-07 16:00:13 +01:00
TuxSH
561fa90669
Use uintX_t for the SE & copy bugfixed SE struct definition
2018-05-21 19:05:00 +02:00
Michael Scire
366cc5e189
Exosphere: Fix extremely spooky Security Engine bugs, now makes it to the end of package2loader.
2018-05-21 04:30:53 -06:00
Michael Scire
1ffa239b5a
Fix async expMod output + smcUnwrapAesWrappedTitlekey
2018-03-08 19:48:35 -08:00
Michael Scire
8e5228866c
Fix smcComputeCmac, generally improve userpage cache usage
2018-03-08 04:59:00 -08:00
Michael Scire
ec8f27f1be
Fix AES ECB encryption not encrypting
2018-03-08 03:16:50 -08:00
TuxSH
b35c418558
memcpy(x, NULL, 0) is undefined behavior
2018-03-08 11:17:46 +01:00
TuxSH
a6c7a2c57e
Refactor 32-bit register definitions
2018-03-03 20:23:13 +01:00
Michael Scire
e7e62ef90b
Implement half of bootup_misc_mmio()
2018-03-02 12:16:30 -08:00
Michael Scire
205d3b8b80
Fix PK2LDR bugs, Fix SE bugs
2018-03-01 03:25:12 -08:00
Michael Scire
b67ce08f84
Fix Modulus Exponentiation in SE driver
2018-03-01 02:00:39 -08:00
Michael Scire
c5b0639b8a
Implement BootConfig.
2018-02-27 20:28:34 -08:00
Michael Scire
694872b4cc
Fix decrypt_data_into_keyslot
2018-02-27 19:59:51 -08:00
Michael Scire
0508ee29d8
Clean up SE TODOs, implement GIC nonsecure init
2018-02-27 19:58:56 -08:00
Michael Scire
fba3d1c2d9
Finish implementing Security Engine context save
2018-02-27 19:05:45 -08:00
Michael Scire
a8a2f8c3f6
Implement more SE context save functionality
2018-02-27 17:40:59 -08:00
Michael Scire
924d469344
Implement the rest of smcCpuSuspend with skeleton SE API calls.
2018-02-27 17:07:30 -08:00
TuxSH
602507ee8f
Rename cache.s/.h to arm.s/.h
2018-02-27 22:29:47 +01:00
TuxSH
c7d83c6eb6
Rewrite the memory map-related code...
...
...other style fixes, etc.
2018-02-26 22:09:35 +01:00
Mat M
1de6b336bb
all: Make file-scope variables internally linked where applicable ( #57 )
...
Narrows the scope of visible symbols to where they're actually used. Also
makes it easier to see true globals in source files
(ones used from multiple translation units)
2018-02-26 00:42:21 -08:00
Mat M
991d4f1355
se: Remove memset in se_perform_aes_block_operation ( #53 )
...
We can just initialize the array to be zeroed out. This is safer and less error-prone,
since the initializer is now associated with the variable directly, making it
impossible to put code relying on the zeroed out state before it (unlike with memset).
2018-02-25 21:12:49 -08:00
TuxSH
b0ea9c1a0b
Move source files to src/, add Makefile, fix all build and linkage errors, etc.
2018-02-25 20:00:50 +01:00