mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
Merge PR #652: Mayaqua/Encrypt.c: fix invalid features.aes for mips, ppc
This commit is contained in:
commit
0174f956e1
@ -4289,11 +4289,9 @@ bool IsAesNiSupported()
|
|||||||
const Aarch64Features features = GetAarch64Info().features;
|
const Aarch64Features features = GetAarch64Info().features;
|
||||||
supported = features.aes;
|
supported = features.aes;
|
||||||
#elif defined(CPU_FEATURES_ARCH_MIPS)
|
#elif defined(CPU_FEATURES_ARCH_MIPS)
|
||||||
const MipsFeatures features = GetMipsInfo().features;
|
//const MipsFeatures features = GetMipsInfo().features; // no features.aes
|
||||||
supported = features.aes;
|
|
||||||
#elif defined(CPU_FEATURES_ARCH_PPC)
|
#elif defined(CPU_FEATURES_ARCH_PPC)
|
||||||
const PPCFeatures features = GetPPCInfo().features;
|
//const PPCFeatures features = GetPPCInfo().features; // no features.aes
|
||||||
supported = features.aes;
|
|
||||||
#endif
|
#endif
|
||||||
#endif // _MSC_VER
|
#endif // _MSC_VER
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user