Implementation notes: amd64, cezanne, crypto_stream/aes256ctr

Computer: cezanne
Microarchitecture: amd64; Zen 3 (a50f00)
Architecture: amd64
CPU ID: AuthenticAMD-00a50f00-178bfbff
SUPERCOP version: 20240625
Operation: crypto_stream
Primitive: aes256ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
5255891 0 021152 780 1016dolbeau/vaesenc-intgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
5354327 0 019808 812 984dolbeau/vaesenc-intclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
5484327 0 019680 812 984dolbeau/vaesenc-intclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
9843335 0 018672 812 984dolbeau/aesenc-intclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
9924900 0 020160 780 1016dolbeau/aesenc-intgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
10033335 0 018784 812 984dolbeau/aesenc-intclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1270428 0 016547 868 984T:opensslclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1273428 0 016435 868 984T:opensslclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1274423 0 013561 860 952T:opensslclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1275358 0 012835 828 984T:opensslgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1277654 0 016552 852 984T:opensslgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1279428 0 016179 868 952T:opensslclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1280472 0 014584 852 984T:opensslgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1284437 0 013841 860 952T:opensslclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
1357437 0 014144 852 984T:opensslgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
212421193 2800 01708192 145332 10424T:cryptoppg++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
213819257 2800 01704782 145340 10424T:cryptoppg++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
215818789 2800 01703524 145340 10424T:cryptoppg++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
216112028 2064 01409392 145380 10360T:cryptoppclang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
218411940 2064 01409196 145380 10360T:cryptoppclang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
21969361 1480 01404401 145372 10328T:cryptoppclang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
22518296 3272 01696605 146412 10392T:cryptoppg++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
242317826 6592 01416749 148780 10328T:cryptoppclang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
28432773 0 015558 804 952dolbeau/vaesenc-intclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
28522596 0 016120 780 1016dolbeau/vaesenc-intgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
28852645 0 015687 772 1016dolbeau/vaesenc-intgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
32721904 0 014678 804 952dolbeau/aesenc-intclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
33321974 0 015496 780 1016dolbeau/aesenc-intgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
36873084 0 015246 804 952dolbeau/vaesenc-intclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
40121955 0 014999 772 1016dolbeau/aesenc-intgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
42022973 0 015294 804 952dolbeau/aesenc-intclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
42722475 0 014347 756 984dolbeau/vaesenc-intgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
44981807 0 013683 756 984dolbeau/aesenc-intgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output


aesenc-int.c: aesenc-int.c:81:20: warning: unused function 'aesni_encrypt1' [-Wunused-function]
aesenc-int.c: static inline void aesni_encrypt1(unsigned char *out, unsigned char *n, __m128i rkeys[16]) {
aesenc-int.c:                    ^
aesenc-int.c: aesenc-int.c:97:20: warning: unused function 'incle' [-Wunused-function]
aesenc-int.c: static inline void incle(unsigned char n[16]) {
aesenc-int.c:                    ^
aesenc-int.c: aesenc-int.c:195:1: warning: unused function 'aesni_encrypt4' [-Wunused-function]
aesenc-int.c: FUNC(4, MAKE4)
aesenc-int.c: ^
aesenc-int.c: aesenc-int.c:172:22: note: expanded from macro 'FUNC'
aesenc-int.c:   static inline void aesni_encrypt##N(unsigned char *out, unsigned char *n, __m128i rkeys[16]) { \
aesenc-int.c:                      ^
aesenc-int.c: <scratch space>:224:1: note: expanded from here
aesenc-int.c: aesni_encrypt4
aesenc-int.c: ^
aesenc-int.c: aesenc-int.c:196:1: warning: unused function 'aesni_encrypt6' [-Wunused-function]
aesenc-int.c: FUNC(6, MAKE6)
aesenc-int.c: ^
aesenc-int.c: aesenc-int.c:172:22: note: expanded from macro 'FUNC'
aesenc-int.c:   static inline void aesni_encrypt##N(unsigned char *out, unsigned char *n, __m128i rkeys[16]) { \
aesenc-int.c:                      ^
aesenc-int.c: <scratch space>:273:1: note: expanded from here
aesenc-int.c: aesni_encrypt6
aesenc-int.c: ^
aesenc-int.c: aesenc-int.c:197:1: warning: unused function 'aesni_encrypt7' [-Wunused-function]
aesenc-int.c: ...

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
dolbeau/aesenc-intclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
dolbeau/aesenc-intclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
dolbeau/aesenc-intclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
dolbeau/aesenc-intclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
dolbeau/aesenc-intclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


aesenc-int.c: aesenc-int.c: In function 'aesni_encrypt1':
aesenc-int.c: aesenc-int.c:85: warning: ignoring '#pragma unroll ' [-Wunknown-pragmas]
aesenc-int.c:    85 | #pragma unroll(13)
aesenc-int.c:       |

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
dolbeau/aesenc-intgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
dolbeau/aesenc-intgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
dolbeau/aesenc-intgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
dolbeau/aesenc-intgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


vaesenc-int.c: vaesenc-int.c:119:20: warning: unused function 'aesni_encrypt1' [-Wunused-function]
vaesenc-int.c: static inline void aesni_encrypt1(unsigned char *out, unsigned char *n, __mAESi rkeys[16]) {
vaesenc-int.c:                    ^
vaesenc-int.c: vaesenc-int.c:135:20: warning: unused function 'incle' [-Wunused-function]
vaesenc-int.c: static inline void incle(unsigned char n[16]) {
vaesenc-int.c:                    ^
vaesenc-int.c: vaesenc-int.c:279:1: warning: unused function 'aesni_encrypt2' [-Wunused-function]
vaesenc-int.c: FUNC(2, MAKE2)
vaesenc-int.c: ^
vaesenc-int.c: vaesenc-int.c:256:22: note: expanded from macro 'FUNC'
vaesenc-int.c:   static inline void aesni_encrypt##N(unsigned char *out, unsigned int *n, const __mAESi rkeys[15]) { \
vaesenc-int.c:                      ^
vaesenc-int.c: <scratch space>:224:1: note: expanded from here
vaesenc-int.c: aesni_encrypt2
vaesenc-int.c: ^
vaesenc-int.c: vaesenc-int.c:280:1: warning: unused function 'aesni_encrypt4' [-Wunused-function]
vaesenc-int.c: FUNC(4, MAKE4)
vaesenc-int.c: ^
vaesenc-int.c: vaesenc-int.c:256:22: note: expanded from macro 'FUNC'
vaesenc-int.c:   static inline void aesni_encrypt##N(unsigned char *out, unsigned int *n, const __mAESi rkeys[15]) { \
vaesenc-int.c:                      ^
vaesenc-int.c: <scratch space>:249:1: note: expanded from here
vaesenc-int.c: aesni_encrypt4
vaesenc-int.c: ^
vaesenc-int.c: 4 warnings generated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
dolbeau/vaesenc-intclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
dolbeau/vaesenc-intclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
dolbeau/vaesenc-intclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
dolbeau/vaesenc-intclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


vaesenc-int.c: vaesenc-int.c:15:2: error: "This code requires AVX enabled in the compiler."
vaesenc-int.c: #error "This code requires AVX enabled in the compiler."
vaesenc-int.c:  ^
vaesenc-int.c: vaesenc-int.c:19:2: error: "This code requires VAES enabled in the compiler."
vaesenc-int.c: #error "This code requires VAES enabled in the compiler."
vaesenc-int.c:  ^
vaesenc-int.c: 2 errors generated.

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

Compiler output


vaesenc-int.c: vaesenc-int.c: In function 'aesni_encrypt1':
vaesenc-int.c: vaesenc-int.c:123: warning: ignoring '#pragma unroll ' [-Wunknown-pragmas]
vaesenc-int.c:   123 | #pragma unroll(13)
vaesenc-int.c:       |

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
dolbeau/vaesenc-intgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
dolbeau/vaesenc-intgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
dolbeau/vaesenc-intgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


vaesenc-int.c: vaesenc-int.c: In function 'aesni_encrypt1':
vaesenc-int.c: vaesenc-int.c:123: warning: ignoring '#pragma unroll ' [-Wunknown-pragmas]
vaesenc-int.c:   123 | #pragma unroll(13)
vaesenc-int.c:       |
vaesenc-int.c: vaesenc-int.c: In function 'crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex':
vaesenc-int.c: vaesenc-int.c:258:15: warning: array subscript 4 is outside array bounds of 'unsigned char[16]' [-Warray-bounds]
vaesenc-int.c:   258 |     long long nl = *(long long*)&n[8];                                  \
vaesenc-int.c:       |               ^~
vaesenc-int.c: vaesenc-int.c:281:1: note: in expansion of macro 'FUNC'
vaesenc-int.c:   281 | FUNC(8, MAKE8)
vaesenc-int.c:       | ^~~~
vaesenc-int.c: vaesenc-int.c:293:25: note: while referencing 'n2'
vaesenc-int.c:   293 |   ALIGN16 unsigned char n2[16];
vaesenc-int.c:       |                         ^~
vaesenc-int.c: vaesenc-int.c: In function 'crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex_xor':
vaesenc-int.c: vaesenc-int.c:258:15: warning: array subscript 4 is outside array bounds of 'unsigned char[16]' [-Warray-bounds]
vaesenc-int.c:   258 |     long long nl = *(long long*)&n[8];                                  \
vaesenc-int.c:       |               ^~
vaesenc-int.c: vaesenc-int.c:281:1: note: in expansion of macro 'FUNC'
vaesenc-int.c:   281 | FUNC(8, MAKE8)
vaesenc-int.c:       | ^~~~
vaesenc-int.c: vaesenc-int.c:327:25: note: while referencing 'n2'
vaesenc-int.c:   327 |   ALIGN16 unsigned char n2[16];
vaesenc-int.c:       |                         ^~

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

TIMECOP error (can be valgrind bug)


Conditional jump or move depends on uninitialised value(s)
   at 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: test (try.c:123)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:122)
   by 0x...: main (try-anything.c:345)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x40368E
   at 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: test (try.c:123)
   by 0x...: main (try-anything.c:345)

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

TIMECOP error (can be valgrind bug)


Conditional jump or move depends on uninitialised value(s)
   at 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: test (try.c:123)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:122)
   by 0x...: main (try-anything.c:345)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x40362E
   at 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: test (try.c:123)
   by 0x...: main (try-anything.c:345)

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

TIMECOP error (can be valgrind bug)


Conditional jump or move depends on uninitialised value(s)
   at 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: test (try.c:123)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:122)
   by 0x...: main (try-anything.c:345)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x402E55
   at 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: test (try.c:123)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/vaesenc-intclang -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 0x402B09
   at 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: test (try.c:123)
   by 0x...: main (try-anything.c:345)

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

TIMECOP error (can be valgrind bug)


Conditional jump or move depends on uninitialised value(s)
   at 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: test (try.c:123)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:122)
   by 0x...: main (try-anything.c:345)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10AEA8
   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...: test (try.c:123)
   by 0x...: main (try-anything.c:345)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/vaesenc-intgcc -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 0x10B259
   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...: test (try.c:123)
   by 0x...: main (try-anything.c:345)

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

TIMECOP error (can be valgrind bug)


Conditional jump or move depends on uninitialised value(s)
   at 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: test (try.c:123)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:122)
   by 0x...: main (try-anything.c:345)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10ABEE
   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...: test (try.c:123)
   by 0x...: main (try-anything.c:345)

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

TIMECOP error (can be valgrind bug)


Conditional jump or move depends on uninitialised value(s)
   at 0x...: aesni_encrypt8 (vaesenc-int.c:281)
   by 0x...: crypto_stream_aes256ctr_dolbeau_vaesenc_int_constbranchindex (vaesenc-int.c:313)
   by 0x...: test (try.c:123)
   by 0x...: main (try-anything.c:345)
 Uninitialised value was created by a client request
   at 0x...: poison (try-anything.c:281)
   by 0x...: test (try.c:122)
   by 0x...: main (try-anything.c:345)


Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x10AAC1
   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...: test (try.c:123)
   by 0x...: main (try-anything.c:345)

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

Passed TIMECOP


TIMECOP iterations: 10

Number of similar (implementation,compiler) pairs: 8, namely:
ImplementationCompiler
dolbeau/aesenc-intclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
dolbeau/aesenc-intclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
dolbeau/aesenc-intclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
dolbeau/aesenc-intclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
dolbeau/aesenc-intgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
dolbeau/aesenc-intgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
dolbeau/aesenc-intgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
dolbeau/aesenc-intgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)