diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2020-02-01 02:57:15 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@users.noreply.github.com> | 2020-02-02 21:05:29 +0300 |
commit | 88a44b67c76ce938f124e22e6a882780a98731fb (patch) | |
tree | 9426613876d0c513f62b6290330830d50adf052b /gosthash2012_ref.h | |
parent | b3dd924c96575efc13392530295e0c30254780b1 (diff) | |
download | gost-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_ref.h')
-rw-r--r-- | gosthash2012_ref.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gosthash2012_ref.h b/gosthash2012_ref.h index 6d43d9e..25f0ed8 100644 --- a/gosthash2012_ref.h +++ b/gosthash2012_ref.h @@ -12,6 +12,8 @@ # error "GOST R 34.11-2012: portable implementation disabled in config.h" #endif +# pragma message "Use regular implementation" + #define X(x, y, z) { \ z->QWORD[0] = x->QWORD[0] ^ y->QWORD[0]; \ z->QWORD[1] = x->QWORD[1] ^ y->QWORD[1]; \ |