Implementation notes: amd64, cezanne, crypto_kem/ntrulpr653

Computer: cezanne
Microarchitecture: amd64; Zen 3 (a50f00)
Architecture: amd64
CPU ID: AuthenticAMD-00a50f00-178bfbff
SUPERCOP version: 20240625
Operation: crypto_kem
Primitive: ntrulpr653
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
904048177 0 078711 836 1720factoredclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
904526586 0 076944 820 1752factoredgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
9071610023 0 080695 836 1720factoredclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1012298181 0 078551 836 1720factoredclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1026012812 0 070613 828 1720factoredclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1079892106 0 069480 812 1720factoredgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1086802443 0 071376 820 1752factoredgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1107122436 0 070685 828 1720factoredclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1107212159 0 070648 820 1752factoredgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
8867780512527 0 049696 820 1752refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
8968475714877 0 051743 836 1720refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
8980878116585 0 053631 836 1720refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
8992964318493 0 055615 836 1720refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1042570735968 0 041488 820 1752refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1060834835384 0 039757 828 1720refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1082220015320 0 040368 820 1752refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1215122087029 0 042013 828 1720refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1545051045001 0 038976 812 1720refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x40AF89
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Generator (kem.c:135)
   by 0x...: crypto_kem_ntrulpr653_factored_constbranchindex_keypair (kem.c:198)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
factoredclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x40B669
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Generator (kem.c:135)
   by 0x...: crypto_kem_ntrulpr653_factored_constbranchindex_keypair (kem.c:198)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
factoredclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x409129
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Generator (kem.c:135)
   by 0x...: crypto_kem_ntrulpr653_factored_constbranchindex_keypair (kem.c:198)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
factoredclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4091B9
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Generator (kem.c:135)
   by 0x...: crypto_kem_ntrulpr653_factored_constbranchindex_keypair (kem.c:198)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
factoredclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x40AE59
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Generator (kem.c:135)
   by 0x...: crypto_kem_ntrulpr653_factored_constbranchindex_keypair (kem.c:198)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
factoredclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x1114F9
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Generator (kem.c:135)
   by 0x...: crypto_kem_ntrulpr653_factored_constbranchindex_keypair (kem.c:198)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
factoredgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x1125E9
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Generator (kem.c:135)
   by 0x...: crypto_kem_ntrulpr653_factored_constbranchindex_keypair (kem.c:198)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
factoredgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x111159
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Generator (kem.c:135)
   by 0x...: crypto_kem_ntrulpr653_factored_constbranchindex_keypair (kem.c:198)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
factoredgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x110DA9
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Generator (kem.c:135)
   by 0x...: crypto_kem_ntrulpr653_factored_constbranchindex_keypair (kem.c:198)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
factoredgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x407229
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Expand (kem.c:451)
   by 0x...: Generator (kem.c:486)
   by 0x...: XKeyGen (kem.c:515)
   by 0x...: ZKeyGen (kem.c:716)
   by 0x...: KEM_KeyGen (kem.c:800)
   by 0x...: crypto_kem_ntrulpr653_ref_constbranchindex_keypair (kem.c:862)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x407939
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Expand (kem.c:451)
   by 0x...: Generator (kem.c:486)
   by 0x...: XKeyGen (kem.c:515)
   by 0x...: ZKeyGen (kem.c:716)
   by 0x...: KEM_KeyGen (kem.c:800)
   by 0x...: crypto_kem_ntrulpr653_ref_constbranchindex_keypair (kem.c:862)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x404149
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Expand (kem.c:451)
   by 0x...: Generator (kem.c:486)
   by 0x...: XKeyGen (kem.c:515)
   by 0x...: ZKeyGen (kem.c:716)
   by 0x...: KEM_KeyGen (kem.c:800)
   by 0x...: crypto_kem_ntrulpr653_ref_constbranchindex_keypair (kem.c:862)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x403DF9
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Expand (kem.c:451)
   by 0x...: Generator (kem.c:486)
   by 0x...: XKeyGen (kem.c:515)
   by 0x...: ZKeyGen (kem.c:716)
   by 0x...: KEM_KeyGen (kem.c:800)
   by 0x...: crypto_kem_ntrulpr653_ref_constbranchindex_keypair (kem.c:862)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x406B39
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Expand (kem.c:451)
   by 0x...: Generator (kem.c:486)
   by 0x...: XKeyGen (kem.c:515)
   by 0x...: ZKeyGen (kem.c:716)
   by 0x...: KEM_KeyGen (kem.c:800)
   by 0x...: crypto_kem_ntrulpr653_ref_constbranchindex_keypair (kem.c:862)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10C4B9
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Expand (kem.c:451)
   by 0x...: Generator (kem.c:486)
   by 0x...: XKeyGen (kem.c:515)
   by 0x...: ZKeyGen (kem.c:716)
   by 0x...: KEM_KeyGen (kem.c:800)
   by 0x...: crypto_kem_ntrulpr653_ref_constbranchindex_keypair (kem.c:862)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10E009
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Expand (kem.c:451)
   by 0x...: Generator (kem.c:486)
   by 0x...: XKeyGen (kem.c:515)
   by 0x...: ZKeyGen (kem.c:716)
   by 0x...: KEM_KeyGen (kem.c:800)
   by 0x...: crypto_kem_ntrulpr653_ref_constbranchindex_keypair (kem.c:862)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10BEF9
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Expand (kem.c:451)
   by 0x...: Generator (kem.c:486)
   by 0x...: XKeyGen (kem.c:515)
   by 0x...: ZKeyGen (kem.c:716)
   by 0x...: KEM_KeyGen (kem.c:800)
   by 0x...: crypto_kem_ntrulpr653_ref_constbranchindex_keypair (kem.c:862)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

TIMECOP error (can be valgrind bug)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10BA19
   at 0x...: _mm256_aesenc_epi128 (vaesintrin.h:52)
   by 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: Expand (kem.c:451)
   by 0x...: Generator (kem.c:486)
   by 0x...: XKeyGen (kem.c:515)
   by 0x...: ZKeyGen (kem.c:716)
   by 0x...: KEM_KeyGen (kem.c:800)
   by 0x...: crypto_kem_ntrulpr653_ref_constbranchindex_keypair (kem.c:862)
   by 0x...: test (try.c:126)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)