Test results for amd64, phoenix, crypto_aead/aezv4
[Page version: 20250816 20:11:49]
Measurements for amd64, phoenix, crypto_aead
Test results for amd64, phoenix, crypto_aead
Test results for crypto_aead/aezv4
Computer: phoenix
Microarchitecture: amd64; Zen 4 (a70f41)
Architecture: amd64
CPU ID: AuthenticAMD-00a70f41-178bfbff
SUPERCOP version: 20250415
Operation: crypto_aead
Primitive: aezv4
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
1847 | 19793 0 0 | 42196 780 1192 | T:aesni | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
1855 | 13579 0 0 | 34300 780 1192 | T:aesni | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
1857 | 12935 0 0 | 37324 820 1096 | T:aesni | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
1859 | 11435 0 0 | 32286 812 1096 | T:aesni | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
1867 | 13192 0 0 | 37580 820 1096 | T:aesni | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
1897 | 11828 0 0 | 31357 820 1032 | T:aesni | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
1902 | 9720 0 0 | 28007 756 1064 | T:aesni | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
2195 | 12205 0 0 | 32347 772 1096 | T:aesni | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
147817 | 34213 0 0 | 59060 836 1096 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
150276 | 34706 0 0 | 59628 836 1096 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
181369 | 34306 0 0 | 60973 836 1032 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
406508 | 48665 0 0 | 71364 796 1192 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
451148 | 29100 0 0 | 50012 796 1192 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
489452 | 27917 0 0 | 48998 828 1096 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
522250 | 25899 0 0 | 45877 836 1032 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
547257 | 27067 0 0 | 47452 796 1096 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
720853 | 23747 0 0 | 42215 772 1064 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250815 | 20250415 |
Compiler output
encrypt.c: encrypt.c:182:2: error: - This implementation requires __AES__ or __ARM_FEATURE_CRYPTO
encrypt.c: 182 | #error - This implementation requires __AES__ or __ARM_FEATURE_CRYPTO
encrypt.c: | ^
encrypt.c: encrypt.c:211:8: error: unknown type name 'block'
encrypt.c: 211 | static block zero_pad(block x, unsigned zero_bytes) {
encrypt.c: | ^
encrypt.c: encrypt.c:211:23: error: unknown type name 'block'
encrypt.c: 211 | static block zero_pad(block x, unsigned zero_bytes) {
encrypt.c: | ^
encrypt.c: encrypt.c:212:12: error: call to undeclared function 'vand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
encrypt.c: 212 | return vand(x, loadu(pad + zero_bytes));
encrypt.c: | ^
encrypt.c: encrypt.c:212:20: error: call to undeclared function 'loadu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
encrypt.c: 212 | return vand(x, loadu(pad + zero_bytes));
encrypt.c: | ^
encrypt.c: encrypt.c:215:8: error: unknown type name 'block'
encrypt.c: 215 | static block one_zero_pad(block x, unsigned one_zero_bytes) {
encrypt.c: | ^
encrypt.c: encrypt.c:215:27: error: unknown type name 'block'
encrypt.c: 215 | static block one_zero_pad(block x, unsigned one_zero_bytes) {
encrypt.c: | ^
encrypt.c: encrypt.c:216:5: error: use of undeclared identifier 'block'
encrypt.c: 216 | block *p = (block*)(pad + one_zero_bytes);
encrypt.c: | ^
encrypt.c: encrypt.c:216:12: error: use of undeclared identifier 'p'
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:aesni | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
Compiler output
encrypt.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/pmmintrin.h:31,
encrypt.c: from /usr/lib/gcc/x86_64-linux-gnu/14/include/tmmintrin.h:31,
encrypt.c: from /usr/lib/gcc/x86_64-linux-gnu/14/include/smmintrin.h:32,
encrypt.c: from encrypt.c:46:
encrypt.c: In function '_mm_loadu_si128',
encrypt.c: inlined from 'loadu' at encrypt.c:104:46,
encrypt.c: inlined from 'zero_pad' at encrypt.c:212:12,
encrypt.c: inlined from 'cipher_aez_tiny' at encrypt.c:588:18,
encrypt.c: inlined from 'aez_encrypt' at encrypt.c:678:9,
encrypt.c: inlined from 'crypto_aead_aezv4_aesni_timingleaks_encrypt' at encrypt.c:887:5:
encrypt.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/emmintrin.h:706:10: warning: array subscript '__m128i_u[2]' is partly outside array bounds of 'const unsigned char[48]' [-Warray-bounds=]
encrypt.c: 706 | return *__P;
encrypt.c: | ^~~~
encrypt.c: encrypt.c: In function 'crypto_aead_aezv4_aesni_timingleaks_encrypt':
encrypt.c: encrypt.c:204:28: note: at offset [33, 48] into object 'pad' of size 48
encrypt.c: 204 | static const unsigned char pad[] = {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
encrypt.c: | ^~~
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:aesni | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
encrypt.c: In function 'xor_bytes',
encrypt.c: inlined from 'AEZcore' at encrypt.c:277:38:
encrypt.c: encrypt.c:67:29: warning: writing 32 bytes into a region of size 16 [-Wstringop-overflow=]
encrypt.c: 67 | while (n) { n--; dst[n] = src1[n] ^ src2[n]; }
encrypt.c: | ~~~~~~~^~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'AEZcore':
encrypt.c: encrypt.c:225:10: note: at offset [0, 15] into destination object 'tmp' of size 16
encrypt.c: 225 | byte tmp[16], X[16], Y[16], S[16];
encrypt.c: | ^~~
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Namespace violations
encrypt.o aez_decrypt T
encrypt.o aez_encrypt T
encrypt.o aez_hash T
encrypt.o aez_setup T
encrypt.o cipher_aez_core T
encrypt.o cipher_aez_tiny T
encrypt.o pass_one T
encrypt.o pass_two T
encrypt.o zero_set_byte T
Number of similar (implementation,compiler) pairs: 8, namely:
Implementation | Compiler |
T:aesni | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
T:aesni | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
T:aesni | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
T:aesni | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
T:aesni | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:aesni | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:aesni | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:aesni | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Namespace violations
blake2b.o blake2b T
blake2b.o blake2b_final T
blake2b.o blake2b_init T
blake2b.o blake2b_update T
encrypt.o Decrypt T
encrypt.o Encrypt T
rijndael-alg-fst.o rijndaelDecrypt T
rijndael-alg-fst.o rijndaelDecryptRound T
rijndael-alg-fst.o rijndaelEncrypt T
rijndael-alg-fst.o rijndaelEncryptRound T
rijndael-alg-fst.o rijndaelKeySetupDec T
rijndael-alg-fst.o rijndaelKeySetupEnc T
Number of similar (implementation,compiler) pairs: 9, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |