Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
45 Views

ICC failed some tests from Monocypher crypto library

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, pcc, cproc, 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)
0 Kudos
3 Replies
Highlighted
Moderator
45 Views

Hi Mike,

You are right. 3 tests are failing with monocypher-3.1.0 version. But with 3.0.0 version, I don't see any issue. Thanks for reporting this, we will let the concerned team know about this issue.

 

--Rahul

0 Kudos
Highlighted
Beginner
45 Views

Vaidya, Rahul (Intel) wrote:

Hi Mike,

You are right. 3 tests are failing with monocypher-3.1.0 version. But with 3.0.0 version, I don't see any issue. Thanks for reporting this, we will let the concerned team know about this issue.

 

--Rahul

 

Feel free open issue on github. Looking forward to hearing from you soon.

 

Thanks a lot.

 

0 Kudos
Highlighted
Moderator
45 Views

Looks like a bug in the compiler. I've reported it to our Developer.

0 Kudos