Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
---|---|---|---|---|---|---|
88107 | 134051 67296 0 | 194548 68092 1760 | avx2 | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
88110 | 152009 67296 0 | 213529 68164 1728 | avx2 | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
88198 | 160744 67296 0 | 222545 68164 1792 | avx2 | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
90298 | 138282 67296 0 | 198857 68164 1728 | avx2 | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
96878 | 130230 67296 0 | 188828 68092 1760 | avx2 | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
97032 | 129560 67296 0 | 188543 68156 1792 | avx2 | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
102980 | 130535 67296 0 | 188713 68164 1728 | avx2 | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
108976 | 129766 67296 0 | 187868 68092 1760 | avx2 | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
114514 | 129531 67296 0 | 186500 68084 1728 | avx2 | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
863582 | 48111 0 0 | 98655 868 1728 | compact | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
881539 | 68367 0 0 | 119191 868 1792 | compact | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
964967 | 31882 0 0 | 81934 796 1760 | compact | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
1309542 | 36751 0 0 | 86543 868 1728 | compact | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
3705889 | 19967 0 0 | 69935 868 1728 | ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
3736446 | 49116 0 0 | 100111 868 1792 | ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
3954095 | 37694 0 0 | 88455 868 1728 | ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
4156853 | 7266 0 0 | 54927 868 1728 | compact | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
4941624 | 15076 0 0 | 65078 796 1760 | ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
4953610 | 7314 0 0 | 55446 796 1760 | ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
5093961 | 7966 0 0 | 56221 860 1792 | ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
5208346 | 5898 0 0 | 54054 796 1760 | compact | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
5298898 | 6374 0 0 | 54869 860 1792 | compact | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
7892168 | 6230 0 0 | 52686 788 1728 | ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
8408091 | 3975 0 0 | 50590 788 1728 | compact | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
9967845 | 6712 0 0 | 54220 788 1760 | ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
10041211 | 7207 0 0 | 54847 868 1728 | ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
10247209 | 4559 0 0 | 52220 788 1760 | compact | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240711 | 20240625 |
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[1400]' 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: | ^~~~~~~~~ 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: ... 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: 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 (12.2.0) |
avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.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[1400]' 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: | ^~~~~~~~~ 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: ... 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: 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 (12.2.0) |
ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
TIMECOP iterations: 1
Implementation | Compiler |
avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
avx2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
compact | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
compact | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
compact | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
compact | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
compact | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
compact | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
compact | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
compact | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
compact | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6) |
ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |
ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0) |