aboutsummaryrefslogtreecommitdiff
path: root/gosthash2012_sse2.h
diff options
context:
space:
mode:
authorVitaly Chikunov <vt@altlinux.org>2020-02-01 02:57:15 +0300
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>2020-02-02 21:05:29 +0300
commit88a44b67c76ce938f124e22e6a882780a98731fb (patch)
tree9426613876d0c513f62b6290330830d50adf052b /gosthash2012_sse2.h
parentb3dd924c96575efc13392530295e0c30254780b1 (diff)
downloadgost-engine-88a44b67c76ce938f124e22e6a882780a98731fb.zip
gost-engine-88a44b67c76ce938f124e22e6a882780a98731fb.tar.gz
gost-engine-88a44b67c76ce938f124e22e6a882780a98731fb.tar.bz2
gosthash2012: Enable building with SIMD implementation
Also, add compile time notice message to show which implementation is selected.
Diffstat (limited to 'gosthash2012_sse2.h')
-rw-r--r--gosthash2012_sse2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gosthash2012_sse2.h b/gosthash2012_sse2.h
index 6401beb..f45dab1 100644
--- a/gosthash2012_sse2.h
+++ b/gosthash2012_sse2.h
@@ -12,6 +12,8 @@
# error "GOST R 34.11-2012: SSE2 not enabled"
#endif
+# pragma message "Use SIMD implementation"
+
#include <mmintrin.h>
#include <emmintrin.h>