Test results for amd64, speed2supercop, crypto_kem/lake1
[Page version: 20250318 22:34:28]
Measurements for amd64, speed2supercop, crypto_kem
Test results for amd64, speed2supercop, crypto_kem
Test results for crypto_kem/lake1
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20250307
Operation: crypto_kem
Primitive: lake1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
2326112 | 23320 48 65 | 1733337 3648 6512 | T:ref | clang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250315 | 20250307 |
2328112 | 32700 48 72 | 1745658 3616 6896 | T:ref | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250315 | 20250307 |
2330864 | 19253 48 65 | 1727467 3648 6608 | T:ref | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250315 | 20250307 |
2335272 | 24315 48 65 | 1739109 3648 6608 | T:ref | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250315 | 20250307 |
2337392 | 25683 48 72 | 1734515 3616 6896 | T:ref | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250315 | 20250307 |
2348488 | 21044 48 72 | 1729659 3616 6896 | T:ref | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250315 | 20250307 |
2405752 | 26849 48 65 | 1741557 3648 6608 | T:ref | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250315 | 20250307 |
2434728 | 17129 48 72 | 1723532 3608 6896 | T:ref | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250315 | 20250307 |
Compiler output
hash.c: clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
hash.c: hash.c:11:5: warning: 'SHA512_Init' is deprecated [-Wdeprecated-declarations]
hash.c: 11 | SHA512_Init(&sha512);
hash.c: | ^
hash.c: /usr/include/openssl/sha.h:124:1: note: 'SHA512_Init' has been explicitly marked deprecated here
hash.c: 124 | OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c);
hash.c: | ^
hash.c: /usr/include/openssl/macros.h:206:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
hash.c: 206 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
hash.c: | ^
hash.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
hash.c: 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
hash.c: | ^
hash.c: hash.c:12:5: warning: 'SHA512_Update' is deprecated [-Wdeprecated-declarations]
hash.c: 12 | SHA512_Update(&sha512, input, size);
hash.c: | ^
hash.c: /usr/include/openssl/sha.h:125:1: note: 'SHA512_Update' has been explicitly marked deprecated here
hash.c: 125 | OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c,
hash.c: | ^
hash.c: /usr/include/openssl/macros.h:206:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
hash.c: 206 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
hash.c: | ^
hash.c: /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
hash.c: 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated))
hash.c: | ^
hash.c: ...
rng.c: clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
rng.c: rng.c:122:9: warning: variable 'ciphertext_len' set but not used [-Wunused-but-set-variable]
rng.c: 122 | int ciphertext_len;
rng.c: | ^
rng.c: 1 warning generated.
decoder.cpp: decoder.cpp:27:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
decoder.cpp: 27 | ffi_vec Si[F_dim];
decoder.cpp: | ^~~~~
decoder.cpp: decoder.cpp:27:14: note: function parameter 'F_dim' with unknown value cannot be used in a constant expression
decoder.cpp: decoder.cpp:25:113: note: declared here
decoder.cpp: 25 | static void expand_space(ffi_vec &S, unsigned int &S_dim, unsigned int E_expected_dim, ffi_vec F, unsigned int F_dim) {
decoder.cpp: | ^
decoder.cpp: decoder.cpp:36:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
decoder.cpp: 36 | ffi_vec inters[F_dim-1];
decoder.cpp: | ^~~~~~~
decoder.cpp: decoder.cpp:36:18: note: function parameter 'F_dim' with unknown value cannot be used in a constant expression
decoder.cpp: decoder.cpp:25:113: note: declared here
decoder.cpp: 25 | static void expand_space(ffi_vec &S, unsigned int &S_dim, unsigned int E_expected_dim, ffi_vec F, unsigned int F_dim) {
decoder.cpp: | ^
decoder.cpp: decoder.cpp:37:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
decoder.cpp: 37 | unsigned int inters_dim[F_dim-1];
decoder.cpp: | ^~~~~~~
decoder.cpp: decoder.cpp:37:27: note: function parameter 'F_dim' with unknown value cannot be used in a constant expression
decoder.cpp: decoder.cpp:25:113: note: declared here
decoder.cpp: 25 | static void expand_space(ffi_vec &S, unsigned int &S_dim, unsigned int E_expected_dim, ffi_vec F, unsigned int F_dim) {
decoder.cpp: | ^
decoder.cpp: decoder.cpp:99:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
decoder.cpp: 99 | ffi_vec Si[F_dim];
decoder.cpp: | ^~~~~
decoder.cpp: decoder.cpp:99:14: note: function parameter 'F_dim' with unknown value cannot be used in a constant expression
decoder.cpp: ...
ffi_vec.cpp: ffi_vec.cpp:105:33: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
ffi_vec.cpp: 105 | unsigned char random_position[random_position_size];
ffi_vec.cpp: | ^~~~~~~~~~~~~~~~~~~~
ffi_vec.cpp: ffi_vec.cpp:105:33: note: read of non-const variable 'random_position_size' is not allowed in a constant expression
ffi_vec.cpp: ffi_vec.cpp:104:7: note: declared here
ffi_vec.cpp: 104 | int random_position_size = 2 * rank;
ffi_vec.cpp: | ^
ffi_vec.cpp: ffi_vec.cpp:129:33: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
ffi_vec.cpp: 129 | unsigned char random_lin_comb[random_lin_comb_size];
ffi_vec.cpp: | ^~~~~~~~~~~~~~~~~~~~
ffi_vec.cpp: ffi_vec.cpp:129:33: note: read of non-const variable 'random_lin_comb_size' is not allowed in a constant expression
ffi_vec.cpp: ffi_vec.cpp:128:7: note: declared here
ffi_vec.cpp: 128 | int random_lin_comb_size = rank * (size - rank);
ffi_vec.cpp: | ^
ffi_vec.cpp: ffi_vec.cpp:201:33: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
ffi_vec.cpp: 201 | unsigned char random_position[random_position_size];
ffi_vec.cpp: | ^~~~~~~~~~~~~~~~~~~~
ffi_vec.cpp: ffi_vec.cpp:201:33: note: read of non-const variable 'random_position_size' is not allowed in a constant expression
ffi_vec.cpp: ffi_vec.cpp:200:7: note: declared here
ffi_vec.cpp: 200 | int random_position_size = 2 * rank;
ffi_vec.cpp: | ^
ffi_vec.cpp: ffi_vec.cpp:225:33: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
ffi_vec.cpp: 225 | unsigned char random_lin_comb[random_lin_comb_size];
ffi_vec.cpp: | ^~~~~~~~~~~~~~~~~~~~
ffi_vec.cpp: ffi_vec.cpp:225:33: note: read of non-const variable 'random_lin_comb_size' is not allowed in a constant expression
ffi_vec.cpp: ...
kem.cpp: kem.cpp:174:27: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
kem.cpp: 174 | unsigned char support[E_dim * GF2MBYTES];
kem.cpp: | ^~~~~~~~~~~~~~~~~
kem.cpp: kem.cpp:174:27: note: read of non-const variable 'E_dim' is not allowed in a constant expression
kem.cpp: kem.cpp:170:7: note: declared here
kem.cpp: 170 | int E_dim = RS_recover(E, PARAM_R, sk_tmp.F, PARAM_D, xc, PARAM_N);
kem.cpp: | ^
kem.cpp: 1 warning generated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:ref | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:ref | clang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
T:ref | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(1+b1)) |
Compiler output
hash.c: hash.c: In function 'void sha512(unsigned char*, unsigned char*, uint64_t)':
hash.c: hash.c:11:16: warning: 'int SHA512_Init(SHA512_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
hash.c: 11 | SHA512_Init(&sha512);
hash.c: | ~~~~~~~~~~~^~~~~~~~~
hash.c: In file included from hash.c:6:
hash.c: /usr/include/openssl/sha.h:124:27: note: declared here
hash.c: 124 | OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c);
hash.c: | ^~~~~~~~~~~
hash.c: hash.c:12:18: warning: 'int SHA512_Update(SHA512_CTX*, const void*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
hash.c: 12 | SHA512_Update(&sha512, input, size);
hash.c: | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
hash.c: /usr/include/openssl/sha.h:125:27: note: declared here
hash.c: 125 | OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c,
hash.c: | ^~~~~~~~~~~~~
hash.c: hash.c:13:17: warning: 'int SHA512_Final(unsigned char*, SHA512_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
hash.c: 13 | SHA512_Final(output, &sha512);
hash.c: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
hash.c: /usr/include/openssl/sha.h:127:27: note: declared here
hash.c: 127 | OSSL_DEPRECATEDIN_3_0 int SHA512_Final(unsigned char *md, SHA512_CTX *c);
hash.c: | ^~~~~~~~~~~~
rng.c: rng.c: In function 'int seedexpander(AES_XOF_struct*, unsigned char*, long unsigned int)':
rng.c: rng.c:74:19: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare]
rng.c: 74 | if ( xlen <= (16-ctx->buffer_pos) ) { // buffer has what we need
rng.c: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
rng.c: rng.c: In function 'void AES256_ECB(unsigned char*, unsigned char*, unsigned char*)':
rng.c: rng.c:122:9: warning: variable 'ciphertext_len' set but not used [-Wunused-but-set-variable]
rng.c: 122 | int ciphertext_len;
rng.c: | ^~~~~~~~~~~~~~
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |