vitasdk
Documentation of the vitasdk

Detailed Description

Exports for Kernel.


Using this library in your project

Include the header file in your project:



Functions

 VITASDK_BUILD_ASSERT_EQ (0x200, ScePsmDrmKeySet)
 
 VITASDK_BUILD_ASSERT_EQ (0x10, ScePsmDrmExpireTime)
 
 VITASDK_BUILD_ASSERT_EQ (0x1038, SceNpDrmActivationData)
 
 VITASDK_BUILD_ASSERT_EQ (0x200, SceNpDrmLicense)
 
 VITASDK_BUILD_ASSERT_EQ (0x400, ScePsmDrmLicense)
 

Data Structure Documentation

◆ ScePsmDrmKeySet

struct ScePsmDrmKeySet
Data Fields
SceUInt8 hmac_key[0x20]
SceUInt8 key[0x10]
SceUInt8 signature[0x1D0]

◆ ScePsmDrmExpireTime

struct ScePsmDrmExpireTime
Data Fields
SceRtcTick * start_date
SceRtcTick * end_date
int pad[2]

◆ SceNpDrmActivationData

struct SceNpDrmActivationData
Data Fields
SceInt16 act_type
SceInt16 version_flag
SceInt32 version
SceUInt64 account_id
SceUInt8 primary_key_table[0x80][0x10]
SceUInt8 unk1[0x40]
SceUInt8 openpsid[0x10]
SceUInt8 unk2[0x10]
SceUInt8 unk3[0x10]
SceUInt8 secondary_key_table[0x65][0x10]
SceUInt8 rsa_signature[0x100]
SceUInt8 unk_sigmature[0x40]
SceUInt8 ecdsa_signature[0x28]

◆ SceNpDrmLicense

struct SceNpDrmLicense
Data Fields
SceInt16 version
SceInt16 version_flags
SceInt16 license_type
SceInt16 license_flags
SceUInt64 account_id
char content_id[0x30]
char key_table[0x10]
char key1[0x10]
SceRtcTick start_time
SceRtcTick expiration_time
char ecdsa_signature[0x28]
SceInt64 flags
char key2[0x10]
char unk_0xB0[0x10]
char open_psid[0x10]
char unk_0xD0[0x10]
char cmd56_handshake_part[0x14]
int debug_upgradable
int unk_0xF8
int sku_flag
char rsa_signature[0x100]

◆ ScePsmDrmLicense

struct ScePsmDrmLicense
Data Fields
char magic[0x8]
SceUInt32 unk1
SceUInt32 unk2
SceUInt64 account_id
SceUInt32 unk3
SceUInt32 unk4
SceRtcTick start_time
SceRtcTick expiration_time
SceUInt8 activation_checksum[0x20]
char content_id[0x30]
SceUInt8 unk5[0x80]
ScePsmDrmKeySet keyset
SceUInt8 rsa_signature[0x100]

Function Documentation

◆ VITASDK_BUILD_ASSERT_EQ() [1/5]

VITASDK_BUILD_ASSERT_EQ ( 0x200  ,
ScePsmDrmKeySet   
)

◆ VITASDK_BUILD_ASSERT_EQ() [2/5]

VITASDK_BUILD_ASSERT_EQ ( 0x10  ,
ScePsmDrmExpireTime   
)

◆ VITASDK_BUILD_ASSERT_EQ() [3/5]

VITASDK_BUILD_ASSERT_EQ ( 0x1038  ,
SceNpDrmActivationData   
)

◆ VITASDK_BUILD_ASSERT_EQ() [4/5]

VITASDK_BUILD_ASSERT_EQ ( 0x200  ,
SceNpDrmLicense   
)

◆ VITASDK_BUILD_ASSERT_EQ() [5/5]

VITASDK_BUILD_ASSERT_EQ ( 0x400  ,
ScePsmDrmLicense   
)