-
44a2b7a344
smc_user: Add missing gcm.h include (#47)
Mat M
2018-02-23 19:09:55 -05:00
-
e3897bb731
se: Add missing string.h include (#46)
Mat M
2018-02-23 19:09:44 -05:00
-
34d8a859ab
timers: Fix identifier name in wait's spin-lock (#45)
Mat M
2018-02-23 19:09:34 -05:00
-
dbf2eb7ed1
Clean up BPMPFW I2C prototypes.
Michael Scire
2018-02-23 12:07:02 -08:00
-
0a0a1b088d
Merge pull request #43 from lioncash/prototype
TuxSH
2018-02-23 19:18:46 +01:00
-
-
b3f8908ece
Merge pull request #44 from lioncash/mmu
TuxSH
2018-02-23 19:18:06 +01:00
-
-
b4229f0fa8
mmu: Remove phys_addr parameter from mmu_unmap_range
Lioncash
2018-02-23 09:25:11 -05:00
-
-
296b43744c
i2c: Fix -Wmissing-prototypes warnings
Lioncash
2018-02-23 09:19:32 -05:00
-
8e4a5bf32b
Merge pull request #17 from lioncash/include
TuxSH
2018-02-23 14:51:27 +01:00
-
-
dd3498a356
Merge pull request #27 from lioncash/param
TuxSH
2018-02-23 14:50:54 +01:00
-
-
-
-
9dfa6e2732
start.cold/warm: Correct MSR instructions (#42)
Mat M
2018-02-23 08:46:06 -05:00
-
7b1fa3a8f0
start.cold/warm.s: Correct DSB instruction instances (#41)
Mat M
2018-02-23 08:42:55 -05:00
-
85df3dcb7e
mc: fix invalid range comparison (#37)
Merry
2018-02-23 13:42:47 +00:00
-
615216edeb
smc_api: Fix compilation issues (#40)
Mat M
2018-02-23 08:41:26 -05:00
-
e29123cac3
randomcache: Typo in randomcache_refill (#38)
Merry
2018-02-23 13:40:47 +00:00
-
0ec1ceca1f
sealedkeys: Fix compilation issues (#39)
Mat M
2018-02-23 08:40:38 -05:00
-
91d1b047c4
Fix bpmpfw/Makefile, other changes.
TuxSH
2018-02-23 13:56:23 +01:00
-
705802d749
mmu: Fix call to non-existent mmu_unmap_page_range function in mmio_unmap_all_devices
Lioncash
2018-02-23 07:32:23 -05:00
-
d2f12c5900
mmu: Remove extraneous argument to mmu_unmap in mmu_unmap_range
Lioncash
2018-02-22 21:23:48 -05:00
-
90f792b1cc
Remove Makefile copy/paste leftovers for bpmpfw
Michael Scire
2018-02-23 04:15:14 -08:00
-
5370c7b150
Implement LP0-Entry BPMP Firmware
Michael Scire
2018-02-23 04:13:18 -08:00
-
f7598cb433
Implement smcConfigureCarveout
Michael Scire
2018-02-23 01:12:38 -08:00
-
b2dc858738
Implement smcReadWriteRegister
Michael Scire
2018-02-23 00:20:36 -08:00
-
765ae2c06a
se: Fix compilation issues (#36)
Mat M
2018-02-23 02:12:44 -05:00
-
3596032869
package2: Silence a -Wcomment warning (#35)
Mat M
2018-02-23 02:11:51 -05:00
-
7ab0acf656
package2: Correct -> to . in load_package2 (#34)
Mat M
2018-02-23 02:11:15 -05:00
-
06c8b7a764
package2: Fix buffer variable name in rsa2048_pss_verify (#32)
Mat M
2018-02-22 23:40:41 -05:00
-
4131a61d00
package2: Use assignment instead of memcpy in decrypt_and_validate_header (#33)
Mat M
2018-02-22 23:31:13 -05:00
-
7d777a0e59
package2: Fix loop index in decrypt_and_validate_header (#31)
Mat M
2018-02-22 23:18:18 -05:00
-
83216409d2
all: Use bool where applicable (#30)
Mat M
2018-02-22 22:58:39 -05:00
-
1d8f443f68
gcm: Convert source data to a uint8_t pointer before subscripting it (#29)
Mat M
2018-02-22 21:44:27 -05:00
-
3020faf8a2
mmu: Pass missing tbl argument to mmu_map_page in mmu_map_page_range (#28)
Mat M
2018-02-22 21:28:30 -05:00
-
-
6fb3c77764
Add missing string.h includes
Lioncash
2018-02-22 18:32:47 -05:00
-
a798df5a2c
cpu_context: Add missing include (#25)
Mat M
2018-02-22 21:08:57 -05:00
-
c6158d7d64
mmu: Fix loop index variable name in mmio_get_device_address (#24)
Mat M
2018-02-22 21:05:43 -05:00
-
0597fe887a
package2: Correct variable name for new device key source (#19)
Mat M
2018-02-22 21:03:22 -05:00
-
a6c91ffe4e
se: fix infinite loop in shift_left_xor_rb (#21)
Merry
2018-02-23 02:03:05 +00:00
-
220e574ff7
mmu: Correct TCR_ORGN_WBWA typo
Merry
2018-02-23 02:02:45 +00:00
-
a007e98e17
Fix SE access typo
Michael Scire
2018-02-22 17:58:48 -08:00
-
d1d8d3da34
Switch all MMIO to the new access style
Michael Scire
2018-02-22 17:50:19 -08:00
-
5d97ac48f2
userpage: fix declarations (#20)
Merry
2018-02-23 01:20:03 +00:00
-
25a5eacb96
masterkey: Add missing semicolon to mkey_vectors (#18)
Mat M
2018-02-22 20:18:28 -05:00
-
215ae12b50
Access NX_BOOTLOADER_MAILBOXEN via mmu defs
Michael Scire
2018-02-22 17:08:54 -08:00
-
72da8dcf5a
Finish SE API operations other than context-saving.
Michael Scire
2018-02-22 17:05:22 -08:00
-
5e1c137e26
Add mmio handling to mmu.h
TuxSH
2018-02-23 01:45:26 +01:00
-
0ef8f1db2e
Implement SE secure AES API.
Michael Scire
2018-02-22 16:17:12 -08:00
-
-
ead0e2ba86
Implement RSA2048-PSS validation.
Michael Scire
2018-02-22 15:19:29 -08:00
-
32238984bf
smc_user: Fix syntax (#16)
Mat M
2018-02-22 17:18:34 -05:00
-
c032bd812c
Merge pull request #15 from MerryMage/uart
SciresM
2018-02-22 14:18:09 -08:00
-
-
a290932034
uart: transmit string and hex
MerryMage
2018-02-22 19:27:22 +00:00
-
71b76c153d
Add uart
MerryMage
2018-02-22 19:27:01 +00:00
-
-
b00df2032d
Clarify package2 relocation comment
Michael Scire
2018-02-21 13:48:36 -08:00
-
d0e28890b0
Finish actual Package2 loading code.
Michael Scire
2018-02-21 13:38:55 -08:00
-
896d167b64
Add more WIP Package2 loading code.
Michael Scire
2018-02-21 11:52:39 -08:00
-
904ed3ad4e
Fix mangled register name.
Michael Scire
2018-02-21 10:58:50 -08:00
-
f0d0ec0dca
Push WIP NX_BOOTLOADER sync code (for coldboots)
Michael Scire
2018-02-21 10:57:51 -08:00
-
330f8a0f8b
Fix SMC names.
Michael Scire
2018-02-20 18:47:58 -08:00
-
663c446439
Mention that Nintendo copy-pasted some startup code from arm-trusted-firmware
TuxSH
2018-02-21 00:53:23 +01:00
-
5681622f65
Add mmu table builder functions (mmu.h)
TuxSH
2018-02-20 23:44:10 +01:00
-
9baab1aebc
Clarify PASLR commentary
Michael Scire
2018-02-20 13:51:17 -08:00
-
d3d65f4800
smcGenerateSpecificAesKey, smcLoadRsaPrivateKey, smcLoadRsaOaepKey
Michael Scire
2018-02-20 13:25:57 -08:00
-
3d80b4edbc
smcDecryptRsaPrivateKey
Michael Scire
2018-02-20 12:56:41 -08:00
-
81b874cc14
Fix minor build issues in gcm.c, etc.
TuxSH
2018-02-20 19:29:44 +01:00
-
25e6317272
Fix GHASH comment.
Michael Scire
2018-02-20 09:41:16 -08:00
-
77c93221e9
Implement Nintendo's non-standard AES-GCM.
Michael Scire
2018-02-20 09:39:50 -08:00
-
cec055a44b
smcGetRandomFor{User,Priv} Implementations.
Michael Scire
2018-02-20 03:19:35 -08:00
-
34667a65f9
Implement titlekey unwrapping.
Michael Scire
2018-02-20 01:49:10 -08:00
-
cbdd130917
Fix Seal Key sources.
Michael Scire
2018-02-20 01:03:53 -08:00
-
4030c6eb20
smcGenerateAesKek + Key sealing.
Michael Scire
2018-02-20 01:02:01 -08:00
-
07f9e9500e
Implement masterkey logic, KEYSLOT defines.
Michael Scire
2018-02-19 23:41:27 -08:00
-
61f8886879
Implement titlekey SMCs (with skeleton tkey API)
Michael Scire
2018-02-19 21:47:11 -08:00
-
59281c5a97
Implement smcRsaOaep
Michael Scire
2018-02-19 21:09:53 -08:00
-
f1c521a5d6
Implement smcExpMod.
Michael Scire
2018-02-19 20:56:12 -08:00
-
9b54bc536b
Add missing userToSecure args in smcComputeCmac
Michael Scire
2018-02-19 20:31:04 -08:00
-
0340085c67
smcComputeCmac implementation.
Michael Scire
2018-02-19 20:28:37 -08:00
-
ff07451280
Outline user<->secure page copying.
Michael Scire
2018-02-19 20:18:53 -08:00
-
a01d2c92b2
Add the crt0s
TuxSH
2018-02-20 01:27:15 +01:00
-
d0beae376f
SMCCryptAes + Skeleton blocking AES API
Michael Scire
2018-02-19 13:26:37 -08:00
-
21c2405f15
Async SE AES API
Michael Scire
2018-02-19 13:00:12 -08:00
-
83fd2c43a3
Flesh out more of the SE driver
Michael Scire
2018-02-19 01:27:50 -08:00
-
f77cae48d0
Skeleton for smcGetConfig and smcSetConfig
Michael Scire
2018-02-19 00:41:19 -08:00
-
f629a629d1
Change argument types in se.c/h, implement read32le/be, etc.
TuxSH
2018-02-19 00:02:37 +01:00
-
9c588d4965
ic iallu doesn't broadcast at all, replace the "icache invalidate all" function
TuxSH
2018-02-18 23:45:44 +01:00
-
0cc2cf0dc0
Add cache+tlb functions
TuxSH
2018-02-18 23:11:11 +01:00
-
a800c3c2e7
Add some more MMIO, smcCpuOn
Michael Scire
2018-02-17 18:50:39 -08:00
-
5c24f58402
Example SMC implementation (load_aes_key)
Michael Scire
2018-02-17 16:34:31 -08:00
-
49e1e6f41e
Add wrapper for async SMCs
Michael Scire
2018-02-17 16:00:53 -08:00
-
8ea1ac0ecc
Basic API for SMC handlers.
Michael Scire
2018-02-17 15:48:34 -08:00
-
049553aa91
Merge pull request #14 from Thog/exosphère-fix-french
SciresM
2018-02-17 14:58:57 -08:00
-
-
77ff68a69d
Flesh out the SE driver, some
Michael Scire
2018-02-17 14:54:00 -08:00
-
e9b0041ea9
Improve french for Exosphère
Thomas Guillemard
2018-02-17 11:44:31 +01:00
-
-
4b2d17a42a
Fix definition for crypt_data_into_keyslot
Michael Scire
2018-02-16 23:57:44 -08:00
-
6c5d425528
Make exosphere subdir, start outlining SE driver API.
Michael Scire
2018-02-16 23:55:08 -08:00
-
e205ed70f8
Improve french
SciresM
2018-01-20 05:46:15 -08:00
-
49610035e4
Add license and disclaimer.
SciresM
2018-01-17 23:38:55 -08:00
-
595f192916
Initial commit
SciresM
2018-01-17 23:36:33 -08:00