[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[openssl-gost] [gost-engine/engine] 0755b6: gosthash2012: Properly ifdef '_mm_empty' call
Branch: refs/heads/master
Home: https://github.com/gost-engine/engine
Commit: 0755b6e5faa6f32ed64357a78f1b5408e4d710e8
https://github.com/gost-engine/engine/commit/0755b6e5faa6f32ed64357a78f1b5408e4d710e8
Author: Vitaly Chikunov <vt@altlinux.org>
Date: 2020-02-10 (Mon, 10 Feb 2020)
Changed paths:
M gosthash2012.c
Log Message:
-----------
gosthash2012: Properly ifdef '_mm_empty' call
There is other architectures besides __x86_64__, so EMMS should be
issued on IA-32 only where we are using MMX.
Commit: 66253948abbb95c04dcf5e2d302feefb55c52a7a
https://github.com/gost-engine/engine/commit/66253948abbb95c04dcf5e2d302feefb55c52a7a
Author: Vitaly Chikunov <vt@altlinux.org>
Date: 2020-02-10 (Mon, 10 Feb 2020)
Changed paths:
M CMakeLists.txt
Log Message:
-----------
elbrus: Workaround '#pragma message' [-Werror=unknown-pragmas]
"lcc: "/usr/src/gost-engine/gosthash2012_ref.h", строка 15: ошибка:
нераспознанная #pragma [-Werror=unknown-pragmas]
# pragma message "Use regular implementation"
^"
Also, cmake does not detect lcc.
Commit: 7e6ed644cf97385a95544fcc889e2eb16bcc93ed
https://github.com/gost-engine/engine/commit/7e6ed644cf97385a95544fcc889e2eb16bcc93ed
Author: Vitaly Chikunov <vt@altlinux.org>
Date: 2020-02-10 (Mon, 10 Feb 2020)
Changed paths:
M test_curves.c
Log Message:
-----------
elbrus: Workaround `-Werror=assign-where-compare-meant'
This is lcc bug. Curiously, it is not triggered in `test_context.c' and
`test_grasshopper.c'.
"lcc: "/usr/src/gost-engine/test_curves.c", строка 32: ошибка:
вероятное использование "=" вместо "=="
[-Werror=assign-where-compare-meant]
#define TEST_ASSERT(e) {if ((test = (e))) \
^
в раскрытие макроса "TEST_ASSERT" на строке 217
TEST_ASSERT(0);"
Commit: 053ecb0a582e2dbfba5ddd6dc8dafb5698051ac4
https://github.com/gost-engine/engine/commit/053ecb0a582e2dbfba5ddd6dc8dafb5698051ac4
Author: Vitaly Chikunov <vt@altlinux.org>
Date: 2020-02-10 (Mon, 10 Feb 2020)
Changed paths:
M gosthash2012.c
M gosthash2012.h
Log Message:
-----------
elbrus: Treat __e2k__ as __x86_64__ for Streebog
lcc emulates x86_64 SIMD intrinsics, so SSE2 code will work as is. Even
though in benchmarks it is slightly slower than regular implementation
Compare: https://github.com/gost-engine/engine/compare/4d72cb81e2ea...053ecb0a582e