pspchnnlsv.h

Go to the documentation of this file.
00001 /*
00002  * PSP Software Development Kit - http://www.pspdev.org
00003  * -----------------------------------------------------------------------
00004  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
00005  *
00006  *  pspchnnlsv.h - Include for the pspChnnlsv library.
00007  *
00008  * Copyright (c) 2005 Jim Paris <jim@jtan.com>
00009  * Copyright (c) 2005 psp123
00010  *
00011  * $Id: pspchnnlsv.h 1559 2005-12-10 01:10:11Z jim $
00012  */
00013 #ifndef __PSPCHNNLSV_H__
00014 #define __PSPCHNNLSV_H__
00015 
00016 /* The descriptions are mostly speculation. */
00017 
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif
00025 
00026 #include <psptypes.h>
00027 
00030 
00031 typedef struct _pspChnnlsvContext1 {
00033         int     mode;
00034 
00036         char    buffer1[0x10];
00037         char    buffer2[0x10];
00038         int     unknown;
00039 } pspChnnlsvContext1;
00040 
00041 typedef struct _pspChnnlsvContext2 {
00043         char    unknown[0x100];
00044 } pspChnnlsvContext2;
00045 
00053 int sceChnnlsv_E7833020(pspChnnlsvContext1 *ctx, int mode);
00054         
00063 int sceChnnlsv_F21A1FCA(pspChnnlsvContext1 *ctx, unsigned char *data, int len);
00064 
00073 int sceChnnlsv_C4C494F8(pspChnnlsvContext1 *ctx, 
00074                         unsigned char *hash, unsigned char *cryptkey);
00075 
00086 int sceChnnlsv_ABFDFC8B(pspChnnlsvContext2 *ctx, int mode1, int mode2,
00087                         unsigned char *hashkey, unsigned char *cipherkey);
00088 
00097 int sceChnnlsv_850A7FA1(pspChnnlsvContext2 *ctx, unsigned char *data, int len);
00098 
00105 int sceChnnlsv_21BE78B4(pspChnnlsvContext2 *ctx);
00106 
00109 #ifdef __cplusplus
00110 }
00111 #endif
00112 
00113 #endif
00114 

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