Test results for amd64, speed2supercop, crypto_kem/remblem1056
[Page version: 20241023 21:37:24]
Measurements for amd64, speed2supercop, crypto_kem
Test results for amd64, speed2supercop, crypto_kem
Test results for crypto_kem/remblem1056
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20241022
Operation: crypto_kem
Primitive: remblem1056
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
25809372 | 28076 4320 72 | 54382 5184 1696 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241020 | 20241011 |
25884184 | 32959 4312 72 | 58970 5200 1632 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241020 | 20241011 |
25913032 | 32301 4312 72 | 59546 5200 1632 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241020 | 20241011 |
26344652 | 10956 4320 72 | 35406 5184 1696 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241020 | 20241011 |
26409200 | 8550 4312 72 | 32948 5192 1728 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241020 | 20241011 |
26533540 | 29349 4312 72 | 56498 5200 1632 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241020 | 20241011 |
26542220 | 12359 4312 72 | 35978 5200 1632 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20241020 | 20241011 |
26747036 | 7511 4320 72 | 31753 5184 1696 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241020 | 20241011 |
27513604 | 6096 4320 72 | 28984 5176 1664 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20241020 | 20241011 |
Compiler output
kem.c: kem.c:97:16: warning: unused variable 'D_tmp' [-Wunused-variable]
kem.c: unsigned char D_tmp[32];
kem.c: ^
kem.c: kem.c:198:9: warning: unused variable 'j' [-Wunused-variable]
kem.c: int i, j;
kem.c: ^
kem.c: kem.c:322:16: warning: unused variable 'j' [-Wunused-variable]
kem.c: int i, j, bit;
kem.c: ^
kem.c: kem.c:322:19: warning: unused variable 'bit' [-Wunused-variable]
kem.c: int i, j, bit;
kem.c: ^
kem.c: kem.c:366:24: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
kem.c: bytes_from_modq(pk+32,pPubKey_B,CRYPTO_R_n);
kem.c: ^~~~~~~~~
kem.c: kem.c:27:60: note: passing argument to parameter 'x' here
kem.c: static void bytes_from_modq(unsigned char *y,unsigned int *x,int xlen)
kem.c: ^
kem.c: kem.c:340:9: warning: unused variable 'j' [-Wunused-variable]
kem.c: int i, j, bit;
kem.c: ^
kem.c: kem.c:340:12: warning: unused variable 'bit' [-Wunused-variable]
kem.c: int i, j, bit;
kem.c: ^
kem.c: kem.c:454:6: warning: unused variable 'tmp' [-Wunused-variable]
kem.c: ...
rng.c: rng.c:123:6: 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: 5, 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 (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
Compiler output
kem.c: kem.c: In function 'SHA256_OS':
kem.c: kem.c:97:23: warning: unused variable 'D_tmp' [-Wunused-variable]
kem.c: 97 | unsigned char D_tmp[32];
kem.c: | ^~~~~
kem.c: kem.c: In function 'p_add':
kem.c: kem.c:198:16: warning: unused variable 'j' [-Wunused-variable]
kem.c: 198 | int i, j;
kem.c: | ^
kem.c: kem.c: In function 'keys_from_pk':
kem.c: kem.c:322:19: warning: unused variable 'bit' [-Wunused-variable]
kem.c: 322 | int i, j, bit;
kem.c: | ^~~
kem.c: kem.c:322:16: warning: unused variable 'j' [-Wunused-variable]
kem.c: 322 | int i, j, bit;
kem.c: | ^
kem.c: kem.c: In function 'keys_from_sk':
kem.c: kem.c:366:31: warning: pointer targets in passing argument 2 of 'bytes_from_modq' differ in signedness [-Wpointer-sign]
kem.c: 366 | bytes_from_modq(pk+32,pPubKey_B,CRYPTO_R_n);
kem.c: | ^~~~~~~~~
kem.c: | |
kem.c: | int *
kem.c: kem.c:27:60: note: expected 'unsigned int *' but argument is of type 'int *'
kem.c: 27 | static void bytes_from_modq(unsigned char *y,unsigned int *x,int xlen)
kem.c: | ~~~~~~~~~~~~~~^
kem.c: kem.c:340:19: warning: unused variable 'bit' [-Wunused-variable]
kem.c: ...
rng.c: rng.c: In function 'AES256_ECB':
rng.c: rng.c:123:13: warning: variable 'ciphertext_len' set but not used [-Wunused-but-set-variable]
rng.c: 123 | int ciphertext_len;
rng.c: | ^~~~~~~~~~~~~~
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Namespace violations
kem.o CDT_TABLE D
kem.o INTT T
kem.o NTT T
kem.o NTT_new T
kem.o SHA256_INT T
kem.o SHA256_OS T
kem.o Sample_CDT T
kem.o _BINT_to_OS T
kem.o _OS_to_BINT T
kem.o _R_KEM_Enc T
kem.o _R_KEM_GenTrinary T
kem.o _R_KEM_dec T
kem.o fmodq T
kem.o intt_512_40961 D
kem.o ntt_512_40961 D
kem.o p_add T
kem.o p_mul T
kem.o p_muladd T
kem.o random_modq 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
rng.o xrandombytes T
rng.o xrandombytes_init T
Number of similar (implementation,compiler) pairs: 9, 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 (Debian_Clang_16.0.6_(27+b1)) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_16.0.6_(27+b1)) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.3.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |