vitasdk
Documentation of the vitasdk

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:

#include <psp2/dmac5.h>


Link the library to the executable:

SceSblSsMgr_stub



Functions

 VITASDK_BUILD_ASSERT_EQ (0x18, SceSblDmac5EncDecParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x28, SceSblDmac5HashTransformContext)
 
 VITASDK_BUILD_ASSERT_EQ (0x18, SceSblDmac5HashTransformParam)
 
int sceSblDmac5EncDec (SceSblDmac5EncDecParam *param, SceUInt32 command)
 Execute DMAC5 encdec command. More...
 
int sceSblDmac5HashTransform (SceSblDmac5HashTransformParam *param, SceUInt32 command, SceUInt32 extra)
 Execute DMAC5 hash transform command. More...
 

Data Structure Documentation

◆ SceSblDmac5EncDecParam

struct SceSblDmac5EncDecParam
Data Fields
const void * src
void * dst
SceSize length
const void * key
SceSize keysize
void * iv

◆ SceSblDmac5HashTransformContext

struct SceSblDmac5HashTransformContext
Data Fields
SceUInt32 state[8]
SceUInt64 length

◆ SceSblDmac5HashTransformParam

struct SceSblDmac5HashTransformParam
Data Fields
const void * src
void * dst
SceSize length
const void * key
SceSize keysize
void * ctx

Function Documentation

◆ VITASDK_BUILD_ASSERT_EQ() [1/3]

VITASDK_BUILD_ASSERT_EQ ( 0x18  ,
SceSblDmac5EncDecParam   
)

◆ VITASDK_BUILD_ASSERT_EQ() [2/3]

VITASDK_BUILD_ASSERT_EQ ( 0x28  ,
SceSblDmac5HashTransformContext   
)

◆ VITASDK_BUILD_ASSERT_EQ() [3/3]

VITASDK_BUILD_ASSERT_EQ ( 0x18  ,
SceSblDmac5HashTransformParam   
)

◆ sceSblDmac5EncDec()

int sceSblDmac5EncDec ( SceSblDmac5EncDecParam param,
SceUInt32  command 
)

Execute DMAC5 encdec command.

Parameters
[in,out]param- The encdec param.
[in]command- The DMAC5 encdec command.
Returns
0 on success, else < 0.

◆ sceSblDmac5HashTransform()

int sceSblDmac5HashTransform ( SceSblDmac5HashTransformParam param,
SceUInt32  command,
SceUInt32  extra 
)

Execute DMAC5 hash transform command.

Parameters
[in,out]param- The encdec param.
[in]command- The DMAC5 hash base command.
[in]extra- The DMAC5 extra command.
Returns
0 on success, else < 0.