Difference between revisions of "SKC"

From iQueBrew
Jump to navigation Jump to search
Line 35: Line 35:
 
|-
 
|-
 
|  0xE || skcKeepAlive || void
 
|  0xE || skcKeepAlive || void
 +
|-
 +
|  0xF || GetRandomKeyData || ???
 +
|-
 +
|  0x10 || skDumpVirage || ???
 +
|-
 +
|  0x11 || skTest2 || ???
 +
|-
 +
|  0x12 || skTest3 || ???
 +
|-
 +
|  0x13 || skResetWindow || ???
 +
|-
 +
|  0x14 || skValidateRls || ???
 
|}
 
|}

Revision as of 07:31, 29 April 2018

Secure Kernel calls

All secure kernel calls return a s32 error code in $v0. 0 means success, below zero means error.

Id Name In
0x0 skcGetBBID $a0=u32* out_bbid
0x1 skcPrepareCMDAndTik ???
0x2 skcStartContent $a0=address where decrypted content has been loaded
0x3 skcVerifyRecryptSys $a0=address of recrypt.sys contents
0x4 skRecryptBegin ???
0x5 skRecryptData ???
0x6 skRecryptComputeState ???
0x7 skRecryptEnd ???
0x8 skcECCSignSHA1Hash $a0=u8* sha1hash, $a1=u8* out_signature
0x9 skcVerifySignature $a0=u8* sha1hash, $a1=u8* signature, $a2=certificate** certificate_chain, $a3=crl** crls?
0xA skGetConsumption ???
0xB skAdvanceTicketWindow ???
0xC skSetLimit ???
0xD skcReboot void
0xE skcKeepAlive void
0xF GetRandomKeyData ???
0x10 skDumpVirage ???
0x11 skTest2 ???
0x12 skTest3 ???
0x13 skResetWindow ???
0x14 skValidateRls ???