vitasdk
Documentation of the vitasdk

Exports for Kernel. More...

Functions

int ksceSblGcAuthMgrPkgVry (const SceUInt8 *hash, const SceUInt8 *signature)
 Verify a package ECDSA-160 signature.
 

Detailed Description

Exports for Kernel.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceSblGcAuthMgrPkgForDriver_stub



Function Documentation

◆ ksceSblGcAuthMgrPkgVry()

int ksceSblGcAuthMgrPkgVry ( const SceUInt8 *  hash,
const SceUInt8 *  signature 
)

Verify a package ECDSA-160 signature.

Both pointers must be non-NULL. Their buffers must remain valid until this function returns; they are not used afterwards.

Parameters
[in]hash- Complete 0x14-byte SHA-1 digest.
[in]signature- Complete 0x28-byte raw ECDSA-160 signature.
Returns
0 when valid; 0x808A0008 for a semaphore failure; or 0x808A000C for invalid input or a rejected signature. Errors from the secure verification call are returned as 0x808A000C.