LibHac/tests/LibHac.Tests/Fs/AesXtsFileSystemTests.cs
2022-01-07 00:33:47 -07:00

19 lines
No EOL
444 B
C#

using LibHac.Fs.Fsa;
using LibHac.Tests.Fs.IFileSystemTestBase;
using LibHac.Tools.Fs;
using LibHac.Tools.FsSystem;
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;
}
}