Difference between revisions of "Kprx auth sm"

From Vita Development Wiki
Jump to navigation Jump to search
(Created page with "Security module that authenticates and decrypts signed elf. == functions == === sceBigmacExec === {| class="wikitable" |- ! Version !! offset |- | 3.60 || 0x80EF46 |} <sou...")
 
Line 14: Line 14:
 
<source lang="C">
 
<source lang="C">
  
typedef struct SceBigmacExecOption {
+
typedef struct SceBigmacExecOption {
 
int channel;
 
int channel;
 
int flags; // masked by 0xFFFFFCC0
 
int flags; // masked by 0xFFFFFCC0

Revision as of 08:49, 19 November 2020

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);