vitasdk
Documentation of the vitasdk
post_ss_mgr.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2KERN_POST_SS_MGR_H_
7 #define _PSP2KERN_POST_SS_MGR_H_
8 
9 #include <vitasdk/build_utils.h>
10 #include <psp2kern/types.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 
17 typedef struct SceSblRsaDataParam {
18  void *data;
19  unsigned int size;
22 
23 typedef struct SceSblRsaPublicKeyParam {
24  const void *n;
25  const void *k; // e/d
28 
29 typedef struct SceSblRsaPrivateKeyParam {
30  int unk_0x00;
31  int unk_0x04;
32  int unk_0x08;
33  int unk_0x0C;
34  void *p;
35  void *q;
36  void *dp; // d % (p - 1)
37  void *dq; // d % (q - 1)
38  void *qp; // q^-1 % p
41 
42 
54 
66 
67 
68 #ifdef __cplusplus
69 }
70 #endif
71 
72 #endif /* _PSP2KERN_POST_SS_MGR_H_ */
uint8_t type
0 = read?, 1 = write?, 2 = feature?, 3 = ?
Definition: bt.h:2
unsigned int size
Definition: post_ss_mgr.h:19
const void * n
Definition: post_ss_mgr.h:24
int ksceSblRSA2048CreateSignature(SceSblRsaDataParam *rsa_signature, SceSblRsaDataParam *hash, SceSblRsaPrivateKeyParam *private_key, int type)
Create the new RSA signature.
void * q
Definition: post_ss_mgr.h:35
void * data
Definition: post_ss_mgr.h:18
int unk_0x00
Definition: post_ss_mgr.h:30
void * qp
Definition: post_ss_mgr.h:38
void * p
Definition: post_ss_mgr.h:34
int unk_0x0C
Definition: post_ss_mgr.h:33
void * dp
Definition: post_ss_mgr.h:36
const void * k
Definition: post_ss_mgr.h:25
int unk_0x08
Definition: post_ss_mgr.h:32
int ksceSblRSA2048VerifySignature(SceSblRsaDataParam *rsa_signature, SceSblRsaDataParam *hash, SceSblRsaPublicKeyParam *public_key, int type)
Verufy the new RSA signature.
void * dq
Definition: post_ss_mgr.h:37
VITASDK_BUILD_ASSERT_EQ(8, SceSblRsaDataParam)
int unk_0x04
Definition: post_ss_mgr.h:31
Definition: post_ss_mgr.h:17
Definition: post_ss_mgr.h:29
Definition: post_ss_mgr.h:23