mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
20 lines
451 B
C#
20 lines
451 B
C#
|
using LibHac.Fs;
|
|||
|
using LibHac.FsSystem;
|
|||
|
using LibHac.Tests.Fs.IFileSystemTestBase;
|
|||
|
|
|||
|
namespace LibHac.Tests.Fs
|
|||
|
{
|
|||
|
public class AesXtsFileSystemTests : IFileSystemTests
|
|||
|
{
|
|||
|
protected override IFileSystem CreateFileSystem()
|
|||
|
{
|
|||
|
var baseFs = new InMemoryFileSystem();
|
|||
|
|
|||
|
var keys = new byte[0x20];
|
|||
|
var xtsFs = new AesXtsFileSystem(baseFs, keys, 0x4000);
|
|||
|
|
|||
|
return xtsFs;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|