Implementation notes: amd64, genji262, crypto_sign/pflash1

Computer: genji262
Architecture: amd64
CPU ID: AuthenticAMD-00800f12-178bfbff
SUPERCOP version: 20191017
Operation: crypto_sign
Primitive: pflash1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
766106120816 1088 5984130143 2264 7584reficc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102420191017
767228115960 1088 5984125527 2264 7584reficc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102420191017
854568118376 1088 5952127751 2264 7552reficc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102420191017
864864121024 1088 5984130351 2264 7584reficc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102420191017
866800118376 1088 5952127751 2264 7552reficc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102420191017
897578118376 1088 5952127751 2264 7552reficc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102420191017
908622117048 1088 5952125151 2264 7552reficc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102420191017
919006111336 1088 5952120519 2264 7552reficc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102420191017
922922109504 1088 5952117391 2264 7552reficc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102420191017
931172118376 1088 5952127751 2264 7552reficc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102420191017
962874115032 1088 5984124599 2264 7584reficc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102420191017
970222111336 1088 5952120519 2264 7552reficc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102420191017
985006121024 1088 5984130351 2264 7584reficc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102420191017
1090188111336 1088 5952120519 2264 7552reficc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102420191017
1092982121024 1088 5984130351 2264 7584reficc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102420191017
1117072115960 1088 5984125527 2264 7584reficc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102420191017
1142988115960 1088 5984125527 2264 7584reficc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102420191017
1164812111336 1088 5952120519 2264 7552reficc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102420191017

Test failure

Implementation: ref
Security model: unknown
Compiler: icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 6, namely:
CompilerImplementations
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer ref
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer ref
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer ref
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer ref
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer ref
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
SignScheme.c: SignScheme.c:211:19: warning: passing 'const unsigned char *' to parameter of type 'byte *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
SignScheme.c: SignScheme_sign( sk , h , mlen , sm );
SignScheme.c: ^~
SignScheme.c: SignScheme.c:95:29: note: passing argument to parameter 'pri' here
SignScheme.c: int SignScheme_sign( byte * pri , byte * Y , int Ylen , byte * outX )
SignScheme.c: ^
SignScheme.c: SignScheme.c:227:19: warning: passing 'const unsigned char *' to parameter of type 'byte *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
SignScheme.c: SignScheme_GMap( pk , sm , h );
SignScheme.c: ^~
SignScheme.c: SignScheme.c:152:29: note: passing argument to parameter 'pub' here
SignScheme.c: int SignScheme_GMap( byte * pub , byte * X , byte * outY )
SignScheme.c: ^
SignScheme.c: SignScheme.c:227:24: warning: passing 'const unsigned char *' to parameter of type 'byte *' (aka 'unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
SignScheme.c: SignScheme_GMap( pk , sm , h );
SignScheme.c: ^~
SignScheme.c: SignScheme.c:152:42: note: passing argument to parameter 'X' here
SignScheme.c: int SignScheme_GMap( byte * pub , byte * X , byte * outY )
SignScheme.c: ^
SignScheme.c: 3 warnings generated.
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/bin/ld: crypto_sign_pflash1.a(PFLASH.o): in function `PFLASH_QMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow88'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/bin/ld: crypto_sign_pflash1.a(PFLASH.o): in function `PFLASH_ivsQMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow24'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
PFLASH.c: PFLASH.c:152:16: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 152 | memcpy( outZ ,_Z,37);
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:149:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 149 | _Z[i-(37- 0)] ^= temp;
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:148:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 148 | _Z[i-(37- 2)] ^= temp;
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:147:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 147 | _Z[i-(37-10)] ^= temp;
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:146:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 146 | _Z[i-(37-12)] ^= temp;
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:143:10: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 143 | temp = _Z[i];
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:136:15: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 136 | if( logY ) _Z[i+j] ^= alogtab[logX+logY];
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:128:11: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 128 | memset(_Z,0,73);
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:122:16: warning: '_Z' is static but used in inline function 'polySqu' which is not static
PFLASH.c: ...
SignScheme.c: SignScheme.c: In function 'signatureofshorthash':
SignScheme.c: SignScheme.c:211:19: warning: passing argument 1 of 'SignScheme_sign' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
SignScheme.c: 211 | SignScheme_sign( sk , h , mlen , sm );
SignScheme.c: | ^~
SignScheme.c: SignScheme.c:95:29: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'const unsigned char *'
SignScheme.c: 95 | int SignScheme_sign( byte * pri , byte * Y , int Ylen , byte * outX )
SignScheme.c: | ~~~~~~~^~~
SignScheme.c: SignScheme.c: In function 'verification':
SignScheme.c: SignScheme.c:227:19: warning: passing argument 1 of 'SignScheme_GMap' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
SignScheme.c: 227 | SignScheme_GMap( pk , sm , h );
SignScheme.c: | ^~
SignScheme.c: SignScheme.c:152:29: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'const unsigned char *'
SignScheme.c: 152 | int SignScheme_GMap( byte * pub , byte * X , byte * outY )
SignScheme.c: | ~~~~~~~^~~
SignScheme.c: SignScheme.c:227:24: warning: passing argument 2 of 'SignScheme_GMap' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
SignScheme.c: 227 | SignScheme_GMap( pk , sm , h );
SignScheme.c: | ^~
SignScheme.c: SignScheme.c:152:42: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'const unsigned char *'
SignScheme.c: 152 | int SignScheme_GMap( byte * pub , byte * X , byte * outY )
SignScheme.c: | ~~~~~~~^
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_sign_pflash1.a(PFLASH.o): in function `PFLASH_QMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow88'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_sign_pflash1.a(PFLASH.o): in function `PFLASH_ivsQMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow24'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
BLAS.c: BLAS.c: In function 'BLAS_affineGF16':
BLAS.c: BLAS.c:284:2: warning: 'memset' specified size between 18446744072635809792 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
BLAS.c: 284 | memset(b, 0, sizeof(byte)*dim_div_2);
BLAS.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PFLASH.c: PFLASH.c:152:16: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 152 | memcpy( outZ ,_Z,37);
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:149:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 149 | _Z[i-(37- 0)] ^= temp;
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:148:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 148 | _Z[i-(37- 2)] ^= temp;
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:147:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 147 | _Z[i-(37-10)] ^= temp;
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:146:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 146 | _Z[i-(37-12)] ^= temp;
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:143:10: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 143 | temp = _Z[i];
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:136:15: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 136 | if( logY ) _Z[i+j] ^= alogtab[logX+logY];
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:128:11: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 128 | memset(_Z,0,73);
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:122:16: warning: '_Z' is static but used in inline function 'polySqu' which is not static
PFLASH.c: ...
SignScheme.c: SignScheme.c: In function 'signatureofshorthash':
SignScheme.c: SignScheme.c:211:19: warning: passing argument 1 of 'SignScheme_sign' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
SignScheme.c: 211 | SignScheme_sign( sk , h , mlen , sm );
SignScheme.c: | ^~
SignScheme.c: SignScheme.c:95:29: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'const unsigned char *'
SignScheme.c: 95 | int SignScheme_sign( byte * pri , byte * Y , int Ylen , byte * outX )
SignScheme.c: | ~~~~~~~^~~
SignScheme.c: SignScheme.c: In function 'verification':
SignScheme.c: SignScheme.c:227:19: warning: passing argument 1 of 'SignScheme_GMap' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
SignScheme.c: 227 | SignScheme_GMap( pk , sm , h );
SignScheme.c: | ^~
SignScheme.c: SignScheme.c:152:29: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'const unsigned char *'
SignScheme.c: 152 | int SignScheme_GMap( byte * pub , byte * X , byte * outY )
SignScheme.c: | ~~~~~~~^~~
SignScheme.c: SignScheme.c:227:24: warning: passing argument 2 of 'SignScheme_GMap' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
SignScheme.c: 227 | SignScheme_GMap( pk , sm , h );
SignScheme.c: | ^~
SignScheme.c: SignScheme.c:152:42: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'const unsigned char *'
SignScheme.c: 152 | int SignScheme_GMap( byte * pub , byte * X , byte * outY )
SignScheme.c: | ~~~~~~~^
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_sign_pflash1.a(PFLASH.o): in function `PFLASH_QMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow88'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_sign_pflash1.a(PFLASH.o): in function `PFLASH_ivsQMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow24'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: collect2: error: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
PFLASH.c: PFLASH.c:152:16: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 152 | memcpy( outZ ,_Z,37);
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:149:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 149 | _Z[i-(37- 0)] ^= temp;
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:148:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 148 | _Z[i-(37- 2)] ^= temp;
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:147:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 147 | _Z[i-(37-10)] ^= temp;
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:146:4: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 146 | _Z[i-(37-12)] ^= temp;
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:143:10: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 143 | temp = _Z[i];
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:136:15: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 136 | if( logY ) _Z[i+j] ^= alogtab[logX+logY];
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:128:11: warning: '_Z' is static but used in inline function 'polyMul' which is not static
PFLASH.c: 128 | memset(_Z,0,73);
PFLASH.c: | ^~
PFLASH.c: PFLASH.c:122:16: warning: '_Z' is static but used in inline function 'polySqu' which is not static
PFLASH.c: ...
SignScheme.c: SignScheme.c: In function 'signatureofshorthash':
SignScheme.c: SignScheme.c:211:19: warning: passing argument 1 of 'SignScheme_sign' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
SignScheme.c: 211 | SignScheme_sign( sk , h , mlen , sm );
SignScheme.c: | ^~
SignScheme.c: SignScheme.c:95:29: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'const unsigned char *'
SignScheme.c: 95 | int SignScheme_sign( byte * pri , byte * Y , int Ylen , byte * outX )
SignScheme.c: | ~~~~~~~^~~
SignScheme.c: SignScheme.c: In function 'verification':
SignScheme.c: SignScheme.c:227:19: warning: passing argument 1 of 'SignScheme_GMap' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
SignScheme.c: 227 | SignScheme_GMap( pk , sm , h );
SignScheme.c: | ^~
SignScheme.c: SignScheme.c:152:29: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'const unsigned char *'
SignScheme.c: 152 | int SignScheme_GMap( byte * pub , byte * X , byte * outY )
SignScheme.c: | ~~~~~~~^~~
SignScheme.c: SignScheme.c:227:24: warning: passing argument 2 of 'SignScheme_GMap' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
SignScheme.c: 227 | SignScheme_GMap( pk , sm , h );
SignScheme.c: | ^~
SignScheme.c: SignScheme.c:152:42: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'const unsigned char *'
SignScheme.c: 152 | int SignScheme_GMap( byte * pub , byte * X , byte * outY )
SignScheme.c: | ~~~~~~~^
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_sign_pflash1.a(PFLASH.o): in function `PFLASH_QMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow88'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: crypto_sign_pflash1.a(PFLASH.o): in function `PFLASH_ivsQMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow24'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
PFLASH.c: PFLASH.c(152): warning #1173: an entity with internal linkage cannot be referenced within an inline function with external linkage
PFLASH.c: memcpy( outZ ,_Z,37);
PFLASH.c: ^
PFLASH.c:
PFLASH.c: PFLASH.c(149): warning #1173: an entity with internal linkage cannot be referenced within an inline function with external linkage
PFLASH.c: _Z[i-(37- 0)] ^= temp;
PFLASH.c: ^
PFLASH.c:
PFLASH.c: PFLASH.c(148): warning #1173: an entity with internal linkage cannot be referenced within an inline function with external linkage
PFLASH.c: _Z[i-(37- 2)] ^= temp;
PFLASH.c: ^
PFLASH.c:
PFLASH.c: PFLASH.c(147): warning #1173: an entity with internal linkage cannot be referenced within an inline function with external linkage
PFLASH.c: _Z[i-(37-10)] ^= temp;
PFLASH.c: ^
PFLASH.c:
PFLASH.c: PFLASH.c(146): warning #1173: an entity with internal linkage cannot be referenced within an inline function with external linkage
PFLASH.c: _Z[i-(37-12)] ^= temp;
PFLASH.c: ^
PFLASH.c:
PFLASH.c: PFLASH.c(143): warning #1173: an entity with internal linkage cannot be referenced within an inline function with external linkage
PFLASH.c: temp = _Z[i];
PFLASH.c: ^
PFLASH.c:
PFLASH.c: PFLASH.c(136): warning #1173: an entity with internal linkage cannot be referenced within an inline function with external linkage
PFLASH.c: ...
SignScheme.c: SignScheme.c(211): warning #2330: argument of type "const unsigned char *" is incompatible with parameter of type "byte={unsigned char} *" (dropping qualifiers)
SignScheme.c: SignScheme_sign( sk , h , mlen , sm );
SignScheme.c: ^
SignScheme.c:
SignScheme.c: SignScheme.c(227): warning #2330: argument of type "const unsigned char *" is incompatible with parameter of type "byte={unsigned char} *" (dropping qualifiers)
SignScheme.c: SignScheme_GMap( pk , sm , h );
SignScheme.c: ^
SignScheme.c:
SignScheme.c: SignScheme.c(227): warning #2330: argument of type "const unsigned char *" is incompatible with parameter of type "byte={unsigned char} *" (dropping qualifiers)
SignScheme.c: SignScheme_GMap( pk , sm , h );
SignScheme.c: ^
SignScheme.c:

Number of similar (compiler,implementation) pairs: 24, namely:
CompilerImplementations
icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer ref
icc -march=broadwell -mtune=broadwell -O3 -fomit-frame-pointer ref
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer ref
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer ref
icc -march=core-avx-i -mtune=core-avx-i -O2 -fomit-frame-pointer ref
icc -march=core-avx-i -mtune=core-avx-i -O3 -fomit-frame-pointer ref
icc -march=core-avx2 -mtune=core-avx2 -O2 -fomit-frame-pointer ref
icc -march=core-avx2 -mtune=core-avx2 -O3 -fomit-frame-pointer ref
icc -march=corei7-avx -mtune=corei7-avx -O2 -fomit-frame-pointer ref
icc -march=corei7-avx -mtune=corei7-avx -O3 -fomit-frame-pointer ref
icc -march=corei7 -mtune=corei7 -O2 -fomit-frame-pointer ref
icc -march=corei7 -mtune=corei7 -O3 -fomit-frame-pointer ref
icc -march=haswell -mtune=haswell -O2 -fomit-frame-pointer ref
icc -march=haswell -mtune=haswell -O3 -fomit-frame-pointer ref
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer ref
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer ref
icc -march=ivybridge -mtune=ivybridge -O2 -fomit-frame-pointer ref
icc -march=ivybridge -mtune=ivybridge -O3 -fomit-frame-pointer ref
icc -march=sandybridge -mtune=sandybridge -O2 -fomit-frame-pointer ref
icc -march=sandybridge -mtune=sandybridge -O3 -fomit-frame-pointer ref
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer ref
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer ref
icc -march=skylake -mtune=skylake -O2 -fomit-frame-pointer ref
icc -march=skylake -mtune=skylake -O3 -fomit-frame-pointer ref