vitasdk
Documentation of the vitasdk

Exports for Kernel. More...

Functions

int ksceSblGcAuthMgrDrmBBClearCartSecret (void)
 Removes derived cart secret from memory.
 
int ksceSblGcAuthMgrDrmBBGetCartSecret (void *secret)
 Gets derived cart secret from memory.
 
int ksceSblGcAuthMgrDrmBBCheckCartHash (const void *hash)
 Checks a given value and compares to the hash derived from authentication step.
 
int ksceSblGcAuthMgrGcAuthCartAuthentication (SceUInt32 key_id)
 Runs gamecart authentication.
 

Detailed Description

Exports for Kernel.


Using this library in your project

Include the header file in your project:




Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceSblGcAuthMgrDrmBBForDriver_stub




Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceSblGcAuthMgrGcAuthForDriver_stub



Function Documentation

◆ ksceSblGcAuthMgrDrmBBClearCartSecret()

int ksceSblGcAuthMgrDrmBBClearCartSecret ( void  )

Removes derived cart secret from memory.

Returns
0 on success, < 0 on error.

◆ ksceSblGcAuthMgrDrmBBGetCartSecret()

int ksceSblGcAuthMgrDrmBBGetCartSecret ( void *  secret)

Gets derived cart secret from memory.

should be the result of sha256 of the cartridges 2 unique per-game keys

Parameters
[out]secret- Pointer to 0x20 bytes.
Returns
0 on success, < 0 on error.

◆ ksceSblGcAuthMgrDrmBBCheckCartHash()

int ksceSblGcAuthMgrDrmBBCheckCartHash ( const void *  hash)

Checks a given value and compares to the hash derived from authentication step.

Parameters
[in]hash- Pointer to 0x14 byte hash value to compare against
Returns
0 if matches, < 0 if does not match.

◆ ksceSblGcAuthMgrGcAuthCartAuthentication()

int ksceSblGcAuthMgrGcAuthCartAuthentication ( SceUInt32  key_id)

Runs gamecart authentication.

Parameters
[in]key_id- Not used for anything but must be < 0x10000.
Returns
0 on success, < 0 on error.