Virtual TRM Manager: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 116: Line 116:
| Backup Flash
| Backup Flash
|
|
| pos?,size,buffer[size],uint64_t*
| pos,size (<=0x8000),buffer[size],uint64_t*
| Requires Product Mode EEPROM-Flag set
| Requires Product Mode EEPROM-Flag set
|-
|-
Line 122: Line 122:
| Restore Flash
| Restore Flash
|
|
| pos?,size,buffer[size],uint64_t*
| pos,size (<=0x8000),buffer[size],uint64_t*
| Requires Product Mode EEPROM-Flag set
| Requires Product Mode EEPROM-Flag set
|-
|-

Revision as of 00:26, 14 July 2014

0x2000 - Virtual TRM Manager

note: inside ss_server1.fself
Packet ID Description Lv1 Parameter Usage Lv2Syscall Parameter notes
0x2001 Init 0,0,0,0
0x2002 Status int*,int*,int*,0
0x2003 Store with TRM Update data[0x40],0,0,0
0x2004 Store data[size],size,0,0
0x2005 Retrieve data[size],size,0,0
0x2006 Free ,0,0,0
0x2007 not implemented
0x2008 not implemented
0x2009 not implemented
0x200A Encrypt , , ,0
0x200B Decrypt , , ,0
0x200C Encrypt With Portability , , ,0
0x200D Decrypt With Portability , , ,0
0x200E Decrypt Master key[0x10],data[0x40] ,0,0
0x200F not implemented 0,0,0,0
0x2010 not implemented , , ,
0x2011 not implemented , , ,
0x2012 Backup Flash pos,size (<=0x8000),buffer[size],uint64_t* Requires Product Mode EEPROM-Flag set
0x2013 Restore Flash pos,size (<=0x8000),buffer[size],uint64_t* Requires Product Mode EEPROM-Flag set
0x2014 Backup SRK SRH 0x80,uint8[0x80] ,0,0 Requires Product Mode EEPROM-Flag set
0x2015 Restore SRK SRH 0x80,uin8[0x80],0,0 Requires Product Mode EEPROM-Flag set
0x2016 Flash Address Size uint64_t* ,uint64_t* ,0,0 Requires Product Mode EEPROM-Flag set
0x2017 Force Restart 0,0,0,0 Requires Product Mode EEPROM-Flag set

0x200E - Decrypt Master

  • 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
  • syscall 862 uses Virtual TRM Manager services.
  • Also used in VSH to decrypt PSN passphrase