Implementation notes: amd64, bolero, crypto_dh/ed448goldilocks
Computer: bolero
Microarchitecture: amd64; Broadwell+AES (406f1)
Architecture: amd64
CPU ID: GenuineIntel-000406f1-1fc9cbf5
SUPERCOP version: 20240625
Operation: crypto_dh
Primitive: ed448goldilocks
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
1255908 | 64610 24 21924 | 86828 944 23560 | T:amd64 | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
1269560 | 60530 24 21924 | 82508 944 23560 | T:amd64 | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
1282844 | 47155 24 21924 | 66854 936 23592 | T:amd64 | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
1294820 | 68704 24 21924 | 90180 944 23528 | T:amd64 | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
1306320 | 52550 24 21924 | 71628 944 23528 | T:amd64 | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
1462636 | 92052 24 21924 | 115740 944 23560 | T:64 | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
1466684 | 89492 24 21924 | 112860 944 23560 | T:64 | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
1689396 | 96114 24 21924 | 118308 944 23528 | T:64 | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
1729476 | 65152 24 21924 | 84110 936 23592 | T:64 | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
1835196 | 60058 24 21924 | 80900 944 23528 | T:64 | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
4519116 | 84589 24 18852 | 105932 944 20456 | T:32 | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
4762580 | 54778 24 18852 | 74716 944 20456 | T:32 | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
8666704 | 51470 24 18852 | 71974 936 20520 | T:32 | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
9007876 | 78235 24 18852 | 99060 944 20488 | T:32 | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
9484025 | 80803 24 18852 | 101940 944 20488 | T:32 | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240626 | 20240625 |
Test failure
error 111
crypto_dh returns nonzero
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:amd64 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
barrett_field.c: In file included from barrett_field.c:5:
barrett_field.c: In file included from ./barrett_field.h:15:
barrett_field.c: In file included from ./word.h:17:
barrett_field.c: In file included from /usr/include/endian.h:21:
barrett_field.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
barrett_field.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: ^
barrett_field.c: 1 warning generated.
ec_point.c: In file included from ec_point.c:12:
ec_point.c: In file included from ./ec_point.h:13:
ec_point.c: In file included from ./p448.h:7:
ec_point.c: In file included from ./word.h:17:
ec_point.c: In file included from /usr/include/endian.h:21:
ec_point.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
ec_point.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
ec_point.c: ^
ec_point.c: 1 warning generated.
goldilocks.c: In file included from goldilocks.c:6:
goldilocks.c: In file included from ./word.h:17:
goldilocks.c: In file included from /usr/include/endian.h:21:
goldilocks.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
goldilocks.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c: ^
goldilocks.c: 1 warning generated.
magic.c: In file included from magic.c:5:
magic.c: In file included from ./field.h:11:
magic.c: In file included from ./magic.h:14:
magic.c: In file included from ./word.h:17:
magic.c: In file included from /usr/include/endian.h:21:
magic.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
magic.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c: ^
magic.c: 1 warning generated.
p448.c: In file included from p448.c:5:
p448.c: In file included from ./word.h:17:
p448.c: In file included from /usr/include/endian.h:21:
p448.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
p448.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
p448.c: ^
p448.c: 1 warning generated.
scalarmul.c: In file included from scalarmul.c:5:
scalarmul.c: In file included from ./word.h:17:
scalarmul.c: In file included from /usr/include/endian.h:21:
scalarmul.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
scalarmul.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
scalarmul.c: ^
scalarmul.c: 1 warning generated.
sha512.c: In file included from sha512.c:5:
sha512.c: In file included from ./word.h:17:
sha512.c: In file included from /usr/include/endian.h:21:
sha512.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
sha512.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
sha512.c: ^
sha512.c: 1 warning generated.
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:32 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:32 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:32 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:32 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:32 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: | ^~~~~~~
dh.c: dh.c:16:19: warning: argument 1 of type 'unsigned char[144]' with mismatched bound [-Warray-parameter=]
dh.c: 16 | unsigned char pk[SECRETKEY_BYTES],
dh.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
dh.c: In file included from crypto_dh.h:4,
dh.c: from dh.c:13:
dh.c: crypto_dh_ed448goldilocks.h:33:61: note: previously declared as 'unsigned char *'
dh.c: 33 | extern int crypto_dh_ed448goldilocks_32_timingleaks_keypair(unsigned char *,unsigned char *);
dh.c: | ^~~~~~~~~~~~~~~
dh.c: dh.c:17:19: warning: argument 2 of type 'unsigned char[56]' with mismatched bound [-Warray-parameter=]
dh.c: 17 | unsigned char sk[PUBLICKEY_BYTES]
dh.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
dh.c: In file included from crypto_dh.h:4,
dh.c: from dh.c:13:
dh.c: crypto_dh_ed448goldilocks.h:33:77: note: previously declared as 'unsigned char *'
dh.c: 33 | extern int crypto_dh_ed448goldilocks_32_timingleaks_keypair(unsigned char *,unsigned char *);
dh.c: | ^~~~~~~~~~~~~~~
dh.c: dh.c:31:19: warning: argument 1 of type 'unsigned char[64]' with mismatched bound [-Warray-parameter=]
dh.c: 31 | unsigned char s[SHAREDSECRET_BYTES],
dh.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from crypto_dh.h:4,
dh.c: from dh.c:13:
dh.c: crypto_dh_ed448goldilocks.h:32:53: note: previously declared as 'unsigned char *'
dh.c: 32 | extern int crypto_dh_ed448goldilocks_32_timingleaks(unsigned char *,const unsigned char *,const unsigned char *);
dh.c: | ^~~~~~~~~~~~~~~
dh.c: dh.c:32:25: warning: argument 2 of type 'const unsigned char[56]' with mismatched bound [-Warray-parameter=]
dh.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:32 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:32 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:32 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:32 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
barrett_field.c: In file included from barrett_field.c:5:
barrett_field.c: In file included from ./barrett_field.h:15:
barrett_field.c: In file included from ./word.h:17:
barrett_field.c: In file included from /usr/include/endian.h:21:
barrett_field.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
barrett_field.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: ^
barrett_field.c: 1 warning generated.
goldilocks.c: In file included from goldilocks.c:6:
goldilocks.c: In file included from ./word.h:17:
goldilocks.c: In file included from /usr/include/endian.h:21:
goldilocks.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
goldilocks.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c: ^
goldilocks.c: 1 warning generated.
magic.c: In file included from magic.c:5:
magic.c: In file included from ./field.h:11:
magic.c: In file included from ./magic.h:14:
magic.c: In file included from ./word.h:17:
magic.c: In file included from /usr/include/endian.h:21:
magic.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
magic.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c: ^
magic.c: 1 warning generated.
scalarmul.c: In file included from scalarmul.c:5:
scalarmul.c: In file included from ./word.h:17:
scalarmul.c: In file included from /usr/include/endian.h:21:
scalarmul.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
scalarmul.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
scalarmul.c: ^
scalarmul.c: 1 warning generated.
sha512.c: In file included from sha512.c:5:
sha512.c: In file included from ./word.h:17:
sha512.c: In file included from /usr/include/endian.h:21:
sha512.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
sha512.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
sha512.c: ^
sha512.c: 1 warning generated.
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:64 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:64 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:64 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:64 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:64 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: | ^~~~~~~
dh.c: dh.c:16:19: warning: argument 1 of type 'unsigned char[144]' with mismatched bound [-Warray-parameter=]
dh.c: 16 | unsigned char pk[SECRETKEY_BYTES],
dh.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
dh.c: In file included from crypto_dh.h:4,
dh.c: from dh.c:13:
dh.c: crypto_dh_ed448goldilocks.h:33:61: note: previously declared as 'unsigned char *'
dh.c: 33 | extern int crypto_dh_ed448goldilocks_64_timingleaks_keypair(unsigned char *,unsigned char *);
dh.c: | ^~~~~~~~~~~~~~~
dh.c: dh.c:17:19: warning: argument 2 of type 'unsigned char[56]' with mismatched bound [-Warray-parameter=]
dh.c: 17 | unsigned char sk[PUBLICKEY_BYTES]
dh.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
dh.c: In file included from crypto_dh.h:4,
dh.c: from dh.c:13:
dh.c: crypto_dh_ed448goldilocks.h:33:77: note: previously declared as 'unsigned char *'
dh.c: 33 | extern int crypto_dh_ed448goldilocks_64_timingleaks_keypair(unsigned char *,unsigned char *);
dh.c: | ^~~~~~~~~~~~~~~
dh.c: dh.c:31:19: warning: argument 1 of type 'unsigned char[64]' with mismatched bound [-Warray-parameter=]
dh.c: 31 | unsigned char s[SHAREDSECRET_BYTES],
dh.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from crypto_dh.h:4,
dh.c: from dh.c:13:
dh.c: crypto_dh_ed448goldilocks.h:32:53: note: previously declared as 'unsigned char *'
dh.c: 32 | extern int crypto_dh_ed448goldilocks_64_timingleaks(unsigned char *,const unsigned char *,const unsigned char *);
dh.c: | ^~~~~~~~~~~~~~~
dh.c: dh.c:32:25: warning: argument 2 of type 'const unsigned char[56]' with mismatched bound [-Warray-parameter=]
dh.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:64 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:64 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:64 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:64 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
barrett_field.c: In file included from barrett_field.c:5:
barrett_field.c: In file included from ./barrett_field.h:15:
barrett_field.c: In file included from ./word.h:17:
barrett_field.c: In file included from /usr/include/endian.h:21:
barrett_field.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
barrett_field.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: ^
barrett_field.c: 1 warning generated.
goldilocks.c: In file included from goldilocks.c:6:
goldilocks.c: In file included from ./word.h:17:
goldilocks.c: In file included from /usr/include/endian.h:21:
goldilocks.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
goldilocks.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c: ^
goldilocks.c: 1 warning generated.
magic.c: In file included from magic.c:5:
magic.c: In file included from ./field.h:11:
magic.c: In file included from ./magic.h:14:
magic.c: In file included from ./word.h:17:
magic.c: In file included from /usr/include/endian.h:21:
magic.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
magic.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c: ^
magic.c: 1 warning generated.
p448.c: p448.c:24:27: warning: expression does not compute the number of elements in this array; element type is 'uint64_t' (aka 'unsigned long'), not 'uint64xn_t' (aka 'uint64x4_t') [-Wsizeof-array-div]
p448.c: for (i=0; i<sizeof(aa)/sizeof(uint64xn_t); i++) {
p448.c: ~~ ^
p448.c: p448.c:20:14: note: array 'aa' declared here
p448.c: uint64_t aa[4] __attribute__((aligned(32))), bb[4] __attribute__((aligned(32))), bbb[4] __attribute__((aligned(32)));
p448.c: ^
p448.c: p448.c:24:27: note: place parentheses around the 'sizeof(uint64xn_t)' expression to silence this warning
p448.c: for (i=0; i<sizeof(aa)/sizeof(uint64xn_t); i++) {
p448.c: ^
p448.c: p448.c:208:27: warning: expression does not compute the number of elements in this array; element type is 'uint64_t' (aka 'unsigned long'), not 'uint64xn_t' (aka 'uint64x4_t') [-Wsizeof-array-div]
p448.c: for (i=0; i<sizeof(aa)/sizeof(uint64xn_t); i++) {
p448.c: ~~ ^
p448.c: p448.c:204:14: note: array 'aa' declared here
p448.c: uint64_t aa[4] __attribute__((aligned(32)));
p448.c: ^
p448.c: p448.c:208:27: note: place parentheses around the 'sizeof(uint64xn_t)' expression to silence this warning
p448.c: for (i=0; i<sizeof(aa)/sizeof(uint64xn_t); i++) {
p448.c: ^
p448.c: 2 warnings generated.
scalarmul.c: In file included from scalarmul.c:5:
scalarmul.c: In file included from ./word.h:17:
scalarmul.c: In file included from /usr/include/endian.h:21:
scalarmul.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
scalarmul.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
scalarmul.c: ^
scalarmul.c: 1 warning generated.
sha512.c: In file included from sha512.c:5:
sha512.c: In file included from ./word.h:17:
sha512.c: In file included from /usr/include/endian.h:21:
sha512.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
sha512.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
sha512.c: ^
sha512.c: 1 warning generated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:amd64 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:amd64 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:amd64 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:amd64 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
barrett_field.c: In file included from barrett_field.c:5:
barrett_field.c: In file included from ./barrett_field.h:15:
barrett_field.c: In file included from ./word.h:17:
barrett_field.c: In file included from /usr/include/endian.h:21:
barrett_field.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
barrett_field.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: ^
barrett_field.c: 1 warning generated.
goldilocks.c: In file included from goldilocks.c:6:
goldilocks.c: In file included from ./word.h:17:
goldilocks.c: In file included from /usr/include/endian.h:21:
goldilocks.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
goldilocks.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c: ^
goldilocks.c: 1 warning generated.
magic.c: In file included from magic.c:5:
magic.c: In file included from ./field.h:11:
magic.c: In file included from ./magic.h:14:
magic.c: In file included from ./word.h:17:
magic.c: In file included from /usr/include/endian.h:21:
magic.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
magic.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c: ^
magic.c: 1 warning generated.
p448.c: p448.c:24:27: warning: expression does not compute the number of elements in this array; element type is 'uint64_t' (aka 'unsigned long'), not 'uint64xn_t' (aka 'uint64x2_t') [-Wsizeof-array-div]
p448.c: for (i=0; i<sizeof(aa)/sizeof(uint64xn_t); i++) {
p448.c: ~~ ^
p448.c: p448.c:20:14: note: array 'aa' declared here
p448.c: uint64_t aa[4] __attribute__((aligned(32))), bb[4] __attribute__((aligned(32))), bbb[4] __attribute__((aligned(32)));
p448.c: ^
p448.c: p448.c:24:27: note: place parentheses around the 'sizeof(uint64xn_t)' expression to silence this warning
p448.c: for (i=0; i<sizeof(aa)/sizeof(uint64xn_t); i++) {
p448.c: ^
p448.c: p448.c:208:27: warning: expression does not compute the number of elements in this array; element type is 'uint64_t' (aka 'unsigned long'), not 'uint64xn_t' (aka 'uint64x2_t') [-Wsizeof-array-div]
p448.c: for (i=0; i<sizeof(aa)/sizeof(uint64xn_t); i++) {
p448.c: ~~ ^
p448.c: p448.c:204:14: note: array 'aa' declared here
p448.c: uint64_t aa[4] __attribute__((aligned(32)));
p448.c: ^
p448.c: p448.c:208:27: note: place parentheses around the 'sizeof(uint64xn_t)' expression to silence this warning
p448.c: for (i=0; i<sizeof(aa)/sizeof(uint64xn_t); i++) {
p448.c: ^
p448.c: 2 warnings generated.
scalarmul.c: In file included from scalarmul.c:5:
scalarmul.c: In file included from ./word.h:17:
scalarmul.c: In file included from /usr/include/endian.h:21:
scalarmul.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
scalarmul.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
scalarmul.c: ^
scalarmul.c: 1 warning generated.
sha512.c: In file included from sha512.c:5:
sha512.c: In file included from ./word.h:17:
sha512.c: In file included from /usr/include/endian.h:21:
sha512.c: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
sha512.c: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
sha512.c: ^
sha512.c: 1 warning generated.
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:amd64 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
Compiler output
barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: | ^~~~~~~
dh.c: dh.c:16:19: warning: argument 1 of type 'unsigned char[144]' with mismatched bound [-Warray-parameter=]
dh.c: 16 | unsigned char pk[SECRETKEY_BYTES],
dh.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
dh.c: In file included from crypto_dh.h:4,
dh.c: from dh.c:13:
dh.c: crypto_dh_ed448goldilocks.h:33:64: note: previously declared as 'unsigned char *'
dh.c: 33 | extern int crypto_dh_ed448goldilocks_amd64_timingleaks_keypair(unsigned char *,unsigned char *);
dh.c: | ^~~~~~~~~~~~~~~
dh.c: dh.c:17:19: warning: argument 2 of type 'unsigned char[56]' with mismatched bound [-Warray-parameter=]
dh.c: 17 | unsigned char sk[PUBLICKEY_BYTES]
dh.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
dh.c: In file included from crypto_dh.h:4,
dh.c: from dh.c:13:
dh.c: crypto_dh_ed448goldilocks.h:33:80: note: previously declared as 'unsigned char *'
dh.c: 33 | extern int crypto_dh_ed448goldilocks_amd64_timingleaks_keypair(unsigned char *,unsigned char *);
dh.c: | ^~~~~~~~~~~~~~~
dh.c: dh.c:31:19: warning: argument 1 of type 'unsigned char[64]' with mismatched bound [-Warray-parameter=]
dh.c: 31 | unsigned char s[SHAREDSECRET_BYTES],
dh.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from crypto_dh.h:4,
dh.c: from dh.c:13:
dh.c: crypto_dh_ed448goldilocks.h:32:56: note: previously declared as 'unsigned char *'
dh.c: 32 | extern int crypto_dh_ed448goldilocks_amd64_timingleaks(unsigned char *,const unsigned char *,const unsigned char *);
dh.c: | ^~~~~~~~~~~~~~~
dh.c: dh.c:32:25: warning: argument 2 of type 'const unsigned char[56]' with mismatched bound [-Warray-parameter=]
dh.c: ...
goldilocks.c: In file included from /usr/include/endian.h:21,
goldilocks.c: from word.h:17,
goldilocks.c: from goldilocks.c:6:
goldilocks.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
goldilocks.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
goldilocks.c: | ^~~~~~~
magic.c: In file included from /usr/include/endian.h:21,
magic.c: from word.h:17,
magic.c: from magic.h:14,
magic.c: from field.h:11,
magic.c: from magic.c:5:
magic.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
magic.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
magic.c: | ^~~~~~~
p448.c: p448.c: In function 'p448_mul':
p448.c: p448.c:24:27: warning: expression does not compute the number of elements in this array; element type is 'uint64_t' {aka 'long unsigned int'}, not 'uint64xn_t' {aka '__vector(4) long unsigned int'} [-Wsizeof-array-div]
p448.c: 24 | for (i=0; i<sizeof(aa)/sizeof(uint64xn_t); i++) {
p448.c: | ^
p448.c: p448.c:24:27: note: add parentheses around the second 'sizeof' to silence this warning
p448.c: p448.c:20:14: note: array 'aa' declared here
p448.c: 20 | uint64_t aa[4] __attribute__((aligned(32))), bb[4] __attribute__((aligned(32))), bbb[4] __attribute__((aligned(32)));
p448.c: | ^~
p448.c: p448.c: In function 'p448_sqr':
p448.c: p448.c:208:27: warning: expression does not compute the number of elements in this array; element type is 'uint64_t' {aka 'long unsigned int'}, not 'uint64xn_t' {aka '__vector(4) long unsigned int'} [-Wsizeof-array-div]
p448.c: 208 | for (i=0; i<sizeof(aa)/sizeof(uint64xn_t); i++) {
p448.c: | ^
p448.c: p448.c:208:27: note: add parentheses around the second 'sizeof' to silence this warning
p448.c: p448.c:204:14: note: array 'aa' declared here
p448.c: 204 | uint64_t aa[4] __attribute__((aligned(32)));
p448.c: | ^~
scalarmul.c: In file included from /usr/include/endian.h:21,
scalarmul.c: from word.h:17,
scalarmul.c: from scalarmul.c:5:
scalarmul.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
scalarmul.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
scalarmul.c: | ^~~~~~~
scalarmul.c: scalarmul.c:304:18: warning: argument 2 of type 'const word_t[7]' {aka 'const long unsigned int[7]'} with mismatched bound [-Warray-parameter=]
scalarmul.c: 304 | const word_t scalar[SCALAR_WORDS],
scalarmul.c: | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
scalarmul.c: In file included from scalarmul.c:12:
scalarmul.c: scalarmul.h:201:19: note: previously declared as 'const word_t *' {aka 'const long unsigned int *'}
scalarmul.c: 201 | const word_t *scalar,
scalarmul.c: | ~~~~~~~~~~~~~~^~~~~~
scalarmul.c: scalarmul.c:776:18: warning: argument 2 of type 'const word_t[7]' {aka 'const long unsigned int[7]'} with mismatched bound [-Warray-parameter=]
scalarmul.c: 776 | const word_t scalar[SCALAR_WORDS],
scalarmul.c: | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
scalarmul.c: In file included from scalarmul.c:12:
scalarmul.c: scalarmul.h:219:19: note: previously declared as 'const word_t *' {aka 'const long unsigned int *'}
scalarmul.c: 219 | const word_t *scalar,
scalarmul.c: | ~~~~~~~~~~~~~~^~~~~~
scalarmul.c: scalarmul.c:817:18: warning: argument 2 of type 'const word_t[7]' {aka 'const long unsigned int[7]'} with mismatched bound [-Warray-parameter=]
scalarmul.c: 817 | const word_t scalar[SCALAR_WORDS],
scalarmul.c: | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
scalarmul.c: In file included from scalarmul.c:12:
scalarmul.c: scalarmul.h:260:19: note: previously declared as 'const word_t *' {aka 'const long unsigned int *'}
scalarmul.c: ...
sha512.c: In file included from /usr/include/endian.h:21,
sha512.c: from word.h:17,
sha512.c: from sha512.c:5:
sha512.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
sha512.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
sha512.c: | ^~~~~~~
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:amd64 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
Compiler output
barrett_field.c: In file included from /usr/include/endian.h:21,
barrett_field.c: from word.h:17,
barrett_field.c: from barrett_field.h:15,
barrett_field.c: from barrett_field.c:5:
barrett_field.c: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
barrett_field.c: 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
barrett_field.c: | ^~~~~~~
dh.c: dh.c:16:19: warning: argument 1 of type 'unsigned char[144]' with mismatched bound [-Warray-parameter=]
dh.c: 16 | unsigned char pk[SECRETKEY_BYTES],
dh.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
dh.c: In file included from crypto_dh.h:4,
dh.c: from dh.c:13:
dh.c: crypto_dh_ed448goldilocks.h:33:64: note: previously declared as 'unsigned char *'
dh.c: 33 | extern int crypto_dh_ed448goldilocks_amd64_timingleaks_keypair(unsigned char *,unsigned char *);
dh.c: | ^~~~~~~~~~~~~~~
dh.c: dh.c:17:19: warning: argument 2 of type 'unsigned char[56]' with mismatched bound [-Warray-parameter=]
dh.c: 17 | unsigned char sk[PUBLICKEY_BYTES]
dh.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
dh.c: In file included from crypto_dh.h:4,
dh.c: from dh.c:13:
dh.c: crypto_dh_ed448goldilocks.h:33:80: note: previously declared as 'unsigned char *'
dh.c: 33 | extern int crypto_dh_ed448goldilocks_amd64_timingleaks_keypair(unsigned char *,unsigned char *);
dh.c: | ^~~~~~~~~~~~~~~
dh.c: dh.c:31:19: warning: argument 1 of type 'unsigned char[64]' with mismatched bound [-Warray-parameter=]
dh.c: 31 | unsigned char s[SHAREDSECRET_BYTES],
dh.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
dh.c: In file included from crypto_dh.h:4,
dh.c: from dh.c:13:
dh.c: crypto_dh_ed448goldilocks.h:32:56: note: previously declared as 'unsigned char *'
dh.c: 32 | extern int crypto_dh_ed448goldilocks_amd64_timingleaks(unsigned char *,const unsigned char *,const unsigned char *);
dh.c: | ^~~~~~~~~~~~~~~
dh.c: dh.c:32:25: warning: argument 2 of type 'const unsigned char[56]' with mismatched bound [-Warray-parameter=]
dh.c: ...
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:amd64 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:amd64 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:amd64 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |