rpcsx/rpcs3/Emu/ARMv7/Modules/sceSsl.cpp

84 lines
1.9 KiB
C++
Raw Normal View History

#include "stdafx.h"
#include "Emu/System.h"
#include "Emu/ARMv7/PSVFuncList.h"
2015-01-30 11:48:12 +01:00
#include "sceSsl.h"
s32 sceSslInit(u32 poolSize)
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 11:48:12 +01:00
}
s32 sceSslTerm()
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 11:48:12 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceSslGetMemoryPoolStats(vm::ptr<SceSslMemoryPoolStats> currentStat)
2015-01-30 11:48:12 +01:00
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 11:48:12 +01:00
}
s32 sceSslGetSerialNumber(vm::ptr<SceSslCert> sslCert, vm::cpptr<u8> sboData, vm::ptr<u32> sboLen)
2015-01-30 11:48:12 +01:00
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 11:48:12 +01:00
}
2015-06-21 01:04:01 +02:00
vm::ptr<SceSslCertName> sceSslGetSubjectName(vm::ptr<SceSslCert> sslCert)
2015-01-30 11:48:12 +01:00
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 11:48:12 +01:00
}
2015-06-21 01:04:01 +02:00
vm::ptr<SceSslCertName> sceSslGetIssuerName(vm::ptr<SceSslCert> sslCert)
2015-01-30 11:48:12 +01:00
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 11:48:12 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceSslGetNotBefore(vm::ptr<SceSslCert> sslCert, vm::ptr<u64> begin)
2015-01-30 11:48:12 +01:00
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 11:48:12 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceSslGetNotAfter(vm::ptr<SceSslCert> sslCert, vm::ptr<u64> limit)
2015-01-30 11:48:12 +01:00
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 11:48:12 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceSslGetNameEntryCount(vm::ptr<SceSslCertName> certName)
2015-01-30 11:48:12 +01:00
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 11:48:12 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceSslGetNameEntryInfo(vm::ptr<SceSslCertName> certName, s32 entryNum, vm::ptr<char> oidname, u32 maxOidnameLen, vm::ptr<u8> value, u32 maxValueLen, vm::ptr<u32> valueLen)
2015-01-30 11:48:12 +01:00
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 11:48:12 +01:00
}
2015-06-21 01:04:01 +02:00
s32 sceSslFreeSslCertName(vm::ptr<SceSslCertName> certName)
2015-01-30 11:48:12 +01:00
{
2015-07-01 19:09:26 +02:00
throw EXCEPTION("");
2015-01-30 11:48:12 +01:00
}
#define REG_FUNC(nid, name) reg_psv_func(nid, &sceSsl, #name, name)
psv_log_base sceSsl("SceSsl", []()
{
sceSsl.on_load = nullptr;
sceSsl.on_unload = nullptr;
sceSsl.on_stop = nullptr;
2015-06-21 01:04:01 +02:00
sceSsl.on_error = nullptr;
2015-01-30 11:48:12 +01:00
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);
});