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

81 lines
2 KiB
C++
Raw Normal View History

#include "stdafx.h"
#include "Emu/System.h"
2016-05-13 12:17:26 +02:00
#include "Emu/PSP2/ARMv7Module.h"
2015-01-30 11:48:12 +01:00
#include "sceSsl.h"
2017-05-13 20:30:37 +02:00
logs::channel sceSsl("sceSsl");
2016-02-01 22:53:16 +01:00
2015-01-30 11:48:12 +01:00
s32 sceSslInit(u32 poolSize)
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
s32 sceSslTerm()
{
fmt::throw_exception("Unimplemented" HERE);
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
{
fmt::throw_exception("Unimplemented" HERE);
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
{
fmt::throw_exception("Unimplemented" HERE);
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
{
fmt::throw_exception("Unimplemented" HERE);
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
{
fmt::throw_exception("Unimplemented" HERE);
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
{
fmt::throw_exception("Unimplemented" HERE);
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
{
fmt::throw_exception("Unimplemented" HERE);
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
{
fmt::throw_exception("Unimplemented" HERE);
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
{
fmt::throw_exception("Unimplemented" HERE);
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
{
fmt::throw_exception("Unimplemented" HERE);
2015-01-30 11:48:12 +01:00
}
2016-02-01 22:53:16 +01:00
#define REG_FUNC(nid, name) REG_FNID(SceSsl, nid, name)
2016-02-01 22:53:16 +01:00
DECLARE(arm_module_manager::SceSsl)("SceSsl", []()
{
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);
});