7 #ifndef _PSP2_NPDRMPACKAGE_H_
8 #define _PSP2_NPDRMPACKAGE_H_
void * buffer
Definition: bt.h:6
SceSize size
struct size(variable size)
Definition: debug.h:0
SceOff offset
The offset in the encrypted data.
Definition: npdrmpackage.h:20
VITASDK_BUILD_ASSERT_EQ(0x10, _sceNpDrmPackageDecrypt_opt)
int _sceNpDrmPackageCheck(const void *buffer, SceSize size, int zero, unsigned int identifier)
Read the header of the PKG and initialize the context.
unsigned int identifier
The identifier specified for _sceNpDrmPackageCheck but NOT ORed with (1 << 8)
Definition: npdrmpackage.h:26
int _sceNpDrmPackageDecrypt(void *__restrict__ buffer, SceSize size, _sceNpDrmPackageDecrypt_opt *__restrict__ opt)
Decrypt a PKG.
Options for _sceNpDrmPackageDecrypt.
Definition: npdrmpackage.h:18
unsigned int SceSize
Definition: types.h:56
SceInt64 SceOff
Offset type.
Definition: types.h:88