mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
Mayaqua/Encrypt.c: fix invalid features.aes for mips, ppc
* fix invalid features.aes for mips, ppc Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
This commit is contained in:
parent
7c72e008eb
commit
d6c8231ff0
@ -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