Test results for amd64, like, crypto_kem/threebears624r2cpa
[Page version: 20250420 15:13:24]
Measurements for amd64, like, crypto_kem
Test results for amd64, like, crypto_kem
Test results for crypto_kem/threebears624r2cpa
Computer: like
Microarchitecture: amd64; Coffee Lake (806ea)
Architecture: amd64
CPU ID: GenuineIntel-000806ea-bfebfbff
SUPERCOP version: 20250415
Operation: crypto_kem
Primitive: threebears624r2cpa
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
414074 | 23796 0 0 | 46484 836 1800 | ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
549120 | 12637 0 0 | 33812 796 1768 | ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
583866 | 17461 0 0 | 40268 836 1800 | ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
667458 | 17310 0 0 | 42125 836 1736 | ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
931137 | 7627 0 0 | 26892 796 1768 | ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
1071953 | 6381 0 0 | 25774 828 1800 | ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
2236555 | 8340 0 0 | 26949 836 1736 | ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
2299311 | 6355 0 0 | 25444 796 1768 | ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
2932187 | 5374 0 0 | 23004 788 1736 | ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250420 | 20250415 |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:28:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:52:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:94:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
lowmem | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:28:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:52:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:94:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
lowmem | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:28:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:52:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:94:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
lowmem | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:28:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:52:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:94:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
lowmem | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:28:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:52:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/lowmem/work/shake.c:94:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
lowmem | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: expected 'KeccakP1600_plain64_state *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
shake.c: 53 | void KeccakP1600_Permute_24rounds(KeccakP1600_plain64_state *state);
shake.c: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
shake.c: shake.c: In function 'pqcrypto_kem_threebears624r2cpa_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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: expected 'KeccakP1600_plain64_state *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
shake.c: 48 | 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: 8, namely:
Implementation | Compiler |
lowmem | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
lowmem | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
lowmem | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
lowmem | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
opt | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:28:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:52:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:94:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:28:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:52:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:94:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:28:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:52:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:94:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
opt | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:28:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:52:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:94:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: clang: error: linker command failed with exit code 1 (use -v to see invocation)
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:23:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:28:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:47:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:11:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:52:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/opt/work/shake.c:94:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
opt | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
Compiler output
threebears.c: threebears.c:75:26: warning: argument 1 of type 'uint8_t *' {aka 'unsigned char *'} declared as a pointer [-Warray-parameter=]
threebears.c: 75 | void get_pubkey(uint8_t *pk, const uint8_t *seed) {
threebears.c: | ~~~~~~~~~^~
threebears.c: In file included from threebears.c:8:
threebears.c: threebears.h:24:13: note: previously declared as an array 'uint8_t[804]' {aka 'unsigned char[804]'}
threebears.c: 24 | uint8_t pk[PQCRYPTO_KEM_THREEBEARS624R2CPA_IMPL_PRIV_PUBLIC_KEY_BYTES],
threebears.c: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
threebears.c: threebears.c:75:45: warning: argument 2 of type 'const uint8_t *' {aka 'const unsigned char *'} declared as a pointer [-Warray-parameter=]
threebears.c: 75 | void get_pubkey(uint8_t *pk, const uint8_t *seed) {
threebears.c: | ~~~~~~~~~~~~~~~^~~~
threebears.c: threebears.h:25:19: note: previously declared as an array 'const uint8_t[40]' {aka 'const unsigned char[40]'}
threebears.c: 25 | const uint8_t seed[PQCRYPTO_KEM_THREEBEARS624R2CPA_IMPL_PRIV_PRIVATE_KEY_BYTES]
threebears.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
threebears.c: threebears.c:100:14: warning: argument 1 of type 'uint8_t *' {aka 'unsigned char *'} declared as a pointer [-Warray-parameter=]
threebears.c: 100 | uint8_t *shared_secret,
threebears.c: | ~~~~~~~~~^~~~~~~~~~~~~
threebears.c: threebears.h:55:13: note: previously declared as an array 'uint8_t[32]' {aka 'unsigned char[32]'}
threebears.c: 55 | uint8_t shared_secret[PQCRYPTO_KEM_THREEBEARS624R2CPA_IMPL_PRIV_SHARED_SECRET_BYTES],
threebears.c: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
threebears.c: threebears.c:101:14: warning: argument 2 of type 'uint8_t *' {aka 'unsigned char *'} declared as a pointer [-Warray-parameter=]
threebears.c: 101 | uint8_t *capsule,
threebears.c: | ~~~~~~~~~^~~~~~~
threebears.c: threebears.h:56:13: note: previously declared as an array 'uint8_t[917]' {aka 'unsigned char[917]'}
threebears.c: 56 | uint8_t capsule[PQCRYPTO_KEM_THREEBEARS624R2CPA_IMPL_PRIV_CAPSULE_BYTES],
threebears.c: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
threebears.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ref | gcc -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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:58:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:58:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:63:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:82:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:82:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:87:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:131:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
vec | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:58:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:58:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:63:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:82:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:82:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:87:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:131:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
vec | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:58:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:63:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:82:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:87:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:131:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_times_n':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:145:(.text+0x...): undefined reference to `KeccakP1600times4_StaticInitialize'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:148:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:153:(.text+0x...): undefined reference to `KeccakP1600times4_OverwriteLanesAll'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:155:(.text+0x...): undefined reference to `KeccakP1600times4_AddByte'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:161:(.text+0x...): undefined reference to `KeccakP1600times4_PermuteAll_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:165:(.text+0x...): undefined reference to `KeccakP1600times4_AddByte'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:166:(.text+0x...): undefined reference to `KeccakP1600times4_AddByte'
try.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
vec | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:58:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:63:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:82:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:87:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:131:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_times_n':
try.c: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:145:(.text+0x...): undefined reference to `KeccakP1600times4_StaticInitialize'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:148:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:153:(.text+0x...): undefined reference to `KeccakP1600times4_OverwriteLanesAll'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:155:(.text+0x...): undefined reference to `KeccakP1600times4_AddByte'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:161:(.text+0x...): undefined reference to `KeccakP1600times4_PermuteAll_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:165:(.text+0x...): undefined reference to `KeccakP1600times4_AddByte'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:166:(.text+0x...): undefined reference to `KeccakP1600times4_AddByte'
try.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
vec | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: passing argument to parameter 'state' here
shake.c: 53 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: passing argument to parameter 'state' here
shake.c: 48 | 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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:54:64: note: passing argument to parameter 'state' here
shake.c: 54 | 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: ...
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:58:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:58:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:63:(.text+0x...): undefined reference to `KeccakP1600_AddBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:82:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:82:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `keccakf':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:46:(.text+0x...): undefined reference to `KeccakP1600_Permute_24rounds'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:87:(.text+0x...): undefined reference to `KeccakP1600_ExtractBytes'
try.c: /usr/bin/ld: libcrypto_kem_threebears624r2cpa.a(shake.o): in function `pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init':
try.c: .../supercop-data/like/amd64/try/c/clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall/constbranchindex/crypto_kem/threebears624r2cpa/vec/work/shake.c:131:(.text+0x...): undefined reference to `KeccakP1600_OverwriteBytes'
try.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
vec | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:53:62: note: expected 'KeccakP1600_plain64_state *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
shake.c: 53 | void KeccakP1600_Permute_24rounds(KeccakP1600_plain64_state *state);
shake.c: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
shake.c: shake.c: In function 'pqcrypto_kem_threebears624r2cpa_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/like/amd64/include/libkeccak.a.headers/KeccakP-1600-SnP.h:48:54: note: expected 'KeccakP1600_plain64_state *' but argument is of type 'uint8_t *' {aka 'unsigned char *'}
shake.c: 48 | 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: 4, namely:
Implementation | Compiler |
vec | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
vec | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
vec | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
vec | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Namespace violations
melas_fec.o pqcrypto_kem_threebears624r2cpa_impl_priv_melas_fec_correct T
melas_fec.o pqcrypto_kem_threebears624r2cpa_impl_priv_melas_fec_set T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_canon_3120 T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_contract_3120 T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_expand_3120 T
ring.o pqcrypto_kem_threebears624r2cpa_impl_priv_mac_3120 T
shake.o pqcrypto_kem_threebears624r2cpa_impl_priv_hash_output T
shake.o pqcrypto_kem_threebears624r2cpa_impl_priv_hash_update T
shake.o pqcrypto_kem_threebears624r2cpa_impl_priv_threebears_cshake_init T
threebears.o pqcrypto_kem_threebears624r2cpa_impl_priv_decapsulate T
threebears.o pqcrypto_kem_threebears624r2cpa_impl_priv_encapsulate T
threebears.o pqcrypto_kem_threebears624r2cpa_impl_priv_get_pubkey T
threebears.o pqcrypto_kem_threebears624r2cpa_impl_priv_secure_bzero T
Number of similar (implementation,compiler) pairs: 9, namely:
Implementation | Compiler |
ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Passed TIMECOP
TIMECOP iterations: 1
Number of similar (implementation,compiler) pairs: 9, namely:
Implementation | Compiler |
ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3)) |
ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |