Implementation notes: amd64, hydra7, crypto_dh/k298

Computer: hydra7
Microarchitecture: amd64; Sandy Bridge+AES (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_dh
Primitive: k298

Checksum failure


5aa7d3f55402b2d9825952c6e31d8d2914857484c8865e5ab3e562a361095dc0

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


dh.c: In file included from dh.c:8:
dh.c: smu.h: In function 'smu_3nf':
dh.c: smu.h:24:52: warning: unused variable 't2' [-Wunused-variable]
dh.c:    24 |     uint64_t r00, r01, r10, r11, t_w = 12, t0, t1, t2, hi, lo;
dh.c:       |                                                    ^~
dh.c: smu.h:24:34: warning: unused variable 't_w' [-Wunused-variable]
dh.c:    24 |     uint64_t r00, r01, r10, r11, t_w = 12, t0, t1, t2, hi, lo;
dh.c:       |                                  ^~~
dh.c: smu.h: In function 'smu_3nf_ltr':
dh.c: smu.h:124:31: warning: unused variable 'cmp_sse' [-Wunused-variable]
dh.c:   124 |     __m128i dig_sse, sig_sse, cmp_sse, msk_sse;
dh.c:       |                               ^~~~~~~
dh.c: smu.h:138:7: warning: array subscript 0 is outside array bounds of 'uint64_t[0]' {aka 'long unsigned int[]'} [-Warray-bounds]
dh.c:   138 |     k1[0] = k_01[0]; k1[1] = k_01[1];
dh.c:       |     ~~^~~
dh.c: smu.h:132:21: note: while referencing 'k1'
dh.c:   132 |     uint64_t k0[2], k1[0];
dh.c:       |                     ^~
dh.c: smu.h:138:24: warning: array subscript 1 is outside array bounds of 'uint64_t[0]' {aka 'long unsigned int[]'} [-Warray-bounds]
dh.c:   138 |     k1[0] = k_01[0]; k1[1] = k_01[1];
dh.c:       |                      ~~^~~
dh.c: smu.h:132:21: note: while referencing 'k1'
dh.c:   132 |     uint64_t k0[2], k1[0];
dh.c:       |                     ^~
dh.c: smu.h:147:19: warning: array subscript 0 is outside array bounds of 'uint64_t[0]' {aka 'long unsigned int[]'} [-Warray-bounds]
dh.c: ...

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


dh.c: In file included from dh.c:8:
dh.c: smu.h: In function 'smu_3nf':
dh.c: smu.h:24:52: warning: unused variable 't2' [-Wunused-variable]
dh.c:    24 |     uint64_t r00, r01, r10, r11, t_w = 12, t0, t1, t2, hi, lo;
dh.c:       |                                                    ^~
dh.c: smu.h:24:34: warning: unused variable 't_w' [-Wunused-variable]
dh.c:    24 |     uint64_t r00, r01, r10, r11, t_w = 12, t0, t1, t2, hi, lo;
dh.c:       |                                  ^~~
dh.c: smu.h: In function 'smu_3nf_ltr':
dh.c: smu.h:124:31: warning: unused variable 'cmp_sse' [-Wunused-variable]
dh.c:   124 |     __m128i dig_sse, sig_sse, cmp_sse, msk_sse;
dh.c:       |                               ^~~~~~~

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)