Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

ICC failed some tests from Monocypher crypto library

P__Mike
Beginner
1,072 Views
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
5 Replies
RahulV_intel
Moderator
1,072 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
P__Mike
Beginner
1,072 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
Viet_H_Intel
Moderator
1,072 Views

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

0 Kudos
Viet_H_Intel
Moderator
925 Views

Hi Mike,

This issue is fixed in oneAPI HPC 2021.2 toolkit. Please test this compiler out and let us know so that we can close this thread.

Thanks,


0 Kudos
ArpitaP_Intel
Moderator
866 Views

Hi Mike,

 

We assume that your issue is resolved. If you need any additional information, please submit a new question as this thread will no longer be monitored

 

Regards,

Arpita

 

0 Kudos
Reply