Move CachedStorage, SectorStorage and derivatives

This commit is contained in:
Alex Barney 2021-12-19 00:10:20 -07:00
parent ae35a1b916
commit 5acff2acab
15 changed files with 28 additions and 21 deletions

View file

@ -7,6 +7,7 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using LibHac.Common.Keys; using LibHac.Common.Keys;
using LibHac.Diag; using LibHac.Diag;
using LibHac.Tools.FsSystem;
using LibHac.Util; using LibHac.Util;
namespace LibHac.Boot; namespace LibHac.Boot;

View file

@ -7,6 +7,7 @@ using LibHac.Crypto;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem; using LibHac.FsSystem;
using LibHac.Kernel; using LibHac.Kernel;
using LibHac.Tools.FsSystem;
namespace LibHac.Boot; namespace LibHac.Boot;

View file

@ -5,6 +5,7 @@ using System.Security.Cryptography;
using System.Text; using System.Text;
using LibHac.Common; using LibHac.Common;
using LibHac.Fs; using LibHac.Fs;
using LibHac.Tools.FsSystem;
using LibHac.Util; using LibHac.Util;
namespace LibHac.FsSystem; namespace LibHac.FsSystem;

View file

@ -4,6 +4,7 @@ using System.IO;
using LibHac.Common; using LibHac.Common;
using LibHac.Crypto; using LibHac.Crypto;
using LibHac.Fs; using LibHac.Fs;
using LibHac.Tools.FsSystem;
using LibHac.Tools.FsSystem.Save; using LibHac.Tools.FsSystem.Save;
namespace LibHac.FsSystem; namespace LibHac.FsSystem;

View file

@ -2,8 +2,9 @@
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem;
namespace LibHac.FsSystem; namespace LibHac.Tools.FsSystem;
public class Aes128CtrExStorage : Aes128CtrStorage public class Aes128CtrExStorage : Aes128CtrStorage
{ {

View file

@ -3,7 +3,7 @@ using System.Buffers;
using System.Buffers.Binary; using System.Buffers.Binary;
using LibHac.Fs; using LibHac.Fs;
namespace LibHac.FsSystem; namespace LibHac.Tools.FsSystem;
public class Aes128CtrStorage : SectorStorage public class Aes128CtrStorage : SectorStorage
{ {

View file

@ -6,7 +6,7 @@ using System.Security.Cryptography;
using LibHac.Common; using LibHac.Common;
using LibHac.Util; using LibHac.Util;
namespace LibHac.FsSystem; namespace LibHac.Tools.FsSystem;
public class Aes128CtrTransform public class Aes128CtrTransform
{ {

View file

@ -1,7 +1,7 @@
using System; using System;
using LibHac.Fs; using LibHac.Fs;
namespace LibHac.FsSystem; namespace LibHac.Tools.FsSystem;
public class Aes128XtsStorage : SectorStorage public class Aes128XtsStorage : SectorStorage
{ {

View file

@ -31,7 +31,7 @@ using System.Security.Cryptography;
using LibHac.Common; using LibHac.Common;
using LibHac.Util; using LibHac.Util;
namespace LibHac.FsSystem; namespace LibHac.Tools.FsSystem;
public class Aes128XtsTransform public class Aes128XtsTransform
{ {

View file

@ -1,9 +1,9 @@
using LibHac.Crypto; using System;
using LibHac.Fs;
using System;
using LibHac.Common; using LibHac.Common;
using LibHac.Crypto;
using LibHac.Fs;
namespace LibHac.FsSystem; namespace LibHac.Tools.FsSystem;
public class AesCbcStorage : SectorStorage public class AesCbcStorage : SectorStorage
{ {

View file

@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using LibHac.Fs; using LibHac.Fs;
namespace LibHac.FsSystem; namespace LibHac.Tools.FsSystem;
public class CachedStorage : IStorage public class CachedStorage : IStorage
{ {

View file

@ -2,7 +2,7 @@
using LibHac.Fs; using LibHac.Fs;
using LibHac.Util; using LibHac.Util;
namespace LibHac.FsSystem; namespace LibHac.Tools.FsSystem;
public class SectorStorage : IStorage public class SectorStorage : IStorage
{ {

View file

@ -9,6 +9,7 @@ using LibHac.Crypto;
using LibHac.Crypto.Impl; using LibHac.Crypto.Impl;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem; using LibHac.FsSystem;
using LibHac.Tools.FsSystem;
namespace hactoolnet; namespace hactoolnet;

View file

@ -6,6 +6,7 @@ using LibHac.Boot;
using LibHac.Common; using LibHac.Common;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem; using LibHac.FsSystem;
using LibHac.Tools.FsSystem;
using static hactoolnet.Print; using static hactoolnet.Print;
using Path = System.IO.Path; using Path = System.IO.Path;

View file

@ -1,5 +1,5 @@
using System.Linq; using System.Linq;
using LibHac.FsSystem; using LibHac.Tools.FsSystem;
using LibHac.Util; using LibHac.Util;
using Xunit; using Xunit;