Test results for amd64, dali, crypto_kem/threebears1248r2ccax

[Page version: 20250427 16:12:28]

Measurements for amd64, dali, crypto_kem Test results for amd64, dali, crypto_kem Test results for crypto_kem/threebears1248r2ccax
Computer: dali
Microarchitecture: amd64; Zen (820f01)
Architecture: amd64
CPU ID: AuthenticAMD-00820f01-178bfbff
SUPERCOP version: 20250415
Operation: crypto_kem
Primitive: threebears1248r2ccax
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
44658714391 0 0161788 828 1720vecclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
44664411771 0 0159020 828 1720vecclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
4617167868 0 0152802 820 1720vecclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
4916439603 0 0154930 820 1720vecclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
5588799485 0 0155024 796 1752vecgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
55913713498 0 0160464 796 1752vecgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
5646679906 0 0155832 796 1752vecgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
6155158316 0 0152792 788 1720vecgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
64517811447 0 037220 828 1720optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
64577413845 0 039796 828 1720optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
66049713206 0 039356 828 1720optclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
6605327635 0 031122 820 1720optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
66089413206 0 039356 828 1720vecclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
6884419519 0 033394 820 1720optclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
75944712864 0 038456 796 1752optgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
7629539248 0 033272 796 1752optgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
7657369479 0 034000 796 1752optgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025042520250415
8263638056 0 031096 788 1720optgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025042520250415

Compiler output


shake.c: shake.c:11:34: warning: incompatible pointer types passing 'uint8_t [200]' to parameter of type 'KeccakP1600_AVX2_state *' [-Wincompatible-pointer-types]
shake.c:     KeccakP1600_Permute_24rounds(ctx->state);
shake.c:                                  ^~~~~~~~~~
shake.c: .../supercop-data/dali/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:56:70: note: passing argument to parameter 'state' here
shake.c: FORCE_SYSV void KeccakP1600_Permute_24rounds(KeccakP1600_AVX2_state *state);
shake.c:                                                                      ^
shake.c: shake.c:23:30: warning: incompatible pointer types passing 'uint8_t [200]' to parameter of type 'KeccakP1600_AVX2_state *' [-Wincompatible-pointer-types]
shake.c:         KeccakP1600_AddBytes(ctx->state, in, ctx->position, cando);
shake.c:                              ^~~~~~~~~~
shake.c: .../supercop-data/dali/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:51:62: note: passing argument to parameter 'state' here
shake.c: FORCE_SYSV void KeccakP1600_AddBytes(KeccakP1600_AVX2_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]' to parameter of type 'KeccakP1600_AVX2_state *' [-Wincompatible-pointer-types]
shake.c:     KeccakP1600_AddBytes(ctx->state, in, ctx->position, len);
shake.c:                          ^~~~~~~~~~
shake.c: .../supercop-data/dali/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:51:62: note: passing argument to parameter 'state' here
shake.c: FORCE_SYSV void KeccakP1600_AddBytes(KeccakP1600_AVX2_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
shake.c:                                                              ^
shake.c: shake.c:40:29: warning: incompatible pointer types passing 'uint8_t [200]' to parameter of type 'KeccakP1600_AVX2_state *' [-Wincompatible-pointer-types]
shake.c:         KeccakP1600_AddByte(ctx->state, CSHAKE256_PAD, ctx->position);
shake.c:                             ^~~~~~~~~~
shake.c: .../supercop-data/dali/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:50:61: note: passing argument to parameter 'state' here
shake.c: FORCE_SYSV void KeccakP1600_AddByte(KeccakP1600_AVX2_state *state, unsigned char data, unsigned int offset);
shake.c:                                                             ^
shake.c: shake.c:41:29: warning: incompatible pointer types passing 'uint8_t [200]' to parameter of type 'KeccakP1600_AVX2_state *' [-Wincompatible-pointer-types]
shake.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
optclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
optclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


shake.c: shake.c: In function 'keccakf':
shake.c: shake.c:11:37: warning: 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/dali/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:56:70: note: expected 'KeccakP1600_AVX2_state *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
shake.c:    56 | FORCE_SYSV void KeccakP1600_Permute_24rounds(KeccakP1600_AVX2_state *state);
shake.c:       |                                              ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
shake.c: shake.c: In function 'pqcrypto_kem_threebears1248r2ccax_impl_priv_hash_update':
shake.c: shake.c:23:33: warning: 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: In file included from shake.h:3,
shake.c:                  from shake.c:3:
shake.c: .../supercop-data/dali/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:51:62: note: expected 'KeccakP1600_AVX2_state *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
shake.c:    51 | FORCE_SYSV void KeccakP1600_AddBytes(KeccakP1600_AVX2_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
shake.c:       |                                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
shake.c: shake.c:28:29: warning: 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: ...

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

Compiler output


shake.c: shake.c:46:34: warning: incompatible pointer types passing 'uint8_t [200]' to parameter of type 'KeccakP1600_AVX2_state *' [-Wincompatible-pointer-types]
shake.c:     KeccakP1600_Permute_24rounds(ctx->state);
shake.c:                                  ^~~~~~~~~~
shake.c: .../supercop-data/dali/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:56:70: note: passing argument to parameter 'state' here
shake.c: FORCE_SYSV void KeccakP1600_Permute_24rounds(KeccakP1600_AVX2_state *state);
shake.c:                                                                      ^
shake.c: shake.c:58:30: warning: incompatible pointer types passing 'uint8_t [200]' to parameter of type 'KeccakP1600_AVX2_state *' [-Wincompatible-pointer-types]
shake.c:         KeccakP1600_AddBytes(ctx->state, in, ctx->position, cando);
shake.c:                              ^~~~~~~~~~
shake.c: .../supercop-data/dali/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:51:62: note: passing argument to parameter 'state' here
shake.c: FORCE_SYSV void KeccakP1600_AddBytes(KeccakP1600_AVX2_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]' to parameter of type 'KeccakP1600_AVX2_state *' [-Wincompatible-pointer-types]
shake.c:     KeccakP1600_AddBytes(ctx->state, in, ctx->position, len);
shake.c:                          ^~~~~~~~~~
shake.c: .../supercop-data/dali/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:51:62: note: passing argument to parameter 'state' here
shake.c: FORCE_SYSV void KeccakP1600_AddBytes(KeccakP1600_AVX2_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
shake.c:                                                              ^
shake.c: shake.c:75:29: warning: incompatible pointer types passing 'uint8_t [200]' to parameter of type 'KeccakP1600_AVX2_state *' [-Wincompatible-pointer-types]
shake.c:         KeccakP1600_AddByte(ctx->state, CSHAKE256_PAD, ctx->position);
shake.c:                             ^~~~~~~~~~
shake.c: .../supercop-data/dali/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:50:61: note: passing argument to parameter 'state' here
shake.c: FORCE_SYSV void KeccakP1600_AddByte(KeccakP1600_AVX2_state *state, unsigned char data, unsigned int offset);
shake.c:                                                             ^
shake.c: shake.c:76:29: warning: incompatible pointer types passing 'uint8_t [200]' to parameter of type 'KeccakP1600_AVX2_state *' [-Wincompatible-pointer-types]
shake.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
vecclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
vecclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
vecclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
vecclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
vecclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


shake.c: shake.c: In function 'keccakf':
shake.c: shake.c:46:37: warning: 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/dali/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:56:70: note: expected 'KeccakP1600_AVX2_state *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
shake.c:    56 | FORCE_SYSV void KeccakP1600_Permute_24rounds(KeccakP1600_AVX2_state *state);
shake.c:       |                                              ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
shake.c: shake.c: In function 'pqcrypto_kem_threebears1248r2ccax_impl_priv_hash_update':
shake.c: shake.c:58:33: warning: 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: In file included from shake.h:3,
shake.c:                  from shake.c:3:
shake.c: .../supercop-data/dali/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:51:62: note: expected 'KeccakP1600_AVX2_state *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
shake.c:    51 | FORCE_SYSV void KeccakP1600_AddBytes(KeccakP1600_AVX2_state *state, const unsigned char *data, unsigned int offset, unsigned int length);
shake.c:       |                                      ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
shake.c: shake.c:63:29: warning: 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: ...

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

Namespace violations


melas_fec.o pqcrypto_kem_threebears1248r2ccax_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears1248r2ccax_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears1248r2ccax_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears1248r2ccax_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears1248r2ccax_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears1248r2ccax_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears1248r2ccax_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears1248r2ccax_impl_priv_hash_times_n T
shake.o pqcrypto_kem_threebears1248r2ccax_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears1248r2ccax_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears1248r2ccax_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears1248r2ccax_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears1248r2ccax_impl_priv_keygen T
threebears.o pqcrypto_kem_threebears1248r2ccax_impl_priv_secure_bzero T

Number of similar (implementation,compiler) pairs: 18, namely:
ImplementationCompiler
optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
optclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
optclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
optgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
optgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
optgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
optgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
vecclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
vecclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
vecclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
vecclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
vecclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
vecgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
vecgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
vecgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
vecgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Passed TIMECOP


TIMECOP iterations: 1

Number of similar (implementation,compiler) pairs: 18, namely:
ImplementationCompiler
optclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
optclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
optclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
optclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
optclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
optgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
optgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
optgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
optgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
vecclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
vecclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
vecclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
vecclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
vecclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
vecgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
vecgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
vecgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
vecgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)