spl: refactor into sts namespace
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user