vitasdk
Documentation of the vitasdk
sblpostssmgr.h
Go to the documentation of this file.
1
6#ifndef _PSP2COMMON_SBLPOSTSSMGR_H_
7#define _PSP2COMMON_SBLPOSTSSMGR_H_
8
10#include <psp2common/types.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
21
29
34VITASDK_BUILD_ASSERT_EQ(0x14, SceSblActivationKey); // size is from FW 3.60
35
42VITASDK_BUILD_ASSERT_EQ(0xC, SceSblSpsfoContext); // size is from FW 3.60
43
46
51VITASDK_BUILD_ASSERT_EQ(0x24, SceSblAppKey); // size is from FW 3.60
52
53typedef struct SceUtoken {
55} SceUtoken;
56VITASDK_BUILD_ASSERT_EQ(0x800, SceUtoken); // size is from FW 3.60
57
65VITASDK_BUILD_ASSERT_EQ(0x58, SceUtokenSelfAuthInfo); // size is from FW 3.60
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif /* _PSP2COMMON_SBLPOSTSSMGR_H_ */
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
SceUInt8 open_psid[0x10]
A SceOpenPsId value.
Definition sblpostssmgr.h:31
SceSblProductMode
Product modes reported by SceSblPmMgr.
Definition sblpostssmgr.h:17
SceSize file_size
Exact SPSFO file size.
Definition sblpostssmgr.h:40
SceUInt32 vadd_hash
Four byte-wise sums of the OpenPSID lanes.
Definition sblpostssmgr.h:32
SceUInt64 program_authority_id
Replacement program authority ID.
Definition sblpostssmgr.h:60
SceSblSpsfoContext SceSblSpfsoContext
Misspelled alias retained for backwards compatibility.
Definition sblpostssmgr.h:45
SceUID mem_uid
Memory block UID.
Definition sblpostssmgr.h:38
SceUInt8 attribute[0x20]
Replacement attribute bits.
Definition sblpostssmgr.h:62
SceSize size
Number of valid key bytes. Must be 0x10 or 0x20.
Definition sblpostssmgr.h:48
void * mem_block_base
Mapped memory block base address.
Definition sblpostssmgr.h:39
SceUInt8 key[0x20]
Key data.
Definition sblpostssmgr.h:49
SceUInt8 capability[0x20]
Replacement capability bits.
Definition sblpostssmgr.h:61
SceUInt8 encrypted_data[0x800]
Encrypted Utoken file contents.
Definition sblpostssmgr.h:54
SceUInt8 shared_secret[0x10]
Replacement shared secret.
Definition sblpostssmgr.h:63
SceSblLicenseStatus
Cached development/testing-kit activation states reported by SceSblLicMgr.
Definition sblpostssmgr.h:23
@ SCE_SBL_PRODUCT_MODE_NORMAL
Definition sblpostssmgr.h:18
@ SCE_SBL_PRODUCT_MODE_MANUFACTURING
Definition sblpostssmgr.h:19
@ SCE_SBL_LICENSE_STATUS_UNINITIALIZED
Definition sblpostssmgr.h:24
@ SCE_SBL_LICENSE_STATUS_BACKUP_BATTERY_FAILURE
Definition sblpostssmgr.h:27
@ SCE_SBL_LICENSE_STATUS_EXPIRED
Definition sblpostssmgr.h:26
@ SCE_SBL_LICENSE_STATUS_ACTIVATED
Definition sblpostssmgr.h:25
Definition sblpostssmgr.h:30
Definition sblpostssmgr.h:47
An SPSFO file mapped by ksceSblSpsfoMgrOpen.
Definition sblpostssmgr.h:37
Definition sblpostssmgr.h:53
Complete SELF authorization override stored in Utoken segment type 11.
Definition sblpostssmgr.h:59
unsigned int SceSize
Definition types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition types.h:90
uint64_t SceUInt64
Definition types.h:51
uint32_t SceUInt32
Definition types.h:45
uint8_t SceUInt8
Definition types.h:36