spl: refactor into sts namespace

This commit is contained in:
Michael Scire 2019-06-21 01:36:00 -07:00
parent 1671c04e24
commit f9b48f06a3
30 changed files with 2230 additions and 2152 deletions

View file

@ -18,7 +18,12 @@
#include <stratosphere.hpp>
#include "spl_random_service.hpp"
#include "spl_api.hpp"
namespace sts::spl {
Result RandomService::GenerateRandomBytes(OutBuffer<u8> out) {
return spl::GenerateRandomBytes(out.buffer, out.num_elements);
}
Result RandomService::GenerateRandomBytes(OutBuffer<u8> out) {
return this->secmon_wrapper->GenerateRandomBytes(out.buffer, out.num_elements);
}