#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 currentStat) { fmt::throw_exception("Unimplemented" HERE); } s32 sceSslGetSerialNumber(vm::ptr sslCert, vm::cpptr sboData, vm::ptr sboLen) { fmt::throw_exception("Unimplemented" HERE); } vm::ptr sceSslGetSubjectName(vm::ptr sslCert) { fmt::throw_exception("Unimplemented" HERE); } vm::ptr sceSslGetIssuerName(vm::ptr sslCert) { fmt::throw_exception("Unimplemented" HERE); } s32 sceSslGetNotBefore(vm::ptr sslCert, vm::ptr begin) { fmt::throw_exception("Unimplemented" HERE); } s32 sceSslGetNotAfter(vm::ptr sslCert, vm::ptr limit) { fmt::throw_exception("Unimplemented" HERE); } s32 sceSslGetNameEntryCount(vm::ptr certName) { fmt::throw_exception("Unimplemented" HERE); } s32 sceSslGetNameEntryInfo(vm::ptr certName, s32 entryNum, vm::ptr oidname, u32 maxOidnameLen, vm::ptr value, u32 maxValueLen, vm::ptr valueLen) { fmt::throw_exception("Unimplemented" HERE); } s32 sceSslFreeSslCertName(vm::ptr 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); });