summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2019-06-04 10:07:39 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2019-06-04 10:07:39 +0200
commitc5beac68472ed2020c12d078031b8c35ed5d7cb5 (patch)
treea73afaf565c0aa8484766f2ea85d5e9bdebff43c /include
parent92df31dfbfcf6068f4f4a7e7794a15333158c569 (diff)
downloadmariadb-git-c5beac68472ed2020c12d078031b8c35ed5d7cb5.tar.gz
MDEV-19684 enable intel assembly (AESNI etc) and fastmath when compiling WolfSSL
Using different recommended speedup options for WolfSSL. - Enable x64 assembly code on Intel. - in my_crypt.cc, align EVP_CIPHER_CTX buffer, since some members need alignment of 16 (for AESNI instructions), when assembler is enabled. - Adjust MY_AES_CTX_SIZE - Enable fastmath in wolfssl (large integer math).
Diffstat (limited to 'include')
-rw-r--r--include/mysql/service_my_crypt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mysql/service_my_crypt.h b/include/mysql/service_my_crypt.h
index 2de698fe41c..039125066ca 100644
--- a/include/mysql/service_my_crypt.h
+++ b/include/mysql/service_my_crypt.h
@@ -45,7 +45,7 @@ extern "C" {
/* The max key length of all supported algorithms */
#define MY_AES_MAX_KEY_LENGTH 32
-#define MY_AES_CTX_SIZE 560
+#define MY_AES_CTX_SIZE 600
enum my_aes_mode {
MY_AES_ECB, MY_AES_CBC