rpcsx/rpcs3/Emu/PSP2/Modules/sceSsl.cpp
2017-05-15 14:37:05 +03:00

81 lines
2 KiB
C++

#include "stdafx.h"
#include "Emu/System.h"
#include "Emu/PSP2/ARMv7Module.h"
#include "sceSsl.h"
logs::channel sceSsl("sceSsl");
s32 sceSslInit(u32 poolSize)
{
fmt::throw_exception("Unimplemented" HERE);
}
s32 sceSslTerm()
{
fmt::throw_exception("Unimplemented" HERE);
}
s32 sceSslGetMemoryPoolStats(vm::ptr<SceSslMemoryPoolStats> currentStat)
{
fmt::throw_exception("Unimplemented" HERE);
}
s32 sceSslGetSerialNumber(vm::ptr<SceSslCert> sslCert, vm::cpptr<u8> sboData, vm::ptr<u32> sboLen)
{
fmt::throw_exception("Unimplemented" HERE);
}
vm::ptr<SceSslCertName> sceSslGetSubjectName(vm::ptr<SceSslCert> sslCert)
{
fmt::throw_exception("Unimplemented" HERE);
}
vm::ptr<SceSslCertName> sceSslGetIssuerName(vm::ptr<SceSslCert> sslCert)
{
fmt::throw_exception("Unimplemented" HERE);
}
s32 sceSslGetNotBefore(vm::ptr<SceSslCert> sslCert, vm::ptr<u64> begin)
{
fmt::throw_exception("Unimplemented" HERE);
}
s32 sceSslGetNotAfter(vm::ptr<SceSslCert> sslCert, vm::ptr<u64> limit)
{
fmt::throw_exception("Unimplemented" HERE);
}
s32 sceSslGetNameEntryCount(vm::ptr<SceSslCertName> certName)
{
fmt::throw_exception("Unimplemented" HERE);
}
s32 sceSslGetNameEntryInfo(vm::ptr<SceSslCertName> certName, s32 entryNum, vm::ptr<char> oidname, u32 maxOidnameLen, vm::ptr<u8> value, u32 maxValueLen, vm::ptr<u32> valueLen)
{
fmt::throw_exception("Unimplemented" HERE);
}
s32 sceSslFreeSslCertName(vm::ptr<SceSslCertName> certName)
{
fmt::throw_exception("Unimplemented" HERE);
}
#define REG_FUNC(nid, name) REG_FNID(SceSsl, nid, name)
DECLARE(arm_module_manager::SceSsl)("SceSsl", []()
{
REG_FUNC(0x3C733316, sceSslInit);
REG_FUNC(0x03CE6E3A, sceSslTerm);
REG_FUNC(0xBD203262, sceSslGetMemoryPoolStats);
REG_FUNC(0x901C5C15, sceSslGetSerialNumber);
REG_FUNC(0x9B2F1BC1, sceSslGetSubjectName);
REG_FUNC(0x412711E5, sceSslGetIssuerName);
REG_FUNC(0x70DEA174, sceSslGetNotBefore);
REG_FUNC(0xF5ED7B68, sceSslGetNotAfter);
REG_FUNC(0x95E14CA6, sceSslGetNameEntryCount);
REG_FUNC(0x2A857867, sceSslGetNameEntryInfo);
REG_FUNC(0xC73687E4, sceSslFreeSslCertName);
});