There is a difficulty in running "nist round 3 classic mceliece"

119 Views Asked by At

There is a difficulty in running "nist round 3 classic mceliece". I'd like to run the classic mceliece submitted to Nist. but when i run "make"

crypto_hash.h: 3:10: fatal error: libkeccak.a.heads/Simple FIPS202.h: No such file or directory exists
3 | #include <libkeccak.a.headers/SimpleFIPS202.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:5: kat] Error 1".

I referred to the question C++ Using Keccak Library.

So I downloaded it from "https://github.com/XKCP/XKCP" but it doesn't work. (Probably the same as "https://github.com/gvanas/KeccakCodePackage")

I think the name of libkeccak has been changed. (KXCP?)

1

There are 1 best solutions below

0
Davo176 On

I encountered the same issue and managed to solve it.

Your linked post helped me: C++ Using Keccak Library

Then you need to change the include from libkeccak.a.headers/SimpleFIPS202.h to libXKCP.a.headers/SimpleFIPS202.h

After that, you also need to change one of the flags in compilation from -lkeccak to -lXKCP, this is in the file build