diff --git a/libraries/libstratosphere/source/crypto/crypto_csrng.os.generic.cpp b/libraries/libstratosphere/source/crypto/crypto_csrng.os.generic.cpp
index ecb9e2d0a..414953364 100644
--- a/libraries/libstratosphere/source/crypto/crypto_csrng.os.generic.cpp
+++ b/libraries/libstratosphere/source/crypto/crypto_csrng.os.generic.cpp
@@ -14,14 +14,14 @@
* along with this program. If not, see .
*/
#include
-#include "../spl/impl/spl_ctr_drbg.hpp"
+#include
#include
namespace ams::crypto {
namespace {
- using Drbg = ::ams::spl::impl::CtrDrbg;
+ using Drbg = ::ams::crypto::impl::CtrDrbg;
constinit util::TypedStorage g_drbg = {};
diff --git a/libraries/libstratosphere/source/spl/impl/spl_api_impl.cpp b/libraries/libstratosphere/source/spl/impl/spl_api_impl.cpp
index c5c450b1b..93821f85b 100644
--- a/libraries/libstratosphere/source/spl/impl/spl_api_impl.cpp
+++ b/libraries/libstratosphere/source/spl/impl/spl_api_impl.cpp
@@ -14,7 +14,7 @@
* along with this program. If not, see .
*/
#include
-#include "spl_ctr_drbg.hpp"
+#include
#include "spl_device_address_mapper.hpp"
#include "spl_key_slot_cache.hpp"
@@ -29,7 +29,7 @@ namespace ams::spl::impl {
namespace {
/* Drbg type. */
- using Drbg = CtrDrbg;
+ using Drbg = crypto::impl::CtrDrbg;
/* Convenient defines. */
#if defined(ATMOSPHERE_OS_HORIZON)
diff --git a/libraries/libstratosphere/source/spl/impl/spl_ctr_drbg.hpp b/libraries/libvapours/include/vapours/crypto/impl/crypto_ctr_drbg.hpp
similarity index 99%
rename from libraries/libstratosphere/source/spl/impl/spl_ctr_drbg.hpp
rename to libraries/libvapours/include/vapours/crypto/impl/crypto_ctr_drbg.hpp
index b615f02c1..6454fae02 100644
--- a/libraries/libstratosphere/source/spl/impl/spl_ctr_drbg.hpp
+++ b/libraries/libvapours/include/vapours/crypto/impl/crypto_ctr_drbg.hpp
@@ -14,9 +14,9 @@
* along with this program. If not, see .
*/
#pragma once
-#include
+#include
-namespace ams::spl::impl {
+namespace ams::crypto::impl {
constexpr inline int BitsPerByte = BITSIZEOF(u8);