summaryrefslogtreecommitdiff
path: root/src/crypto/fipsmodule/aes/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/fipsmodule/aes/internal.h')
-rw-r--r--src/crypto/fipsmodule/aes/internal.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/crypto/fipsmodule/aes/internal.h b/src/crypto/fipsmodule/aes/internal.h
index 63070bc6..0cebb04c 100644
--- a/src/crypto/fipsmodule/aes/internal.h
+++ b/src/crypto/fipsmodule/aes/internal.h
@@ -35,15 +35,13 @@ OPENSSL_INLINE int hwaes_capable(void) {
}
#define VPAES
+#if defined(OPENSSL_X86_64)
+#define VPAES_CTR32
+#endif
OPENSSL_INLINE int vpaes_capable(void) {
return (OPENSSL_ia32cap_get()[1] & (1 << (41 - 32))) != 0;
}
-#if defined(OPENSSL_X86_64)
-#define BSAES
-OPENSSL_INLINE int bsaes_capable(void) { return vpaes_capable(); }
-#endif // X86_64
-
#elif defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64)
#define HWAES