Test results for amd64, speed2supercop, crypto_aead/twegift64locusaeadv1
[Page version: 20260114 04:45:32]
Measurements for amd64, speed2supercop, crypto_aead
Test results for amd64, speed2supercop, crypto_aead
Test results for crypto_aead/twegift64locusaeadv1
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20251222
Operation: crypto_aead
Primitive: twegift64locusaeadv1
| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
| 7300792 | 17590 0 0 | 35021 792 920 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251216 | 20251114 |
| 9931668 | 17620 0 0 | 35206 792 920 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251216 | 20251114 |
| 11917356 | 16358 0 0 | 36318 792 856 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251216 | 20251114 |
| 13147776 | 37376 0 0 | 53429 752 928 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251216 | 20251114 |
| 18982232 | 8525 0 0 | 23063 784 920 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251216 | 20251114 |
| 27852220 | 7123 0 0 | 21293 752 928 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251216 | 20251114 |
| 30591500 | 7484 0 0 | 21182 792 856 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20251216 | 20251114 |
| 32354952 | 4751 0 0 | 17288 728 896 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251216 | 20251114 |
| 32675304 | 5506 0 0 | 19572 744 928 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20251216 | 20251114 |
Compiler output
encrypt.c: encrypt.c:355:7: warning: explicitly assigning value of variable of type 'const unsigned char *' to itself [-Wself-assign]
encrypt.c: 355 | nsec = nsec;
encrypt.c: | ~~~~ ^ ~~~~
encrypt.c: encrypt.c:412:7: warning: explicitly assigning value of variable of type 'unsigned char *' to itself [-Wself-assign]
encrypt.c: 412 | nsec = nsec;
encrypt.c: | ~~~~ ^ ~~~~
encrypt.c: 2 warnings generated.
Number of similar (implementation,compiler) pairs: 5, 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)) |
Compiler output
encrypt.c: In function 'xor_bytes',
encrypt.c: inlined from 'proc_pt' at encrypt.c:238:2,
encrypt.c: inlined from 'crypto_aead_twegift64locusaeadv1_ref_timingleaks_encrypt' at encrypt.c:380:3:
encrypt.c: encrypt.c:31:25: warning: writing 32 bytes into a region of size 8 [-Wstringop-overflow=]
encrypt.c: 31 | dest[i] ^= src[i];
encrypt.c: | ~~~~~~~~^~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_twegift64locusaeadv1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:362:12: note: destination object 'wxor' of size 8
encrypt.c: 362 | u8 wxor[CRYPTO_BLOCKBYTES] = { 0 };
encrypt.c: | ^~~~
encrypt.c: In function 'xor_bytes',
encrypt.c: inlined from 'proc_pt' at encrypt.c:238:2,
encrypt.c: inlined from 'crypto_aead_twegift64locusaeadv1_ref_timingleaks_encrypt' at encrypt.c:380:3:
encrypt.c: encrypt.c:31:25: warning: writing 32 bytes into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 31 | dest[i] ^= src[i];
encrypt.c: | ~~~~~~~~^~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_twegift64locusaeadv1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:362:12: note: at offset 32 into destination object 'wxor' of size 8
encrypt.c: 362 | u8 wxor[CRYPTO_BLOCKBYTES] = { 0 };
encrypt.c: | ^~~~
encrypt.c: In function 'xor_bytes',
encrypt.c: inlined from 'proc_pt' at encrypt.c:238:2,
encrypt.c: inlined from 'crypto_aead_twegift64locusaeadv1_ref_timingleaks_encrypt' at encrypt.c:380:3:
encrypt.c: encrypt.c:31:25: warning: writing 32 bytes into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 31 | dest[i] ^= src[i];
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 init T
encrypt.o memcpy_and_zero_one_pad T
encrypt.o mult_by_alpha T
encrypt.o proc_ad T
encrypt.o proc_ct T
encrypt.o proc_pt T
encrypt.o proc_tg T
encrypt.o xor_bytes T
twegift-64.o _gift_perm R
twegift-64.o _gift_perm_inv R
twegift-64.o _gift_round_constants R
twegift-64.o _gift_sbox R
twegift-64.o _gift_sbox_inv R
twegift-64.o add_round_constants T
twegift-64.o add_round_key T
twegift-64.o add_round_tweak T
twegift-64.o bits_to_nibbles T
twegift-64.o bytes_to_nibbles T
twegift-64.o expand_tweak T
twegift-64.o generate_round_keys T
twegift-64.o nibbles_to_bits T
twegift-64.o nibbles_to_bytes T
twegift-64.o perm_bits T
twegift-64.o perm_bits_inv T
twegift-64.o sub_cells T
twegift-64.o sub_cells_inv T
twegift-64.o twegift_dec T
twegift-64.o twegift_enc 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) |