Test results for amd64, hertz, crypto_kem/threebears624r2cpax

[Page version: 20250419 19:35:20]

Measurements for amd64, hertz, crypto_kem Test results for amd64, hertz, crypto_kem Test results for crypto_kem/threebears624r2cpax
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20250415
Operation: crypto_kem
Primitive: threebears624r2cpax
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
8362614765 0 044441 852 1832optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041620250415
8369317149 0 046873 852 1832optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041620250415
864847980 0 034195 844 1832optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025041620250415

Test failure


error 139
timeout: the monitored command dumped core
Segmentation fault

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
vecclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
vecclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
vecclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

Compiler output


shake.c: shake.c:11:34: warning: incompatible pointer types passing 'uint8_t[200]' (aka 'unsigned char[200]') to parameter of type 'KeccakP1600_plain64_state *' [-Wincompatible-pointer-types]
shake.c:    11 |     KeccakP1600_Permute_24rounds(ctx->state);
shake.c:       |                                  ^~~~~~~~~~
shake.c: .../supercop-data/avx/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:51:73: note: passing argument to parameter 'state' here
shake.c:    51 | FORCE_SYSV void KeccakP1600_Permute_24rounds(KeccakP1600_plain64_state *state);
shake.c:       |                                                                         ^
shake.c: shake.c:23:30: warning: incompatible pointer types passing 'uint8_t[200]' (aka 'unsigned char[200]') to parameter of type 'KeccakP1600_plain64_state *' [-Wincompatible-pointer-types]
shake.c:    23 |         KeccakP1600_AddBytes(ctx->state, in, ctx->position, cando);
shake.c:       |                              ^~~~~~~~~~
shake.c: .../supercop-data/avx/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:46:65: note: passing argument to parameter 'state' here
shake.c:    46 | FORCE_SYSV void KeccakP1600_AddBytes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
shake.c:       |                                                                 ^
shake.c: shake.c:28:26: warning: incompatible pointer types passing 'uint8_t[200]' (aka 'unsigned char[200]') to parameter of type 'KeccakP1600_plain64_state *' [-Wincompatible-pointer-types]
shake.c:    28 |     KeccakP1600_AddBytes(ctx->state, in, ctx->position, len);
shake.c:       |                          ^~~~~~~~~~
shake.c: .../supercop-data/avx/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:46:65: note: passing argument to parameter 'state' here
shake.c:    46 | FORCE_SYSV void KeccakP1600_AddBytes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
shake.c:       |                                                                 ^
shake.c: shake.c:47:34: warning: incompatible pointer types passing 'uint8_t[200]' (aka 'unsigned char[200]') to parameter of type 'const KeccakP1600_plain64_state *' [-Wincompatible-pointer-types]
shake.c:    47 |         KeccakP1600_ExtractBytes(ctx->state, out, ctx->position, cando);
shake.c:       |                                  ^~~~~~~~~~
shake.c: .../supercop-data/avx/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:52:75: note: passing argument to parameter 'state' here
shake.c:    52 | FORCE_SYSV void KeccakP1600_ExtractBytes(const KeccakP1600_plain64_state *state, unsigned char *data, unsigned int offset, unsigned int length);
shake.c:       |                                                                           ^
shake.c: shake.c:52:30: warning: incompatible pointer types passing 'uint8_t[200]' (aka 'unsigned char[200]') to parameter of type 'const KeccakP1600_plain64_state *' [-Wincompatible-pointer-types]
shake.c: ...

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

Compiler output


shake.c: shake.c: In function 'keccakf':
shake.c: shake.c:11:37: error: passing argument 1 of 'KeccakP1600_Permute_24rounds' from incompatible pointer type [-Wincompatible-pointer-types]
shake.c:    11 |     KeccakP1600_Permute_24rounds(ctx->state);
shake.c:       |                                  ~~~^~~~~~~
shake.c:       |                                     |
shake.c:       |                                     uint8_t * {aka unsigned char *}
shake.c: In file included from shake.h:3,
shake.c:                  from shake.c:3:
shake.c: .../supercop-data/avx/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:51:73: note: expected 'KeccakP1600_plain64_state *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
shake.c:    51 | FORCE_SYSV void KeccakP1600_Permute_24rounds(KeccakP1600_plain64_state *state);
shake.c:       |                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
shake.c: shake.c: In function 'pqcrypto_kem_threebears624r2cpax_impl_priv_hash_update':
shake.c: shake.c:23:33: error: passing argument 1 of 'KeccakP1600_AddBytes' from incompatible pointer type [-Wincompatible-pointer-types]
shake.c:    23 |         KeccakP1600_AddBytes(ctx->state, in, ctx->position, cando);
shake.c:       |                              ~~~^~~~~~~
shake.c:       |                                 |
shake.c:       |                                 uint8_t * {aka unsigned char *}
shake.c: .../supercop-data/avx/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:46:65: note: expected 'KeccakP1600_plain64_state *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
shake.c:    46 | FORCE_SYSV void KeccakP1600_AddBytes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
shake.c:       |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
shake.c: shake.c:28:29: error: passing argument 1 of 'KeccakP1600_AddBytes' from incompatible pointer type [-Wincompatible-pointer-types]
shake.c:    28 |     KeccakP1600_AddBytes(ctx->state, in, ctx->position, len);
shake.c:       |                          ~~~^~~~~~~
shake.c:       |                             |
shake.c:       |                             uint8_t * {aka unsigned char *}
shake.c: ...

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

Compiler output


shake.c: shake.c:46:34: warning: incompatible pointer types passing 'uint8_t[200]' (aka 'unsigned char[200]') to parameter of type 'KeccakP1600_plain64_state *' [-Wincompatible-pointer-types]
shake.c:    46 |     KeccakP1600_Permute_24rounds(ctx->state);
shake.c:       |                                  ^~~~~~~~~~
shake.c: .../supercop-data/avx/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:51:73: note: passing argument to parameter 'state' here
shake.c:    51 | FORCE_SYSV void KeccakP1600_Permute_24rounds(KeccakP1600_plain64_state *state);
shake.c:       |                                                                         ^
shake.c: shake.c:58:30: warning: incompatible pointer types passing 'uint8_t[200]' (aka 'unsigned char[200]') to parameter of type 'KeccakP1600_plain64_state *' [-Wincompatible-pointer-types]
shake.c:    58 |         KeccakP1600_AddBytes(ctx->state, in, ctx->position, cando);
shake.c:       |                              ^~~~~~~~~~
shake.c: .../supercop-data/avx/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:46:65: note: passing argument to parameter 'state' here
shake.c:    46 | FORCE_SYSV void KeccakP1600_AddBytes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
shake.c:       |                                                                 ^
shake.c: shake.c:63:26: warning: incompatible pointer types passing 'uint8_t[200]' (aka 'unsigned char[200]') to parameter of type 'KeccakP1600_plain64_state *' [-Wincompatible-pointer-types]
shake.c:    63 |     KeccakP1600_AddBytes(ctx->state, in, ctx->position, len);
shake.c:       |                          ^~~~~~~~~~
shake.c: .../supercop-data/avx/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:46:65: note: passing argument to parameter 'state' here
shake.c:    46 | FORCE_SYSV void KeccakP1600_AddBytes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
shake.c:       |                                                                 ^
shake.c: shake.c:82:34: warning: incompatible pointer types passing 'uint8_t[200]' (aka 'unsigned char[200]') to parameter of type 'const KeccakP1600_plain64_state *' [-Wincompatible-pointer-types]
shake.c:    82 |         KeccakP1600_ExtractBytes(ctx->state, out, ctx->position, cando);
shake.c:       |                                  ^~~~~~~~~~
shake.c: .../supercop-data/avx/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:52:75: note: passing argument to parameter 'state' here
shake.c:    52 | FORCE_SYSV void KeccakP1600_ExtractBytes(const KeccakP1600_plain64_state *state, unsigned char *data, unsigned int offset, unsigned int length);
shake.c:       |                                                                           ^
shake.c: shake.c:87:30: warning: incompatible pointer types passing 'uint8_t[200]' (aka 'unsigned char[200]') to parameter of type 'const KeccakP1600_plain64_state *' [-Wincompatible-pointer-types]
shake.c: ...

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
vecclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
vecclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
vecclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

Compiler output


shake.c: shake.c: In function 'keccakf':
shake.c: shake.c:46:37: error: passing argument 1 of 'KeccakP1600_Permute_24rounds' from incompatible pointer type [-Wincompatible-pointer-types]
shake.c:    46 |     KeccakP1600_Permute_24rounds(ctx->state);
shake.c:       |                                  ~~~^~~~~~~
shake.c:       |                                     |
shake.c:       |                                     uint8_t * {aka unsigned char *}
shake.c: In file included from shake.h:3,
shake.c:                  from shake.c:3:
shake.c: .../supercop-data/avx/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:51:73: note: expected 'KeccakP1600_plain64_state *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
shake.c:    51 | FORCE_SYSV void KeccakP1600_Permute_24rounds(KeccakP1600_plain64_state *state);
shake.c:       |                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
shake.c: shake.c: In function 'pqcrypto_kem_threebears624r2cpax_impl_priv_hash_update':
shake.c: shake.c:58:33: error: passing argument 1 of 'KeccakP1600_AddBytes' from incompatible pointer type [-Wincompatible-pointer-types]
shake.c:    58 |         KeccakP1600_AddBytes(ctx->state, in, ctx->position, cando);
shake.c:       |                              ~~~^~~~~~~
shake.c:       |                                 |
shake.c:       |                                 uint8_t * {aka unsigned char *}
shake.c: .../supercop-data/avx/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:46:65: note: expected 'KeccakP1600_plain64_state *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
shake.c:    46 | FORCE_SYSV void KeccakP1600_AddBytes(KeccakP1600_plain64_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
shake.c:       |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
shake.c: shake.c:63:29: error: passing argument 1 of 'KeccakP1600_AddBytes' from incompatible pointer type [-Wincompatible-pointer-types]
shake.c:    63 |     KeccakP1600_AddBytes(ctx->state, in, ctx->position, len);
shake.c:       |                          ~~~^~~~~~~
shake.c:       |                             |
shake.c:       |                             uint8_t * {aka unsigned char *}
shake.c: ...

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

Namespace violations


melas_fec.o pqcrypto_kem_threebears624r2cpax_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears624r2cpax_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears624r2cpax_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears624r2cpax_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears624r2cpax_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears624r2cpax_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears624r2cpax_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears624r2cpax_impl_priv_hash_times_n T
shake.o pqcrypto_kem_threebears624r2cpax_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears624r2cpax_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears624r2cpax_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears624r2cpax_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears624r2cpax_impl_priv_keygen T
threebears.o pqcrypto_kem_threebears624r2cpax_impl_priv_secure_bzero T

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))
optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10A7DA
   at 0x...: core (try-anything.c:61)
   by 0x...: salsa20 (try-anything.c:89)
   by 0x...: canary (try-anything.c:148)
   by 0x...: output_prepare (try-anything.c:178)
   by 0x...: test (try.c:124)
   by 0x...: main (try-anything.c:345)
timeout: the monitored command dumped core
Illegal instruction

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10B2B4
   at 0x...: salsa20 (try-anything.c:90)
   by 0x...: canary (try-anything.c:148)
   by 0x...: output_prepare (try-anything.c:178)
   by 0x...: test (try.c:124)
   by 0x...: main (try-anything.c:345)
timeout: the monitored command dumped core
Illegal instruction

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10A0B2
   at 0x...: core (try-anything.c:64)
   by 0x...: salsa20 (try-anything.c:89)
   by 0x...: canary (try-anything.c:148)
   by 0x...: output_prepare (try-anything.c:178)
   by 0x...: test (try.c:124)
   by 0x...: main (try-anything.c:345)
timeout: the monitored command dumped core
Illegal instruction

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_19.1.1_(1ubuntu1))