2018-03-22 06:54:16 +00:00
|
|
|
// Copyright 2018 yuzu emulator team
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "core/hle/service/spl/csrng.h"
|
|
|
|
|
2018-04-20 01:41:44 +00:00
|
|
|
namespace Service::SPL {
|
2018-03-22 06:54:16 +00:00
|
|
|
|
|
|
|
CSRNG::CSRNG(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "csrng") {
|
|
|
|
static const FunctionInfo functions[] = {
|
|
|
|
{0, &CSRNG::GetRandomBytes, "GetRandomBytes"},
|
|
|
|
};
|
|
|
|
RegisterHandlers(functions);
|
|
|
|
}
|
|
|
|
|
2018-04-20 01:41:44 +00:00
|
|
|
} // namespace Service::SPL
|