spl: Add the general SPL interface

This commit is contained in:
Morph
2021-06-15 02:36:52 -04:00
parent bb0caed2f1
commit 684d567adc
4 changed files with 64 additions and 45 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ namespace Service::SPL {
CSRNG::CSRNG(Core::System& system_, std::shared_ptr<Module> module_)
: Interface(system_, std::move(module_), "csrng") {
static const FunctionInfo functions[] = {
{0, &CSRNG::GetRandomBytes, "GetRandomBytes"},
{0, &CSRNG::GenerateRandomBytes, "GenerateRandomBytes"},
};
RegisterHandlers(functions);
}