PSPSDK 2026-02-25
Loading...
Searching...
No Matches
pspamctrl.h File Reference
#include <psptypes.h>
Include dependency graph for pspamctrl.h:

Go to the source code of this file.

Data Structures

struct  SceMacKey
 
struct  SceCipherKey
 

Typedefs

typedef struct SceMacKey SceMacKey
 
typedef struct SceCipherKey SceCipherKey
 

Enumerations

enum  SceMacKeyType {
  MAC_KEY_TYPE_UNK0 = 0 , MAC_KEY_TYPE_UNK1 = 1 , MAC_KEY_TYPE_FUSE_ID = 2 , MAC_KEY_TYPE_FIXED = 3 ,
  MAC_KEY_TYPE_UNK6 = 6
}
 
enum  SceCipherKeyType { CIPHER_KEY_TYPE_FIXED = 1 , CIPHER_KEY_TYPE_FUSE_ID = 2 }
 
enum  SceCipherKeyMode { CIPHER_KEY_MODE_ENCRYPT = 1 , CIPHER_KEY_MODE_DECRYPT = 2 }
 

Functions

int sceDrmBBMacInit (SceMacKey *mac_key, int type)
 
int sceDrmBBMacUpdate (SceMacKey *mac_key, u8 *buf, int size)
 
int sceAmctrl_driver_9227EA79 (SceMacKey *mac_key, u8 *buf, int size)
 
int sceDrmBBMacFinal (SceMacKey *mac_key, u8 *buf, u8 *version_key)
 
int sceDrmBBMacFinal2 (SceMacKey *mac_key, u8 *buf, u8 *version_key)
 
int sceDrmBBCipherInit (SceCipherKey *cipher_key, int type, int mode, u8 *header_key, u8 *version_key, int seed)
 
int sceDrmBBCipherUpdate (SceCipherKey *cipher_key, u8 *buf, int size)
 
int sceAmctrl_driver_E04ADD4C (SceCipherKey *cipher_key, u8 *buf, int size)
 
int sceDrmBBCipherFinal (SceCipherKey *cipher_key)
 

Typedef Documentation

◆ SceCipherKey

typedef struct SceCipherKey SceCipherKey

◆ SceMacKey

typedef struct SceMacKey SceMacKey

Enumeration Type Documentation

◆ SceCipherKeyMode

Enumerator
CIPHER_KEY_MODE_ENCRYPT 
CIPHER_KEY_MODE_DECRYPT 

◆ SceCipherKeyType

Enumerator
CIPHER_KEY_TYPE_FIXED 

Use fixed key.

CIPHER_KEY_TYPE_FUSE_ID 

Use fuse ID.

◆ SceMacKeyType

Enumerator
MAC_KEY_TYPE_UNK0 
MAC_KEY_TYPE_UNK1 
MAC_KEY_TYPE_FUSE_ID 

Use fuse ID.

MAC_KEY_TYPE_FIXED 

Use fixed key.

MAC will need to encrypt again.

MAC_KEY_TYPE_UNK6 

Function Documentation

◆ sceAmctrl_driver_9227EA79()

int sceAmctrl_driver_9227EA79 ( SceMacKey * mac_key,
u8 * buf,
int size )

◆ sceAmctrl_driver_E04ADD4C()

int sceAmctrl_driver_E04ADD4C ( SceCipherKey * cipher_key,
u8 * buf,
int size )

◆ sceDrmBBCipherFinal()

int sceDrmBBCipherFinal ( SceCipherKey * cipher_key)

◆ sceDrmBBCipherInit()

int sceDrmBBCipherInit ( SceCipherKey * cipher_key,
int type,
int mode,
u8 * header_key,
u8 * version_key,
int seed )

◆ sceDrmBBCipherUpdate()

int sceDrmBBCipherUpdate ( SceCipherKey * cipher_key,
u8 * buf,
int size )

◆ sceDrmBBMacFinal()

int sceDrmBBMacFinal ( SceMacKey * mac_key,
u8 * buf,
u8 * version_key )

◆ sceDrmBBMacFinal2()

int sceDrmBBMacFinal2 ( SceMacKey * mac_key,
u8 * buf,
u8 * version_key )

◆ sceDrmBBMacInit()

int sceDrmBBMacInit ( SceMacKey * mac_key,
int type )

◆ sceDrmBBMacUpdate()

int sceDrmBBMacUpdate ( SceMacKey * mac_key,
u8 * buf,
int size )