LibHac/tests/LibHac.Tests/Fs/AesXtsFileSystemTests.cs
2021-11-14 18:36:53 -07:00

19 lines
433 B
C#

using LibHac.Fs;
using LibHac.Fs.Fsa;
using LibHac.FsSystem;
using LibHac.Tests.Fs.IFileSystemTestBase;
namespace LibHac.Tests.Fs;
public class AesXtsFileSystemTests : IFileSystemTests
{
protected override IFileSystem CreateFileSystem()
{
var baseFs = new InMemoryFileSystem();
byte[] keys = new byte[0x20];
var xtsFs = new AesXtsFileSystem(baseFs, keys, 0x4000);
return xtsFs;
}
}