LibHac/tests/LibHac.Tests/CryptoTests/AesIntrinsicsRequiredTheory.cs
2019-11-22 13:59:47 -05:00

16 lines
No EOL
360 B
C#

using LibHac.Crypto;
using Xunit;
namespace LibHac.Tests.CryptoTests
{
public sealed class AesIntrinsicsRequiredTheoryAttribute : TheoryAttribute
{
public AesIntrinsicsRequiredTheoryAttribute()
{
if (!Aes.IsAesNiSupported())
{
Skip = "AES intrinsics required";
}
}
}
}