Implementation notes: amd64, pascalinspiron75062n1, crypto_sign/pflash1

Computer: pascalinspiron75062n1
Architecture: amd64
CPU ID: GenuineIntel-000806c1-bfebfbff
SUPERCOP version: 20210125
Operation: crypto_sign
Primitive: pflash1

Compiler output

Implementation: T:ref
Security model: timingleaks
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: /usr/bin/ld: crypto_sign_pflash1.a(PFLASH.o): in function `PFLASH_QMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow88'
try.c: /usr/bin/ld: crypto_sign_pflash1.a(PFLASH.o): in function `PFLASH_ivsQMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow24'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /usr/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 T:ref
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE
BLAS.c: In file included from /usr/include/string.h:495,
BLAS.c: from BLAS.c:6:
BLAS.c: In function 'memset',
BLAS.c: inlined from 'BLAS_affineGF16' at BLAS.c:284:2:
BLAS.c: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:71:10: warning: '__builtin_memset' specified size between 18446744072635809792 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
BLAS.c: 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));
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: /usr/bin/ld: crypto_sign_pflash1.a(PFLASH.o): in function `PFLASH_QMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow88'
try.c: /usr/bin/ld: crypto_sign_pflash1.a(PFLASH.o): in function `PFLASH_ivsQMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow24'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow56'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /usr/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 T:ref

Compiler output

Implementation: T:ref
Security model: timingleaks
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: /usr/bin/ld: crypto_sign_pflash1.a(PFLASH.o): in function `PFLASH_QMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polyPow88'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /usr/bin/ld: crypto_sign_pflash1.a(PFLASH.o): in function `PFLASH_ivsQMap':
try.c: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polySqu'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow24'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyPow8'
try.c: /usr/bin/ld: PFLASH.c:(.text+0x...): undefined reference to `polyMul'
try.c: /usr/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 T:ref