SceSblAuthMgr

Secure bootloader Auth Manager

SceSblAuthMgrForKernel
These functions are used for SELF decryption.

sceSblAuthMgrOpenForKernel
Previous name was sceSblAuthMgrInvokeSMForKernel, sceSblAuthMgrSmStartForKernel

sceSblAuthMgrCloseForKernel
Previous name was sceSblAuthMgrStopSMForKernel, sceSblAuthMgrSmStopForKernel

Issues F00D command -1

sceSblAuthMgrStartForKernel
Create SceSblAuthMgrZlibHeap.

sceSblAuthMgrStopForKernel
Delete SceSblAuthMgrZlibHeap.

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, sceSblAuthMgrLoadSegmentForKernel.

Issues F00D command 0x20001

sceSblAuthMgrAuthSegmentForKernel
Temp name was sceSblAuthMgrLoadSelfBlockForKernel, sceSblAuthMgrLoadBlockForKernel.

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

sceSblAuthMgrVerifySpsfoForDriver
Used by sceSblSpsfoMgrVerifyForDriver

Issues F00D command 0x80001.