LibHac/tests/LibHac.Tests/CryptoTests/AesIntrinsicsRequiredTheory.cs

16 lines
367 B
C#
Raw Normal View History

2019-11-09 08:32:13 +01:00
using LibHac.Crypto2;
using Xunit;
namespace LibHac.Tests.CryptoTests
{
public sealed class AesIntrinsicsRequiredTheoryAttribute : TheoryAttribute
{
public AesIntrinsicsRequiredTheoryAttribute()
{
if (!AesCrypto.IsAesNiSupported())
{
Skip = "AES intrinsics required";
}
}
}
}