Kprx auth sm

From Vita Development Wiki
Jump to navigation Jump to search

Security module that authenticates and decrypts signed elf.

functions

sceBigmacExec

Version offset
3.60 0x80EF46
typedef struct SceBigmacExecOption {
	int channel;
	int flags; // masked by 0xFFFFFCC0
} SceBigmacExecOption;

/*
 * key      - If option->flags not seted 0x80, pass to bigmac keyslot
 * key_size - 0:1:2:3, 64:128:192:256
 */
int sceBigmacExec(void *dst, const void *src, int size, const void *key, void *iv, int first_algo, int second_algo, int key_size, const SceBigmacExecOption *option);