Implementation notes: mipso32, gcc23, crypto_sign/gemss192

Computer: gcc23
Microarchitecture: mipso32; Octeon II (cnmips64v2)
Architecture: mipso32
CPU ID: unknown CPU ID
SUPERCOP version: 20230530
Operation: crypto_sign
Primitive: gemss192

Test failure

Implementation: T:ref
Security model: timingleaks
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111
inv: non-invertible matrix

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Compiler output

Implementation: T:opt
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
arith_gf2n.c: In file included from tools_gf2n.h:162:0,
arith_gf2n.c: from arith_gf2n.h:9,
arith_gf2n.c: from arith_gf2n.c:1:
arith_gf2n.c: mul_gf2x.h:17:32: fatal error: gf2x/gf2x_mul1.h: No such file or directory
arith_gf2n.c: #include <gf2x/gf2x_mul1.h>
arith_gf2n.c: ^
arith_gf2n.c: compilation terminated.

Number of similar (compiler,implementation) pairs: 8, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:skylake
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:skylake
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:skylake
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:skylake

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
sign_openHFE.c: In file included from config_HFE.h:5:0,
sign_openHFE.c: from sign_openHFE.h:4,
sign_openHFE.c: from sign_openHFE.c:1:
sign_openHFE.c: sign_openHFE.c: In function 'int sign_openHFE(const unsigned char*, size_t, const unsigned char*, const uint64_t*)':
sign_openHFE.c: bit.h:44:32: warning: left shift count >= width of type
sign_openHFE.c: #define mask64(k) ((k)?(1UL<<(k))-1UL:-1UL)
sign_openHFE.c: ^
sign_openHFE.c: config_HFE.h:613:19: note: in expansion of macro 'mask64'
sign_openHFE.c: #define HFE_MASKm mask64(HFEmr)
sign_openHFE.c: ^
sign_openHFE.c: sign_openHFE.c:205:55: note: in expansion of macro 'HFE_MASKm'
sign_openHFE.c: D[SIZE_DIGEST_UINT*(i-1)+NB_WORD_GFqm-1]&=HFE_MASKm;
sign_openHFE.c: ^
sign_openHFE.c: bit.h:44:32: warning: left shift count >= width of type
sign_openHFE.c: #define mask64(k) ((k)?(1UL<<(k))-1UL:-1UL)
sign_openHFE.c: ^
sign_openHFE.c: config_HFE.h:613:19: note: in expansion of macro 'mask64'
sign_openHFE.c: #define HFE_MASKm mask64(HFEmr)
sign_openHFE.c: ^
sign_openHFE.c: sign_openHFE.c:210:51: note: in expansion of macro 'HFE_MASKm'
sign_openHFE.c: D[SIZE_DIGEST_UINT*(i-1)+NB_WORD_GFqm-1]&=HFE_MASKm;
sign_openHFE.c: ^
sign_openHFE.c: bit.h:44:32: warning: left shift count >= width of type
sign_openHFE.c: #define mask64(k) ((k)?(1UL<<(k))-1UL:-1UL)
sign_openHFE.c: ^
sign_openHFE.c: ...
evaluateMQS.cpp: In file included from config_HFE.h:5:0,
evaluateMQS.cpp: from evaluateMQS.hpp:4,
evaluateMQS.cpp: from evaluateMQS.cpp:1:
evaluateMQS.cpp: evaluateMQS.cpp: In function 'void evaluateMQS_pk(vecm_gf2, cst_vecnv_gf2, cst_mqsnv_gf2m)':
evaluateMQS.cpp: bit.h:44:32: warning: left shift count >= width of type
evaluateMQS.cpp: #define mask64(k) ((k)?(1UL<<(k))-1UL:-1UL)
evaluateMQS.cpp: ^
evaluateMQS.cpp: config_HFE.h:613:19: note: in expansion of macro 'mask64'
evaluateMQS.cpp: #define HFE_MASKm mask64(HFEmr)
evaluateMQS.cpp: ^
evaluateMQS.cpp: evaluateMQS.cpp:56:28: note: in expansion of macro 'HFE_MASKm'
evaluateMQS.cpp: c[NB_WORD_GFqm-1]&=HFE_MASKm;
evaluateMQS.cpp: ^
signHFE.cpp: In file included from config_HFE.h:5:0,
signHFE.cpp: from signHFE.hpp:4,
signHFE.cpp: from signHFE.cpp:1:
signHFE.cpp: signHFE.cpp: In function 'int signHFE(unsigned char*, const unsigned char*, size_t, const uint64_t*)':
signHFE.cpp: bit.h:44:32: warning: left shift count >= width of type
signHFE.cpp: #define mask64(k) ((k)?(1UL<<(k))-1UL:-1UL)
signHFE.cpp: ^
signHFE.cpp: config_HFE.h:613:19: note: in expansion of macro 'mask64'
signHFE.cpp: #define HFE_MASKm mask64(HFEmr)
signHFE.cpp: ^
signHFE.cpp: signHFE.cpp:283:33: note: in expansion of macro 'HFE_MASKm'
signHFE.cpp: DR[NB_WORD_GFqm-1]&=HFE_MASKm;
signHFE.cpp: ^
signHFE.cpp: bit.h:44:32: warning: left shift count >= width of type
signHFE.cpp: #define mask64(k) ((k)?(1UL<<(k))-1UL:-1UL)
signHFE.cpp: ^
signHFE.cpp: config_HFE.h:613:19: note: in expansion of macro 'mask64'
signHFE.cpp: #define HFE_MASKm mask64(HFEmr)
signHFE.cpp: ^
signHFE.cpp: config_HFE.h:638:23: note: in expansion of macro 'HFE_MASKm'
signHFE.cpp: #define HFE_MASKnvm (~HFE_MASKm)
signHFE.cpp: ^
signHFE.cpp: signHFE.cpp:443:32: note: in expansion of macro 'HFE_MASKnvm'
signHFE.cpp: sm[index]&=HFE_MASKnvm;
signHFE.cpp: ^

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
g++ -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref
g++ -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref