csrng.cpp 528 B

12345678910111213141516171819
  1. // Copyright 2018 yuzu emulator team
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/service/spl/csrng.h"
  5. namespace Service::SPL {
  6. CSRNG::CSRNG(Core::System& system_, std::shared_ptr<Module> module_)
  7. : Interface(system_, std::move(module_), "csrng") {
  8. static const FunctionInfo functions[] = {
  9. {0, &CSRNG::GenerateRandomBytes, "GenerateRandomBytes"},
  10. };
  11. RegisterHandlers(functions);
  12. }
  13. CSRNG::~CSRNG() = default;
  14. } // namespace Service::SPL