Changes

346 bytes added ,  04:56, 13 March 2018
better SMC change description
Line 48: Line 48:  
* Physical layout in TZRAM changed significantly, with pk2ldr being in low TZRAM instead of high TZRAM.
 
* Physical layout in TZRAM changed significantly, with pk2ldr being in low TZRAM instead of high TZRAM.
   −
In addition, there were changes to the SMC interface:
+
In addition, there were changes to the [[SMC]] interface:
   −
* smcLoadSecureExpModKey no longer exists.
+
* smcLoadSecureExpModKey/smcLoadRsaOaepKey/smcDecryptRsaPrivateKey no longer exist.
* smcLoadRsaOaepKey has been replaced with a new SMC (0xC300D60C) that loads two keys into TrustZone.
+
* smcLoadRsaOaepKey was replaced with smcEncryptRsaPrivateKeyForImport.
 +
* smcDecryptRsaPrivateKey was replaced with smcDecryptOrImportRsaPrivateKey.
 +
** All keys which were previously imported with specific keys now first call smcEncryptRsaPrivateKeyForImport with the appopriate enum member to get a sealed copy of the RSA key, then smcDecryptOrImportRsaPrivateKey to import/unseal the key when needed.
 
* smcGetConfig was extended with two new config items:
 
* smcGetConfig was extended with two new config items:
 
* -GetConfig(16) now does the following, which seems to check whether the Switch is running on a Tegra 210:
 
* -GetConfig(16) now does the following, which seems to check whether the Switch is running on a Tegra 210: