Changes

522 bytes added ,  05:28, 2 January 2016
no edit summary
Line 126: Line 126:  
| IOSC_Decrypt() / IOSC_DecryptAsync()
 
| IOSC_Decrypt() / IOSC_DecryptAsync()
 
| IOS_Ioctlv(FD, 0x0E, 3, 1, vector); / IOS_IoctlvAsync(FD, 0x0E, 3, 1, vector, queueid, message);
 
| IOS_Ioctlv(FD, 0x0E, 3, 1, vector); / IOS_IoctlvAsync(FD, 0x0E, 3, 1, vector, queueid, message);
| Key ID:</br>13: C2W</br>27: SSL RSA Key
+
|  
 
| This function has 2 different implementations, one async and the other not.
 
| This function has 2 different implementations, one async and the other not.
 
|-
 
|-
Line 255: Line 255:  
|  
 
|  
 
|-
 
|-
 +
|}
 +
 +
==Key object handles==
 +
The above crypto commands use key/crypto object handles. These handles can be either from IOSC_CreateObject(which can then be initialized with import_secret_key in the case of AES), or a built-in handle. The available built-in handles/keyids are listed below.
 +
 +
{| class="wikitable sortable"
 +
! ID
 +
! Type
 +
! Description
 +
|-
 +
| 13
 +
| AES
 +
| ARM [[Ancast_Image|Ancast Image]](this and the below one are for all ARM-ancast images launched via IOS-MCP).
 +
|-
 +
| 14
 +
| RSA-2048 modulus
 +
| ARM [[Ancast_Image|Ancast Image]]
 +
|-
 +
| 27
 +
| RSA
 +
| SSL RSA Key
 
|}
 
|}
340

edits