vitasdk
Documentation of the vitasdk
authmgr.h
Go to the documentation of this file.
1
7#ifndef _PSP2KERN_SBLAUTHMGR_H_
8#define _PSP2KERN_SBLAUTHMGR_H_
9
10#include <psp2kern/types.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
30int ksceSblAuthMgrClearDmac5Key(int slot_id, int zero);
31
47int ksceSblAuthMgrSetDmac5Key(const void *key, SceSize keylen, int slot_id, int key_id);
48
78int ksceSblAuthMgrAuthHeader(int handle, const void *self_header_addr, SceSize self_header_size, SceAuthInfo *auth_info);
79
93int ksceSblAuthMgrClose(int handle);
94
108
128int ksceSblAuthMgrDecBindData(void *klicensee, SceSize klicensee_len, const void *request, SceSize request_len, int zero);
129
147int ksceSblAuthMgrGetEKc(void *data, SceSize size, int key_id);
148
164int ksceSblAuthMgrLoadBlock(int handle, void *buffer, SceSize buffer_size);
165
179int ksceSblAuthMgrOpen(int *handle);
180
194int ksceSblAuthMgrSetupAuthSegment(int handle, int segment_index);
195
213
214#ifdef __cplusplus
215}
216#endif
217
218#endif /* _PSP2KERN_SBLAUTHMGR_H_ */
void * buffer
Definition bt.h:6
uint16_t version
Definition kbl.h:0
SceSize size
Definition lsdb.h:11
SceUInt32 key
FNV-1a hash of the AppInfo key.
Definition lsdb.h:0
int ksceSblAuthMgrClose(int handle)
Close a SELF authentication session.
int ksceSblAuthMgrClearDmac5Key(int slot_id, int zero)
Clear a DMAC5 key slot.
int ksceSblAuthMgrCompareSwVersion(int version)
Check whether a software version is supported.
int ksceSblAuthMgrGetEKc(void *data, SceSize size, int key_id)
Process NPDRM EKc key material in place.
int ksceSblAuthMgrVerifySpfsoCtx(SceSblSpsfoContext *ctx)
Verify a signed SPSFO context.
int ksceSblAuthMgrLoadBlock(int handle, void *buffer, SceSize buffer_size)
Authenticate and decrypt a SELF segment block in place.
int ksceSblAuthMgrSetDmac5Key(const void *key, SceSize keylen, int slot_id, int key_id)
Set a DMAC5 key slot.
int ksceSblAuthMgrSetupAuthSegment(int handle, int segment_index)
Select and initialize a SELF segment for authentication.
int ksceSblAuthMgrDecBindData(void *klicensee, SceSize klicensee_len, const void *request, SceSize request_len, int zero)
Decrypt NPDRM bind data in place using a read-only request.
int ksceSblAuthMgrAuthHeader(int handle, const void *self_header_addr, SceSize self_header_size, SceAuthInfo *auth_info)
Authenticate a SELF header.
int ksceSblAuthMgrOpen(int *handle)
Open a SELF authentication session.
An SPSFO file mapped by ksceSblSpsfoMgrOpen.
Definition sblpostssmgr.h:37
unsigned int SceSize
Definition types.h:56
Definition types.h:170