mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
16 lines
367 B
C#
16 lines
367 B
C#
|
using LibHac.Crypto2;
|
|||
|
using Xunit;
|
|||
|
|
|||
|
namespace LibHac.Tests.CryptoTests
|
|||
|
{
|
|||
|
public sealed class AesIntrinsicsRequiredTheoryAttribute : TheoryAttribute
|
|||
|
{
|
|||
|
public AesIntrinsicsRequiredTheoryAttribute()
|
|||
|
{
|
|||
|
if (!AesCrypto.IsAesNiSupported())
|
|||
|
{
|
|||
|
Skip = "AES intrinsics required";
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|