Implementation notes: amd64, cezanne, crypto_kem/ntrulpr953

Computer: cezanne
Microarchitecture: amd64; Zen 3 (a50f00)
Architecture: amd64
CPU ID: AuthenticAMD-00a50f00-178bfbff
SUPERCOP version: 20240625
Operation: crypto_kem
Primitive: ntrulpr953
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1249477153 0 078607 836 1720factoredclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1261487879 0 079439 836 1720factoredclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1261875938 0 077176 820 1752factoredgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1400755925 0 077071 836 1720factoredclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1407042753 0 071373 828 1720factoredclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1470392507 0 072456 820 1752factoredgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1471612151 0 070560 812 1720factoredgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1505522452 0 071701 828 1720factoredclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
1523722239 0 071696 820 1752factoredgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
18529350614367 0 051488 820 1752refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
19043064113211 0 050079 836 1720refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
19104380614741 0 051743 836 1720refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
19108071417759 0 054911 836 1720refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2217070835968 0 041488 820 1752refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2228306385296 0 039693 828 1720refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2256705215320 0 040368 820 1752refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
2569189347029 0 042013 828 1720refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062820240625
3163760945001 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 0x40AA19
   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_ntrulpr953_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 0x40AC99
   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_ntrulpr953_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 0x408FA9
   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_ntrulpr953_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 0x409019
   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_ntrulpr953_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 0x40A3F9
   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_ntrulpr953_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 0x1113B9
   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_ntrulpr953_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 0x1121B9
   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_ntrulpr953_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 0x111029
   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_ntrulpr953_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 0x110C59
   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_ntrulpr953_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 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_ntrulpr953_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 0x407679
   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_ntrulpr953_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 0x404139
   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_ntrulpr953_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 0x403DB9
   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_ntrulpr953_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 0x4064A9
   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_ntrulpr953_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_ntrulpr953_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 0x10E739
   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_ntrulpr953_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 0x10BEE9
   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_ntrulpr953_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_ntrulpr953_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)