Editing Virtual TRM Manager
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== 0x2000 - Virtual TRM Manager == | == 0x2000 - Virtual TRM Manager == | ||
{| class="wikitable FCK__ShowTableBorders" | {| class="wikitable FCK__ShowTableBorders" | ||
Line 8: | Line 5: | ||
! Packet ID | ! Packet ID | ||
! Description | ! Description | ||
! Lv2Syscall Parameter | ! Lv2Syscall Parameter | ||
! notes | ! notes | ||
Line 14: | Line 10: | ||
| 0x2001 | | 0x2001 | ||
| Init | | Init | ||
| 0,0,0,0 | |||
| | | | ||
|- | |- | ||
| 0x2002 | | 0x2002 | ||
| Status | | Status | ||
| | | , , ,0 | ||
| | | | ||
|- | |- | ||
| 0x2003 | | 0x2003 | ||
| Store with TRM Update | | Store with TRM Update | ||
| data[0x40],0,0,0 | |||
| | | | ||
|- | |- | ||
| 0x2004 | | 0x2004 | ||
| Store | | Store | ||
| data[size],size,0,0 | |||
| data[ | |||
| | | | ||
|- | |- | ||
| 0x2005 | | 0x2005 | ||
| Retrieve | | Retrieve | ||
| data[size],size,0,0 | |||
| data[ | |||
| | | | ||
|- | |- | ||
| 0x2006 | | 0x2006 | ||
| Free | | Free | ||
| | | ,0,0,0 | ||
| | | | ||
|- | |- | ||
| 0x2007 | | 0x2007 | ||
| not implemented | | not implemented | ||
| | | | ||
| | | | ||
Line 56: | Line 45: | ||
| 0x2008 | | 0x2008 | ||
| not implemented | | not implemented | ||
| | | | ||
| | | | ||
Line 62: | Line 50: | ||
| 0x2009 | | 0x2009 | ||
| not implemented | | not implemented | ||
| | | | ||
| | | | ||
Line 68: | Line 55: | ||
| 0x200A | | 0x200A | ||
| Encrypt | | Encrypt | ||
| , , ,0 | | , , ,0 | ||
| | | | ||
Line 74: | Line 60: | ||
| 0x200B | | 0x200B | ||
| Decrypt | | Decrypt | ||
| , , ,0 | | , , ,0 | ||
| | | | ||
Line 80: | Line 65: | ||
| 0x200C | | 0x200C | ||
| Encrypt With Portability | | Encrypt With Portability | ||
| , , ,0 | | , , ,0 | ||
| | | | ||
Line 86: | Line 70: | ||
| 0x200D | | 0x200D | ||
| Decrypt With Portability | | Decrypt With Portability | ||
| , , ,0 | | , , ,0 | ||
| | | | ||
Line 92: | Line 75: | ||
| 0x200E | | 0x200E | ||
| Decrypt Master | | Decrypt Master | ||
| key[0x10],data[0x40] ,0,0 | | key[0x10],data[0x40] ,0,0 | ||
| | | | ||
Line 98: | Line 80: | ||
| 0x200F | | 0x200F | ||
| not implemented | | not implemented | ||
| 0,0,0,0 | | 0,0,0,0 | ||
| | | | ||
Line 104: | Line 85: | ||
| 0x2010 | | 0x2010 | ||
| not implemented | | not implemented | ||
| , , , | | , , , | ||
| | | | ||
Line 110: | Line 90: | ||
| 0x2011 | | 0x2011 | ||
| not implemented | | not implemented | ||
| , , , | | , , , | ||
| | | | ||
Line 116: | Line 95: | ||
| 0x2012 | | 0x2012 | ||
| Backup Flash | | Backup Flash | ||
| | | , , , | ||
| Requires Product Mode EEPROM-Flag set | | Requires Product Mode EEPROM-Flag set | ||
|- | |- | ||
| 0x2013 | | 0x2013 | ||
| Restore Flash | | Restore Flash | ||
| | | , , , | ||
| Requires Product Mode EEPROM-Flag set | | Requires Product Mode EEPROM-Flag set | ||
|- | |- | ||
| 0x2014 | | 0x2014 | ||
| Backup SRK SRH | | Backup SRK SRH | ||
| | | , ,0,0 | ||
| Requires Product Mode EEPROM-Flag set | | Requires Product Mode EEPROM-Flag set | ||
|- | |- | ||
| 0x2015 | | 0x2015 | ||
| Restore SRK SRH | | Restore SRK SRH | ||
| | | , ,0,0 | ||
| Requires Product Mode EEPROM-Flag set | | Requires Product Mode EEPROM-Flag set | ||
|- | |- | ||
| 0x2016 | | 0x2016 | ||
| Flash Address Size | | Flash Address Size | ||
| | | , ,0,0 | ||
| Requires Product Mode EEPROM-Flag set | | Requires Product Mode EEPROM-Flag set | ||
|- | |- | ||
| 0x2017 | | 0x2017 | ||
| Force Restart | | Force Restart | ||
| 0,0,0,0 | | 0,0,0,0 | ||
| Requires Product Mode EEPROM-Flag set | | Requires Product Mode EEPROM-Flag set | ||
Line 155: | Line 128: | ||
*This service is e.g. used in Process 6 by '''USB Dongle Authenticator''' to decrypt '''USB Dongle Master Key''' | *This service is e.g. used in Process 6 by '''USB Dongle Authenticator''' to decrypt '''USB Dongle Master Key''' | ||
*GameOS uses this service e.g. in syscall '''SYS_SS_AD_SIGN''' | *GameOS uses this service e.g. in syscall '''SYS_SS_AD_SIGN''' | ||
*'''syscall 862''' uses Virtual TRM Manager services. | |||
*Also used in '''VSH''' to decrypt '''PSN passphrase''' | *Also used in '''VSH''' to decrypt '''PSN passphrase''' | ||
{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude> | {{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude> |