Implementation notes: amd64, speed2supercop, crypto_kem/locker9
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240808
Operation: crypto_kem
Primitive: locker9
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
11702644 | 26711 48 65 | 1666489 3584 6544 | T:ref | clang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
11733512 | 29005 48 65 | 1669961 3584 6544 | T:ref | clang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
11750580 | 25436 48 65 | 1661317 3584 6512 | T:ref | clang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
11818512 | 20962 48 65 | 1654879 3584 6608 | T:ref | clang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
Test failure
error 111
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall |
Test failure
error 111
munmap_chunk(): invalid pointer
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
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: 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: OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c);
hash.c: ^
hash.c: /usr/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
hash.c: # 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: # define OSSL_DEPRECATED(since) __attribute__((deprecated))
hash.c: ^
hash.c: hash.c:12:5: warning: 'SHA512_Update' is deprecated [-Wdeprecated-declarations]
hash.c: 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: OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c,
hash.c: ^
hash.c: /usr/include/openssl/macros.h:194:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
hash.c: # 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: # 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: int ciphertext_len;
rng.c: ^
rng.c: 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_16.0.6_(27+b1)) |
T:ref | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall |
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 (13.3.0) |
T:ref | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall |