[Page version: 20260319 14:29:22]
Measurements for amd64, know, crypto_kem Test results for amd64, know, crypto_kem Test results for crypto_kem/ntruhrss701| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
|---|---|---|---|---|---|---|
| 79424 | 149457 67296 0 | 200624 68584 2368 | avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 84800 | 134118 67296 0 | 183719 68512 2368 | avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 86048 | 137821 67296 0 | 187224 68584 2304 | avx2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 88192 | 141794 67296 0 | 192504 68584 2304 | avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 91970 | 129583 67296 0 | 176966 68576 2368 | avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 92231 | 130269 67296 0 | 177687 68512 2368 | avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 101516 | 130576 67296 0 | 177456 68584 2304 | avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 102732 | 129798 67296 0 | 176543 68512 2368 | avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 111399 | 129537 67296 0 | 175111 68504 2336 | avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 907459 | 47215 0 0 | 86998 1288 2304 | compact | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 912139 | 65807 0 0 | 106062 1288 2368 | compact | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 1000836 | 31577 0 0 | 71161 1216 2368 | compact | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 1320027 | 36479 0 0 | 75494 1288 2304 | compact | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 3652893 | 18847 0 0 | 58046 1288 2304 | ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 3724797 | 26228 0 0 | 66614 1288 2304 | ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 3726944 | 35532 0 0 | 76462 1288 2368 | ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 4025956 | 7346 0 0 | 44102 1288 2304 | compact | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 4244971 | 7981 0 0 | 45012 1280 2368 | ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 4427198 | 6312 0 0 | 43580 1280 2368 | compact | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 4952479 | 13618 0 0 | 53089 1216 2368 | ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 4994753 | 7287 0 0 | 44577 1216 2368 | ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 5179527 | 5862 0 0 | 43265 1216 2368 | compact | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 7964626 | 6250 0 0 | 41681 1208 2336 | ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 8371501 | 4022 0 0 | 39617 1208 2336 | compact | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 9994744 | 6738 0 0 | 43247 1208 2368 | ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 10129906 | 7238 0 0 | 43990 1288 2304 | ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
| 10289161 | 4589 0 0 | 41311 1208 2368 | compact | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20260315 | 20260217 |
owcpa.c: owcpa.c:46:40: warning: argument 3 of type 'const unsigned char[1400]' with mismatched bound [-Warray-parameter=] owcpa.c: 46 | const unsigned char seed[NTRU_SAMPLE_FG_BYTES]) owcpa.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ owcpa.c: In file included from owcpa.c:2: 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:56:3: note: in expansion of macro 'sample_fg' owcpa.c: 56 | 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:56:3: note: in expansion of macro 'sample_fg' owcpa.c: 56 | 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:46:40: warning: argument 3 of type 'const unsigned char[1400]' with mismatched bound [-Warray-parameter=] owcpa.c: 46 | const unsigned char seed[NTRU_SAMPLE_FG_BYTES]) owcpa.c: | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ owcpa.c: In file included from owcpa.c:2: 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:56:3: note: in expansion of macro 'sample_fg' owcpa.c: 56 | 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:56:3: note: in expansion of macro 'sample_fg' owcpa.c: 56 | 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) |