SceSblAuthMgr: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
Line 29: Line 29:
== SceSblAuthMgrForKernel ==
== SceSblAuthMgrForKernel ==


=== sceSblAuthMgrSetDmac5Key ===
=== sceSblAuthMgrShutDownLoadedSelf ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 35: Line 35:
! NID
! NID
|-
|-
| 1.05 || 0x122acdea
| 3.60 || 0x026ACBAD
|}
 
executes special [[F00D_Commands#Request_Buffer|F00D command -1]]
 
=== sceSblAuthMgrParseSelfHeader ===
{| class="wikitable"
|-
|-
| 3.60 || 0x122acdea
! Version
! NID
|-
|-
| 3.60 || 0xF3411881
|}
|}


Issues F00D command [[F00D_Commands#0x50001_sceSblAuthMgrSetDmac5Key|0x50001]]
Issues F00D command [[F00D_Commands#0x10001|0x10001]]


<source lang="C">int sceSblAuthMgrSetDmac5Key(int unk0, int unk1, int unk2, int unk3);</source>
=== sceSblAuthMgrSetProgramSegment ===
 
=== sceSblAuthMgrClearDmac5Key ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 51: Line 57:
! NID
! NID
|-
|-
| 1.05 || 0xf2bb723e
| 3.60 || 0x89CCDA2C
|-
| 3.60 || 0xf2bb723e
|-
|}
|}


Issues F00D command [[F00D_Commands#0x60001_sceSblAuthMgrClearDmac5Key|0x60001]]
Issues F00D command [[F00D_Commands#0x20001|0x20001]]


<source lang="C">int sceSblAuthMgrClearDmac5Key(int unk0, int unk1);</source>
=== sceSblAuthMgrDecryptProgramSegment ===
 
=== sceSblAuthMgrDecBindData ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 67: Line 68:
! NID
! NID
|-
|-
| 1.05 || 0x41daea12
| 3.60 || 0xBC422443
|-
| 3.60 || 0x41daea12
|-
|}
|}


Issues F00D command [[F00D_Commands#0x70001_sceSblAuthMgrDecBindData|0x70001]]
Issues F00D command [[F00D_Commands#0x30001|0x30001]]
 
<source lang="C">
//request should contain pair of keys and rif data
 
int sceSblAuthMgrDecBindData(char* klicensee, int klicensee_len, char* request, int request_len, int zero);
</source>


=== sceSblAuthMgrGetEKc ===
=== sceSblAuthMgrGetEKc ===
Line 96: Line 88:
<source lang="C">int sceSblAuthMgrGetEKc(void* data, int size, int key_id);</source>
<source lang="C">int sceSblAuthMgrGetEKc(void* data, int size, int key_id);</source>


=== sceSblAuthMgrVerifySpfsoCtx ===
=== sceSblAuthMgrSetDmac5Key ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 102: Line 94:
! NID
! NID
|-
|-
| 3.60 || 0x24C4CE64
| 1.05 || 0x122acdea
|-
| 3.60 || 0x122acdea
|-
|}
|}


Used by [[SceSblPostSsMgr#sceSblPostSsMgrVerifySpfsoCtxForDriver|sceSblPostSsMgrVerifySpfsoCtxForDriver]]
Issues F00D command [[F00D_Commands#0x50001_sceSblAuthMgrSetDmac5Key|0x50001]]


Issues F00D command [[F00D_Commands#0x80001|0x80001]]
<source lang="C">int sceSblAuthMgrSetDmac5Key(int unk0, int unk1, int unk2, int unk3);</source>


<source lang="C">int sceSblAuthMgrVerifySpfsoCtx(spsfo_ctx *ctx);</source>
=== sceSblAuthMgrClearDmac5Key ===
 
=== sceSblAuthMgrShutDownLoadedSelf ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 117: Line 110:
! NID
! NID
|-
|-
| 3.60 || 0x026ACBAD
| 1.05 || 0xf2bb723e
|-
| 3.60 || 0xf2bb723e
|-
|}
|}


executes special [[F00D_Commands#Request_Buffer|F00D command -1]]
Issues F00D command [[F00D_Commands#0x60001_sceSblAuthMgrClearDmac5Key|0x60001]]
 
<source lang="C">int sceSblAuthMgrClearDmac5Key(int unk0, int unk1);</source>


=== sceSblAuthMgrParseSelfHeader ===
=== sceSblAuthMgrDecBindData ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 128: Line 126:
! NID
! NID
|-
|-
| 3.60 || 0xF3411881
| 1.05 || 0x41daea12
|-
| 3.60 || 0x41daea12
|-
|}
|}


Issues F00D command [[F00D_Commands#0x10001|0x10001]]
Issues F00D command [[F00D_Commands#0x70001_sceSblAuthMgrDecBindData|0x70001]]
 
<source lang="C">
//request should contain pair of keys and rif data
 
int sceSblAuthMgrDecBindData(char* klicensee, int klicensee_len, char* request, int request_len, int zero);
</source>


=== sceSblAuthMgrSetProgramSegment ===
=== sceSblAuthMgrVerifySpfsoCtx ===
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 139: Line 146:
! NID
! NID
|-
|-
| 3.60 || 0x89CCDA2C
| 3.60 || 0x24C4CE64
|}
|}


Issues F00D command [[F00D_Commands#0x20001|0x20001]]
Used by [[SceSblPostSsMgr#sceSblPostSsMgrVerifySpfsoCtxForDriver|sceSblPostSsMgrVerifySpfsoCtxForDriver]]


=== sceSblAuthMgrDecryptProgramSegment ===
Issues F00D command [[F00D_Commands#0x80001|0x80001]]
{| class="wikitable"
|-
! Version
! NID
|-
| 3.60 || 0xBC422443
|}


Issues F00D command [[F00D_Commands#0x30001|0x30001]]
<source lang="C">int sceSblAuthMgrVerifySpfsoCtx(spsfo_ctx *ctx);</source>


== SceSblAuthMgrForDriver ==
== SceSblAuthMgrForDriver ==

Revision as of 00:04, 20 September 2017

Module

Known NIDs

Version Name World Privilege NID
1.69 SceSblAuthMgr Non-secure Kernel 0xEA5DFC93

Libraries

Known NIDs

Version Name World Visibility NID
1.69 SceSblAuthMgrForKernel Non-secure Kernel 0x7ABF5135
3.60 SceSblAuthMgrForKernel Non-secure Kernel 0x7ABF5135
1.69 SceSblAuthMgrForDriver Non-secure Kernel 0x4EB2B1BB
3.60 SceSblAuthMgrForDriver Non-secure Kernel 0x4EB2B1BB

SceSblAuthMgrForKernel

sceSblAuthMgrShutDownLoadedSelf

Version NID
3.60 0x026ACBAD

executes special F00D command -1

sceSblAuthMgrParseSelfHeader

Version NID
3.60 0xF3411881

Issues F00D command 0x10001

sceSblAuthMgrSetProgramSegment

Version NID
3.60 0x89CCDA2C

Issues F00D command 0x20001

sceSblAuthMgrDecryptProgramSegment

Version NID
3.60 0xBC422443

Issues F00D command 0x30001

sceSblAuthMgrGetEKc

Version NID
1.05 0x868b9e9a
3.60 0x868b9e9a

Issues F00D command 0x40001

int sceSblAuthMgrGetEKc(void* data, int size, int key_id);

sceSblAuthMgrSetDmac5Key

Version NID
1.05 0x122acdea
3.60 0x122acdea

Issues F00D command 0x50001

int sceSblAuthMgrSetDmac5Key(int unk0, int unk1, int unk2, int unk3);

sceSblAuthMgrClearDmac5Key

Version NID
1.05 0xf2bb723e
3.60 0xf2bb723e

Issues F00D command 0x60001

int sceSblAuthMgrClearDmac5Key(int unk0, int unk1);

sceSblAuthMgrDecBindData

Version NID
1.05 0x41daea12
3.60 0x41daea12

Issues F00D command 0x70001

//request should contain pair of keys and rif data

int sceSblAuthMgrDecBindData(char* klicensee, int klicensee_len, char* request, int request_len, int zero);

sceSblAuthMgrVerifySpfsoCtx

Version NID
3.60 0x24C4CE64

Used by sceSblPostSsMgrVerifySpfsoCtxForDriver

Issues F00D command 0x80001

int sceSblAuthMgrVerifySpfsoCtx(spsfo_ctx *ctx);

SceSblAuthMgrForDriver