aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/cryptobox.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-06 17:04:30 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-02-06 17:04:30 +0000
commit84a551b5fb0d3c052b7f06a46400cc841ebba7c0 (patch)
tree134411f8c24c5fa27932ab3b849bec7636b34e1a /src/libcryptobox/cryptobox.h
parentceb87422adb1d3cc36a7e4de9c728299c31f465a (diff)
downloadrspamd-84a551b5fb0d3c052b7f06a46400cc841ebba7c0.tar.gz
rspamd-84a551b5fb0d3c052b7f06a46400cc841ebba7c0.zip
[Minor] Add sse42 support
Diffstat (limited to 'src/libcryptobox/cryptobox.h')
-rw-r--r--src/libcryptobox/cryptobox.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcryptobox/cryptobox.h b/src/libcryptobox/cryptobox.h
index 3ae7679d0..601b2e505 100644
--- a/src/libcryptobox/cryptobox.h
+++ b/src/libcryptobox/cryptobox.h
@@ -42,7 +42,8 @@ struct rspamd_cryptobox_segment {
#define CPUID_SSE3 0x8
#define CPUID_SSSE3 0x10
#define CPUID_SSE41 0x20
-#define CPUID_RDRAND 0x40
+#define CPUID_SSE42 0x40
+#define CPUID_RDRAND 0x80
typedef guchar rspamd_pk_t[rspamd_cryptobox_MAX_PKBYTES];
typedef guchar rspamd_sk_t[rspamd_cryptobox_MAX_SKBYTES];