Test results for amd64, hertz, crypto_kem/oddmanhattan192
[Page version: 20240912 08:40:39]
Measurements for amd64, hertz, crypto_kem
Test results for amd64, hertz, crypto_kem
Test results for crypto_kem/oddmanhattan192
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240909
Operation: crypto_kem
Primitive: oddmanhattan192
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
171008468 | 6406 0 52 | 243310 1036 1896 | T:opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240911 | 20240909 |
172249271 | 6043 0 52 | 236715 1020 1864 | T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240911 | 20240909 |
172741155 | 5159 0 52 | 234219 1012 1832 | T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240911 | 20240909 |
174187761 | 4955 0 52 | 235832 1028 1896 | T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240911 | 20240909 |
178079931 | 7696 0 52 | 244702 1036 1896 | T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240911 | 20240909 |
432600173 | 4332 0 52 | 231848 1028 1896 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240911 | 20240909 |
447740872 | 5238 0 52 | 238750 1036 1896 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240911 | 20240909 |
450007296 | 5251 0 52 | 232531 1020 1864 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240911 | 20240909 |
459416880 | 5664 0 52 | 239310 1036 1896 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240911 | 20240909 |
462100451 | 5861 0 52 | 235139 1020 1896 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240911 | 20240909 |
Compiler output
kem.c: kem.c:30:15: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
kem.c: 30 | randombytes(seed,crypto_kem_BYTES);
kem.c: | ^~~~
kem.c: .../supercop-data/hertz/amd64/include/randombytes.h:8:40: note: passing argument to parameter here
kem.c: 8 | extern void randombytes(unsigned char *,unsigned long long);
kem.c: | ^
kem.c: kem.c:35:25: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
kem.c: 35 | seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: | ^~~~
kem.c: ./rng.h:40:34: note: passing argument to parameter 'seed' here
kem.c: 40 | unsigned char *seed,
kem.c: | ^
kem.c: kem.c:131:30: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
kem.c: 131 | seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: | ^~~~~~~~~~~
kem.c: ./rng.h:41:34: note: passing argument to parameter 'diversifier' here
kem.c: 41 | unsigned char *diversifier,
kem.c: | ^
kem.c: kem.c:305:21: warning: unused variable 'b0' [-Wunused-variable]
kem.c: 305 | unsigned char b0=1;
kem.c: | ^~
kem.c: 4 warnings generated.
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.
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
kem.c: kem.c: In function 'crypto_kem_oddmanhattan192_opt_timingleaks_keypair':
kem.c: kem.c:30:15: warning: pointer targets in passing argument 1 of 'randombytes' differ in signedness [-Wpointer-sign]
kem.c: 30 | randombytes(seed,crypto_kem_BYTES);
kem.c: | ^~~~
kem.c: | |
kem.c: | char *
kem.c: In file included from kem.c:5:
kem.c: .../supercop-data/hertz/amd64/include/randombytes.h:8:25: note: expected 'unsigned char *' but argument is of type 'char *'
kem.c: 8 | extern void randombytes(unsigned char *,unsigned long long);
kem.c: | ^~~~~~~~~~~~~~~
kem.c: kem.c:35:25: warning: pointer targets in passing argument 2 of 'seedexpander_init' differ in signedness [-Wpointer-sign]
kem.c: 35 | seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: | ^~~~
kem.c: | |
kem.c: | char *
kem.c: In file included from kem.c:3:
kem.c: rng.h:40:34: note: expected 'unsigned char *' but argument is of type 'char *'
kem.c: 40 | unsigned char *seed,
kem.c: | ~~~~~~~~~~~~~~~^~~~
kem.c: kem.c: In function 'om_kem_enc':
kem.c: kem.c:131:30: warning: pointer targets in passing argument 3 of 'seedexpander_init' differ in signedness [-Wpointer-sign]
kem.c: 131 | seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: | ^~~~~~~~~~~
kem.c: | |
kem.c: | char *
kem.c: ...
rng.c: rng.c: In function 'AES256_ECB':
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: 2, namely:
Implementation | Compiler |
T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Compiler output
kem.c: kem.c: In function 'crypto_kem_oddmanhattan192_opt_timingleaks_keypair':
kem.c: kem.c:30:15: warning: pointer targets in passing argument 1 of 'randombytes' differ in signedness [-Wpointer-sign]
kem.c: 30 | randombytes(seed,crypto_kem_BYTES);
kem.c: | ^~~~
kem.c: | |
kem.c: | char *
kem.c: In file included from kem.c:5:
kem.c: .../supercop-data/hertz/amd64/include/randombytes.h:8:25: note: expected 'unsigned char *' but argument is of type 'char *'
kem.c: 8 | extern void randombytes(unsigned char *,unsigned long long);
kem.c: | ^~~~~~~~~~~~~~~
kem.c: kem.c:35:25: warning: pointer targets in passing argument 2 of 'seedexpander_init' differ in signedness [-Wpointer-sign]
kem.c: 35 | seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: | ^~~~
kem.c: | |
kem.c: | char *
kem.c: In file included from kem.c:3:
kem.c: rng.h:40:34: note: expected 'unsigned char *' but argument is of type 'char *'
kem.c: 40 | unsigned char *seed,
kem.c: | ~~~~~~~~~~~~~~~^~~~
kem.c: kem.c: In function 'om_kem_enc':
kem.c: kem.c:131:30: warning: pointer targets in passing argument 3 of 'seedexpander_init' differ in signedness [-Wpointer-sign]
kem.c: 131 | seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: | ^~~~~~~~~~~
kem.c: | |
kem.c: | char *
kem.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:opt | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Compiler output
kem.c: kem.c:30:15: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
kem.c: 30 | randombytes(seed,crypto_kem_BYTES);
kem.c: | ^~~~
kem.c: .../supercop-data/hertz/amd64/include/randombytes.h:8:40: note: passing argument to parameter here
kem.c: 8 | extern void randombytes(unsigned char *,unsigned long long);
kem.c: | ^
kem.c: kem.c:35:25: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
kem.c: 35 | seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: | ^~~~
kem.c: ./rng.h:40:34: note: passing argument to parameter 'seed' here
kem.c: 40 | unsigned char *seed,
kem.c: | ^
kem.c: kem.c:125:30: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
kem.c: 125 | seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: | ^~~~~~~~~~~
kem.c: ./rng.h:41:34: note: passing argument to parameter 'diversifier' here
kem.c: 41 | unsigned char *diversifier,
kem.c: | ^
kem.c: kem.c:235:21: warning: unused variable 'b0' [-Wunused-variable]
kem.c: 235 | unsigned char b0=1;
kem.c: | ^~
kem.c: 4 warnings generated.
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.
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
Compiler output
kem.c: kem.c: In function 'crypto_kem_oddmanhattan192_ref_timingleaks_keypair':
kem.c: kem.c:30:15: warning: pointer targets in passing argument 1 of 'randombytes' differ in signedness [-Wpointer-sign]
kem.c: 30 | randombytes(seed,crypto_kem_BYTES);
kem.c: | ^~~~
kem.c: | |
kem.c: | char *
kem.c: In file included from kem.c:5:
kem.c: .../supercop-data/hertz/amd64/include/randombytes.h:8:25: note: expected 'unsigned char *' but argument is of type 'char *'
kem.c: 8 | extern void randombytes(unsigned char *,unsigned long long);
kem.c: | ^~~~~~~~~~~~~~~
kem.c: kem.c:35:25: warning: pointer targets in passing argument 2 of 'seedexpander_init' differ in signedness [-Wpointer-sign]
kem.c: 35 | seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: | ^~~~
kem.c: | |
kem.c: | char *
kem.c: In file included from kem.c:3:
kem.c: rng.h:40:34: note: expected 'unsigned char *' but argument is of type 'char *'
kem.c: 40 | unsigned char *seed,
kem.c: | ~~~~~~~~~~~~~~~^~~~
kem.c: kem.c: In function 'om_kem_enc':
kem.c: kem.c:125:30: warning: pointer targets in passing argument 3 of 'seedexpander_init' differ in signedness [-Wpointer-sign]
kem.c: 125 | seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: | ^~~~~~~~~~~
kem.c: | |
kem.c: | char *
kem.c: ...
rng.c: rng.c: In function 'AES256_ECB':
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: 2, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Compiler output
kem.c: kem.c: In function 'crypto_kem_oddmanhattan192_ref_timingleaks_keypair':
kem.c: kem.c:30:15: warning: pointer targets in passing argument 1 of 'randombytes' differ in signedness [-Wpointer-sign]
kem.c: 30 | randombytes(seed,crypto_kem_BYTES);
kem.c: | ^~~~
kem.c: | |
kem.c: | char *
kem.c: In file included from kem.c:5:
kem.c: .../supercop-data/hertz/amd64/include/randombytes.h:8:25: note: expected 'unsigned char *' but argument is of type 'char *'
kem.c: 8 | extern void randombytes(unsigned char *,unsigned long long);
kem.c: | ^~~~~~~~~~~~~~~
kem.c: kem.c:35:25: warning: pointer targets in passing argument 2 of 'seedexpander_init' differ in signedness [-Wpointer-sign]
kem.c: 35 | seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: | ^~~~
kem.c: | |
kem.c: | char *
kem.c: In file included from kem.c:3:
kem.c: rng.h:40:34: note: expected 'unsigned char *' but argument is of type 'char *'
kem.c: 40 | unsigned char *seed,
kem.c: | ~~~~~~~~~~~~~~~^~~~
kem.c: kem.c: In function 'om_kem_enc':
kem.c: kem.c:125:30: warning: pointer targets in passing argument 3 of 'seedexpander_init' differ in signedness [-Wpointer-sign]
kem.c: 125 | seedexpander_init(ctx,seed,diversifier,maxlen);
kem.c: | ^~~~~~~~~~~
kem.c: | |
kem.c: | char *
kem.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Namespace violations
kem.o om_kem_dec T
kem.o om_kem_enc T
kem.o om_random_generator T
rng.o AES256_CTR_DRBG_Update T
rng.o AES256_ECB T
rng.o DRBG_ctx B
rng.o handleErrors T
rng.o seedexpander T
rng.o seedexpander_init T
Number of similar (implementation,compiler) pairs: 10, namely:
Implementation | Compiler |
T:opt | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:opt | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:opt | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:opt | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:opt | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |