Implementation notes: amd64, trident, crypto_kem/remblem928
Computer: trident
Microarchitecture: amd64; Core 2 65nm (6fb)
Architecture: amd64
CPU ID: GenuineIntel-000006fb-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_kem
Primitive: remblem928
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
27050623 | 17351 4116 72 | 38630 5052 1784 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240724 | 20240625 |
27146864 | 15844 4116 72 | 36286 5052 1784 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240724 | 20240625 |
27335335 | 7713 4116 72 | 26868 5044 1784 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240724 | 20240625 |
27379762 | 16547 4128 72 | 37235 5044 1848 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240724 | 20240625 |
27479658 | 8907 4128 72 | 28643 5044 1848 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240724 | 20240625 |
27620075 | 8328 4116 72 | 26908 5044 1784 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240724 | 20240625 |
27689222 | 17392 4116 72 | 38950 5052 1784 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240724 | 20240625 |
27845741 | 7647 4128 72 | 26835 5044 1848 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240724 | 20240625 |
28931452 | 6220 4128 72 | 24283 5036 1816 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240724 | 20240625 |
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: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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:12: warning: unused variable 'bit' [-Wunused-variable]
kem.c: int i, j, bit;
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:454:6: warning: unused variable 'tmp' [-Wunused-variable]
kem.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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:19: warning: unused variable 'bit' [-Wunused-variable]
kem.c: int i, j, bit;
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: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: ...
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
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:19: warning: unused variable 'bit' [-Wunused-variable]
kem.c: int i, j, bit;
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: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:12: warning: unused variable 'bit' [-Wunused-variable]
kem.c: int i, j, bit;
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:454:6: warning: unused variable 'tmp' [-Wunused-variable]
kem.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
kem.c: kem.c: In function 'SHA256_OS':
kem.c: kem.c:97:16: 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:9: 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:24: 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:12: warning: unused variable 'bit' [-Wunused-variable]
kem.c: ...
rng.c: rng.c: In function 'AES256_ECB':
rng.c: rng.c:123:6: 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 (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |