7#ifndef _PSP2_NPDRMPACKAGE_H_
8#define _PSP2_NPDRMPACKAGE_H_
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
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
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