Chnnlsv Library


Detailed Description

Library imports for the vsh chnnlsv library.


Data Structures

struct  _pspChnnlsvContext1
struct  _pspChnnlsvContext2

Typedefs

typedef _pspChnnlsvContext1 pspChnnlsvContext1
typedef _pspChnnlsvContext2 pspChnnlsvContext2

Functions

int sceChnnlsv_E7833020 (pspChnnlsvContext1 *ctx, int mode)
 Initialize context.
int sceChnnlsv_F21A1FCA (pspChnnlsvContext1 *ctx, unsigned char *data, int len)
 Process data.
int sceChnnlsv_C4C494F8 (pspChnnlsvContext1 *ctx, unsigned char *hash, unsigned char *cryptkey)
 Finalize hash.
int sceChnnlsv_ABFDFC8B (pspChnnlsvContext2 *ctx, int mode1, int mode2, unsigned char *hashkey, unsigned char *cipherkey)
 Prepare a key, and set up integrity check.
int sceChnnlsv_850A7FA1 (pspChnnlsvContext2 *ctx, unsigned char *data, int len)
 Process data for integrity check.
int sceChnnlsv_21BE78B4 (pspChnnlsvContext2 *ctx)
 Check integrity.


Typedef Documentation

typedef struct _pspChnnlsvContext1 pspChnnlsvContext1

typedef struct _pspChnnlsvContext2 pspChnnlsvContext2


Function Documentation

int sceChnnlsv_21BE78B4 ( pspChnnlsvContext2 ctx  ) 

Check integrity.

Parameters:
ctx - Context
Returns:
< 0 on error

int sceChnnlsv_850A7FA1 ( pspChnnlsvContext2 ctx,
unsigned char *  data,
int  len 
)

Process data for integrity check.

Parameters:
ctx - Context
data - Data (aligned to 0x10)
len - Length (aligned to 0x10)
Returns:
< 0 on error

int sceChnnlsv_ABFDFC8B ( pspChnnlsvContext2 ctx,
int  mode1,
int  mode2,
unsigned char *  hashkey,
unsigned char *  cipherkey 
)

Prepare a key, and set up integrity check.

Parameters:
ctx - Context
mode1 - Cipher mode
mode2 - Encrypt mode (1 = encrypting, 2 = decrypting)
hashkey - Key out
cipherkey - Key in
Returns:
< 0 on error

int sceChnnlsv_C4C494F8 ( pspChnnlsvContext1 ctx,
unsigned char *  hash,
unsigned char *  cryptkey 
)

Finalize hash.

Parameters:
ctx - Context
hash - Hash output (aligned to 0x10, 0x10 bytes long)
cryptkey - Crypt key or NULL.
Returns:
< 0 on error

int sceChnnlsv_E7833020 ( pspChnnlsvContext1 ctx,
int  mode 
)

Initialize context.

Parameters:
ctx - Context
mode - Cipher mode
Returns:
< 0 on error

int sceChnnlsv_F21A1FCA ( pspChnnlsvContext1 ctx,
unsigned char *  data,
int  len 
)

Process data.

Parameters:
ctx - Context
data - Data (aligned to 0x10)
len - Length (aligned to 0x10)
Returns:
< 0 on error


Generated on Tue Jul 24 15:21:27 2007 for PSPSDK-Rev2272 by  doxygen 1.5.2