Test results for amd64, hertz, crypto_core/aes256encrypt

[Page version: 20261022 14:52:12]

Measurements for amd64, hertz, crypto_core Test results for amd64, hertz, crypto_core Test results for crypto_core/aes256encrypt
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20261018
Operation: crypto_core
Primitive: aes256encrypt
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
54580 0 030251 1288 1632dolbeau/aesenc-intclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
55580 0 024533 1280 1632dolbeau/aesenc-intclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
56580 0 031723 1288 1632dolbeau/aesenc-intclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
59641 0 029014 1256 1664dolbeau/aesenc-intgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
64754 0 023833 1232 1600dolbeau/aesenc-intgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
65791 0 025534 1256 1664dolbeau/aesenc-intgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4036185 0 035811 1288 1632T:dolbeau/std-4ftclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4056185 0 037283 1288 1632T:dolbeau/std-4ftclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4103151 0 034275 1288 1632T:dolbeau/std-1ftclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4104188 0 035299 1288 1632T:dolbeau/std-2ftclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4163151 0 032803 1288 1632T:dolbeau/std-1ftclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4284188 0 033827 1288 1632T:dolbeau/std-2ftclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4286361 0 030349 1280 1632T:dolbeau/std-4ftclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4544291 0 028301 1280 1632T:dolbeau/std-2ftclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4573268 0 027277 1280 1632T:dolbeau/std-1ftclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4574397 0 029134 1256 1664T:dolbeau/std-2ftgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4583405 0 028110 1256 1664T:dolbeau/std-1ftgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4593405 0 031726 1256 1664T:dolbeau/std-1ftgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4594397 0 032750 1256 1664T:dolbeau/std-2ftgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4996435 0 034798 1256 1664T:dolbeau/std-4ftgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
5036435 0 031182 1256 1664T:dolbeau/std-4ftgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
5316382 0 029449 1232 1600T:dolbeau/std-4ftgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
665223 0 028795 1288 1664T:opensslgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
667223 0 025179 1288 1664T:opensslgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
673145 0 024323 1296 1632T:opensslclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
674227 0 023542 1264 1600T:opensslgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
676145 0 031449 1304 1632T:opensslclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
680145 0 029977 1304 1632T:opensslclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
7044343 0 027401 1232 1600T:dolbeau/std-2ftgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
7363335 0 026377 1232 1600T:dolbeau/std-1ftgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
4700416446 0 034806 1256 1664refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
6506133247 0 032875 1288 1632refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
6519513667 0 034731 1288 1632refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
7513141664 0 024729 1232 1600refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
8767081661 0 025581 1280 1632refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2026101920261018
9958372367 0 027118 1256 1664refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2026101920261018

Compiler output


core.c: core.c: In function 'aes256ni_encrypt':
core.c: core.c:69: warning: ignoring '#pragma unroll ' [-Wunknown-pragmas]
core.c:    69 | #pragma unroll(13)

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

Compiler output


core.c: In file included from core.c:9:
core.c: stdaes-common.h:548:21: warning: 'KT3' defined but not used [-Wunused-variable]
core.c:   548 | static unsigned int KT3[256] = KT0Data;
core.c:       |                     ^~~
core.c: stdaes-common.h:541:21: warning: 'KT2' defined but not used [-Wunused-variable]
core.c:   541 | static unsigned int KT2[256] = KT0Data;
core.c:       |                     ^~~
core.c: stdaes-common.h:534:21: warning: 'KT1' defined but not used [-Wunused-variable]
core.c:   534 | static unsigned int KT1[256] = KT0Data;
core.c:       |                     ^~~
core.c: stdaes-common.h:527:21: warning: 'KT0' defined but not used [-Wunused-variable]
core.c:   527 | static unsigned int KT0[256] = KT0Data;
core.c:       |                     ^~~
core.c: stdaes-common.h:450:21: warning: 'RT3' defined but not used [-Wunused-variable]
core.c:   450 | static unsigned int RT3[256] = { RT };
core.c:       |                     ^~~
core.c: stdaes-common.h:443:21: warning: 'RT2' defined but not used [-Wunused-variable]
core.c:   443 | static unsigned int RT2[256] = { RT };
core.c:       |                     ^~~
core.c: stdaes-common.h:436:21: warning: 'RT1' defined but not used [-Wunused-variable]
core.c:   436 | static unsigned int RT1[256] = { RT };
core.c:       |                     ^~~
core.c: stdaes-common.h:429:21: warning: 'RT0' defined but not used [-Wunused-variable]
core.c:   429 | static unsigned int RT0[256] = { RT };
core.c:       |                     ^~~
core.c: ...

Number of similar (implementation,compiler) pairs: 9, namely:
ImplementationCompiler
T:dolbeau/std-1ftgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)
T:dolbeau/std-1ftgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)
T:dolbeau/std-1ftgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)
T:dolbeau/std-2ftgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)
T:dolbeau/std-2ftgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)
T:dolbeau/std-2ftgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)
T:dolbeau/std-4ftgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)
T:dolbeau/std-4ftgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)
T:dolbeau/std-4ftgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)

Compiler output


core.c: core.c:12:3: warning: 'AES_set_encrypt_key' is deprecated [-Wdeprecated-declarations]
core.c:    12 |   AES_set_encrypt_key(k,256,&kexp);
core.c:       |   ^
core.c: /usr/include/openssl/aes.h:49:1: note: 'AES_set_encrypt_key' has been explicitly marked deprecated here
core.c:    49 | OSSL_DEPRECATEDIN_3_0
core.c:       | ^
core.c: /usr/include/openssl/macros.h:216:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
core.c:   216 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
core.c:       |                               ^
core.c: /usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
core.c:    61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
core.c:       |                                               ^
core.c: core.c:13:3: warning: 'AES_ecb_encrypt' is deprecated [-Wdeprecated-declarations]
core.c:    13 |   AES_ecb_encrypt(in,out,&kexp,AES_ENCRYPT);
core.c:       |   ^
core.c: /usr/include/openssl/aes.h:61:1: note: 'AES_ecb_encrypt' has been explicitly marked deprecated here
core.c:    61 | OSSL_DEPRECATEDIN_3_0
core.c:       | ^
core.c: /usr/include/openssl/macros.h:216:31: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
core.c:   216 | #define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
core.c:       |                               ^
core.c: /usr/include/openssl/macros.h:61:47: note: expanded from macro 'OSSL_DEPRECATED'
core.c:    61 | #define OSSL_DEPRECATED(since) __attribute__((deprecated))
core.c:       |                                               ^
core.c: 2 warnings generated.

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:opensslclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1))
T:opensslclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1))
T:opensslclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1))

Compiler output


core.c: core.c: In function 'crypto_core_aes256encrypt_openssl_timingleaks':
core.c: core.c:12:3: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
core.c:    12 |   AES_set_encrypt_key(k,256,&kexp);
core.c:       |   ^~~~~~~~~~~~~~~~~~~
core.c: In file included from core.c:1:
core.c: /usr/include/openssl/aes.h:50:5: note: declared here
core.c:    50 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
core.c:       |     ^~~~~~~~~~~~~~~~~~~
core.c: core.c:13:3: warning: 'AES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
core.c:    13 |   AES_ecb_encrypt(in,out,&kexp,AES_ENCRYPT);
core.c:       |   ^~~~~~~~~~~~~~~
core.c: /usr/include/openssl/aes.h:62:6: note: declared here
core.c:    62 | void AES_ecb_encrypt(const unsigned char *in, unsigned char *out,
core.c:       |      ^~~~~~~~~~~~~~~

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:opensslgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)
T:opensslgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)
T:opensslgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4005398
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/aesenc-intclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1))

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4005558
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
dolbeau/aesenc-intclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1))
refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (15.2.0)

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4004B98
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
dolbeau/aesenc-intclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_21.1.8_(6ubuntu1))

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4004F98
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

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

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4005458
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

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

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x40049D8
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

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

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4005D18
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

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

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4006058
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

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

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4004ED8
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

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

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4006998
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

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

TIMECOP error (can be valgrind bug)


error 132

Process terminating with default action of signal 4 (SIGILL)
 Illegal opcode at address 0x4004CD8
   at 0x...: memset (string_fortified.h:59)
   by 0x...: cpucycles_works (wrapper.c:59)
   by 0x...: supercop_cpucycles_ticks_amd64_tsc_setup (amd64-tsc.c:28)
   by 0x...: cpucycles_init (wrapper.c:314)
   by 0x...: main (try-anything.c:330)
Illegal instruction (core dumped)

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