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

16 lines
360 B
C#
Raw Permalink Normal View History

2019-11-19 02:31:06 +01:00
using LibHac.Crypto;
2019-11-09 08:32:13 +01:00
using Xunit;
namespace LibHac.Tests.CryptoTests
{
public sealed class AesIntrinsicsRequiredTheoryAttribute : TheoryAttribute
{
public AesIntrinsicsRequiredTheoryAttribute()
{
2019-11-19 02:20:21 +01:00
if (!Aes.IsAesNiSupported())
2019-11-09 08:32:13 +01:00
{
Skip = "AES intrinsics required";
}
}
}
}