Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
---|---|---|---|---|---|---|
86248 | 135395 67296 0 | 193549 68096 1608 | avx2 | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
86391 | 152009 67296 0 | 210655 68136 1576 | avx2 | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
86903 | 160744 67296 0 | 219687 68136 1640 | avx2 | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
87912 | 138282 67296 0 | 196079 68136 1576 | avx2 | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
93574 | 129560 67296 0 | 185705 68128 1640 | avx2 | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
95464 | 130747 67296 0 | 186805 68096 1608 | avx2 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
98458 | 130535 67296 0 | 185903 68136 1576 | avx2 | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
103603 | 130692 67296 0 | 186245 68096 1608 | avx2 | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
108347 | 130442 67296 0 | 184885 68088 1576 | avx2 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
833698 | 68367 0 0 | 115777 840 1640 | compact | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
837107 | 48111 0 0 | 95225 840 1576 | compact | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
891617 | 32667 0 0 | 80087 800 1608 | compact | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
1240940 | 36751 0 0 | 83161 840 1576 | compact | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
3693433 | 37694 0 0 | 84977 840 1576 | ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
3715145 | 49116 0 0 | 96649 840 1640 | ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
3725752 | 19967 0 0 | 66537 840 1576 | ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
3889326 | 7266 0 0 | 51529 840 1576 | compact | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
4165669 | 7966 0 0 | 52763 832 1640 | ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
4222837 | 6374 0 0 | 51395 832 1640 | compact | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
5107458 | 17294 0 0 | 64159 800 1608 | ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
5149312 | 5626 0 0 | 50903 800 1608 | compact | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
5313211 | 8056 0 0 | 52927 800 1608 | ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
8014338 | 7328 0 0 | 50575 792 1576 | ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
8371933 | 4270 0 0 | 48055 792 1576 | compact | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
10008296 | 7764 0 0 | 52029 792 1608 | ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
10126482 | 7207 0 0 | 51465 840 1576 | ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
10339312 | 4831 0 0 | 49629 792 1608 | compact | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240720 | 20240716 |
owcpa.c: owcpa.c:44:40: warning: argument 3 of type 'const unsigned char[1400]' with mismatched bound [-Warray-parameter=] owcpa.c: 44 | const unsigned char seed[NTRU_SAMPLE_FG_BYTES]) owcpa.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ owcpa.c: In file included from owcpa.c:1: owcpa.c: owcpa.h:14:40: note: previously declared as 'const unsigned char[32]' owcpa.c: 14 | const unsigned char seed[NTRU_SEEDBYTES]); owcpa.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ owcpa.c: owcpa.c: In function 'crypto_kem_ntruhrss701_avx2_constbranchindex_owcpa_keypair': owcpa.c: <command-line>: warning: 'crypto_kem_ntruhrss701_avx2_constbranchindex_sample_fg' reading 1400 bytes from a region of size 32 [-Wstringop-overread] owcpa.c: <command-line>: note: in definition of macro 'CRYPTO_NAMESPACE' owcpa.c: owcpa.c:54:3: note: in expansion of macro 'sample_fg' owcpa.c: 54 | sample_fg(f,g,seed); owcpa.c: | ^~~~~~~~~ owcpa.c: <command-line>: note: referencing argument 3 of type 'const unsigned char *' owcpa.c: <command-line>: note: in definition of macro 'CRYPTO_NAMESPACE' owcpa.c: owcpa.c:54:3: note: in expansion of macro 'sample_fg' owcpa.c: 54 | sample_fg(f,g,seed); owcpa.c: | ^~~~~~~~~ owcpa.c: <command-line>: note: in a call to function 'crypto_kem_ntruhrss701_avx2_constbranchindex_sample_fg' owcpa.c: <command-line>: note: in definition of macro 'CRYPTO_NAMESPACE' owcpa.c: sample.h:10:6: note: in expansion of macro 'sample_fg' owcpa.c: 10 | void sample_fg(poly *f, poly *g, const unsigned char uniformbytes[NTRU_SAMPLE_FG_BYTES]); owcpa.c: | ^~~~~~~~~ pack3.c: pack3.c:3:36: warning: argument 1 of type 'unsigned char[280]' with mismatched bound [-Warray-parameter=] pack3.c: 3 | void poly_S3_tobytes(unsigned char msg[NTRU_OWCPA_MSGBYTES], const poly *a) pack3.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ pack3.c: In file included from pack3.c:1: pack3.c: poly.h:33:36: note: previously declared as 'unsigned char[140]' pack3.c: 33 | void poly_S3_tobytes(unsigned char msg[NTRU_PACK_TRINARY_BYTES], const poly *a); pack3.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pack3.c: pack3.c:19:53: warning: argument 2 of type 'const unsigned char[280]' with mismatched bound [-Warray-parameter=] pack3.c: 19 | void poly_S3_frombytes(poly *r, const unsigned char msg[NTRU_OWCPA_MSGBYTES]) pack3.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ pack3.c: In file included from pack3.c:1: pack3.c: poly.h:34:53: note: previously declared as 'const unsigned char[140]' pack3.c: 34 | void poly_S3_frombytes(poly *r, const unsigned char msg[NTRU_PACK_TRINARY_BYTES]); pack3.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Implementation | Compiler |
avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
owcpa.c: owcpa.c:44:40: warning: argument 3 of type 'const unsigned char[1400]' with mismatched bound [-Warray-parameter=] owcpa.c: 44 | const unsigned char seed[NTRU_SAMPLE_FG_BYTES]) owcpa.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ owcpa.c: In file included from owcpa.c:1: owcpa.c: owcpa.h:14:40: note: previously declared as 'const unsigned char[32]' owcpa.c: 14 | const unsigned char seed[NTRU_SEEDBYTES]); owcpa.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ owcpa.c: owcpa.c: In function 'crypto_kem_ntruhrss701_ref_constbranchindex_owcpa_keypair': owcpa.c: <command-line>: warning: 'crypto_kem_ntruhrss701_ref_constbranchindex_sample_fg' reading 1400 bytes from a region of size 32 [-Wstringop-overread] owcpa.c: <command-line>: note: in definition of macro 'CRYPTO_NAMESPACE' owcpa.c: owcpa.c:54:3: note: in expansion of macro 'sample_fg' owcpa.c: 54 | sample_fg(f,g,seed); owcpa.c: | ^~~~~~~~~ owcpa.c: <command-line>: note: referencing argument 3 of type 'const unsigned char *' owcpa.c: <command-line>: note: in definition of macro 'CRYPTO_NAMESPACE' owcpa.c: owcpa.c:54:3: note: in expansion of macro 'sample_fg' owcpa.c: 54 | sample_fg(f,g,seed); owcpa.c: | ^~~~~~~~~ owcpa.c: <command-line>: note: in a call to function 'crypto_kem_ntruhrss701_ref_constbranchindex_sample_fg' owcpa.c: <command-line>: note: in definition of macro 'CRYPTO_NAMESPACE' owcpa.c: sample.h:10:6: note: in expansion of macro 'sample_fg' owcpa.c: 10 | void sample_fg(poly *f, poly *g, const unsigned char uniformbytes[NTRU_SAMPLE_FG_BYTES]); owcpa.c: | ^~~~~~~~~ pack3.c: pack3.c:3:36: warning: argument 1 of type 'unsigned char[280]' with mismatched bound [-Warray-parameter=] pack3.c: 3 | void poly_S3_tobytes(unsigned char msg[NTRU_OWCPA_MSGBYTES], const poly *a) pack3.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ pack3.c: In file included from pack3.c:1: pack3.c: poly.h:32:36: note: previously declared as 'unsigned char[140]' pack3.c: 32 | void poly_S3_tobytes(unsigned char msg[NTRU_PACK_TRINARY_BYTES], const poly *a); pack3.c: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pack3.c: pack3.c:19:53: warning: argument 2 of type 'const unsigned char[280]' with mismatched bound [-Warray-parameter=] pack3.c: 19 | void poly_S3_frombytes(poly *r, const unsigned char msg[NTRU_OWCPA_MSGBYTES]) pack3.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ pack3.c: In file included from pack3.c:1: pack3.c: poly.h:33:53: note: previously declared as 'const unsigned char[140]' pack3.c: 33 | void poly_S3_frombytes(poly *r, const unsigned char msg[NTRU_PACK_TRINARY_BYTES]); pack3.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Implementation | Compiler |
ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
TIMECOP iterations: 1
Implementation | Compiler |
avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
avx2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
compact | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
compact | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
compact | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
compact | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
compact | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
compact | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
compact | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
compact | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
compact | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |