SceSblAuthMgr

SceSblAuthMgrForKernel
These functions are used for SELF decryption.

sceSblAuthMgrOpenForKernel
Previous name was sceSblAuthMgrSmStartForKernel

sceSblAuthMgrCloseForKernel
Previous name was sceSblAuthMgrSmStopForKernel

Issues F00D command -1

SceSblAuthMgrForKernel_CAA38DF7
Calls "sceSblAuthMgrZlibInit".

SceSblAuthMgrForKernel_6C1F5048
Deletes a mutex.

sceSblAuthMgrAuthHeaderForKernel
Issues F00D command 0x10001

type is defined in SceKernelModulemgr.

Read caller SELF Info using sceKernelGetSelfAuthInfoForKernel then writes it to context_130->caller_self_auth_info.

Calls smc_137 and smc_134 that interact with F00D. F00D set context_130->called_self_auth_info.

sceSblAuthMgrSetupAuthSegmentForKernel
Temp name was sceSblAuthMgrLoadSelfSegmentForKernel.

Issues F00D command 0x20001

sceSblAuthMgrLoadBlockForKernel
Temp name was sceSblAuthMgrLoadSelfBlockForKernel. sceSblAuthMgrLoadBlockForKernel is maybe real name.

Issues F00D command 0x30001

sceSblAuthMgrSetDmac5KeyForKernel
Issues F00D command 0x50001

sceSblAuthMgrClearDmac5KeyForKernel
Issues F00D command 0x60001

SceSblAuthMgrForKernel_2A83A012
Returns 0. May be an old function kept for compatibility.

sceSblAuthMgrCompareSwVersionForKernel
Aligns version on 12 bits then compares to the hardcoded current firmware version (example: 0x03600000 on FW 3.60).

sceSblAuthMgrGetEKcForDriver
EKc means Encrypted Klicense (also called Key License).

Issues F00D command 0x40001

sceSblAuthMgrDecBindDataForDriver
Issues F00D command 0x70001

sceSblAuthMgrVerifySpfsoCtxForDriver
Used by sceSblPostSsMgrVerifySpfsoCtxForDriver

Issues F00D command 0x80001