Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions src/kernel/pspamctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@

#include <psptypes.h>

#ifdef __cplusplus
extern "C" {
#endif // __cplusplus


typedef struct SceMacKey {
int type;
u8 key[16];
Expand Down Expand Up @@ -55,7 +50,9 @@ enum SceCipherKeyMode {
CIPHER_KEY_MODE_DECRYPT = 2,
};

#ifdef __KERNEL__
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus

int sceDrmBBMacInit(SceMacKey *mac_key, int type);
int sceDrmBBMacUpdate(SceMacKey *mac_key, u8 *buf, int size);
Expand All @@ -68,8 +65,6 @@ 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);

#endif // __KERNEL__

#ifdef __cplusplus
}
#endif // __cplusplus
Expand Down