Update service sm

From Vita Development Wiki
Jump to navigation Jump to search

Security module that authenticates and decrypts signed system package.

functions

sceBigmacExec

Version offset
3.60 0x81148C
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);