LibHac/tests/LibHac.Tests/Fs/AesXtsFileSystemTests.cs

20 lines
433 B
C#
Raw Normal View History

using LibHac.Fs;
using LibHac.Fs.Fsa;
using LibHac.FsSystem;
using LibHac.Tests.Fs.IFileSystemTestBase;
2021-11-14 20:08:57 +01:00
namespace LibHac.Tests.Fs;
public class AesXtsFileSystemTests : IFileSystemTests
{
2021-11-14 20:08:57 +01:00
protected override IFileSystem CreateFileSystem()
{
2021-11-14 20:08:57 +01:00
var baseFs = new InMemoryFileSystem();
2021-11-14 20:08:57 +01:00
byte[] keys = new byte[0x20];
var xtsFs = new AesXtsFileSystem(baseFs, keys, 0x4000);
2021-11-14 20:08:57 +01:00
return xtsFs;
}
}