Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

ICC failed some tests from Monocypher crypto library

$
0
0

hi all,

https://monocypher.org/
https://github.com/LoupVaillant/Monocypher

Monocypher is unique one file crypto library.
It already compiles and passed tests on different compilers and platforms: gcc, clang, tcc, "Oracle Developer studio", "IBM XL C".
Also it passing TIS and CompCert (both interpreter mode) and runtime SANs from gcc-clang family.

ICC failed on *some* tests from library test suite.

My Ubuntu 18.04.4 LTS, x64 environment:
$ uname -a
Linux ubuntu 5.3.0-46-generic #38~18.04.1-Ubuntu SMP Tue Mar 31 04:17:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ icc -v
icc version 19.1.1.219 (gcc version 7.5.0 compatibility)

How to repeat:
$ wget https://monocypher.org/download/monocypher-3.1.0.tar.gz
$ tar zxvf monocypher-3.1.0.tar.gz
$ cd monocypher-3.1.0/
$ make test
// all lines starting with "OK"
// "All tests OK!" as last line of output
$ make clean
$ make test CC=icc
// three FAILED tests:
// FAILED 48 tests: poly1305
// FAILED 320 tests: aead_ietf
// FAILED: Poly1305 (incremental)


Viewing all articles
Browse latest Browse all 1175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>