Implementation notes: amd64, hertz, crypto_aead/tgifm1128v1
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: tgifm1128v1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
563367 | 30033 0 0 | 51190 828 1096 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
612218 | 23244 0 0 | 44374 828 1096 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
723416 | 8013 0 0 | 23136 820 1096 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
876382 | 8710 0 0 | 24053 804 1096 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
1404659 | 5842 0 0 | 19512 780 1064 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
Compiler output
encrypt.c: In function 'pad',
encrypt.c: inlined from 'rho_ad' at encrypt.c:59:3:
encrypt.c: encrypt.c:30:13: warning: writing 32 bytes into a region of size 16 [-Wstringop-overflow=]
encrypt.c: 30 | mp[i] = m[i];
encrypt.c: | ~~~~~~^~~~~~
encrypt.c: encrypt.c: In function 'rho_ad':
encrypt.c: encrypt.c:56:17: note: destination object 'mp' of size 16
encrypt.c: 56 | unsigned char mp [16];
encrypt.c: | ^~
encrypt.c: In function 'pad',
encrypt.c: inlined from 'rho_ad' at encrypt.c:59:3:
encrypt.c: encrypt.c:30:13: warning: writing 32 bytes into a region of size 16 [-Wstringop-overflow=]
encrypt.c: 30 | mp[i] = m[i];
encrypt.c: | ~~~~~~^~~~~~
encrypt.c: encrypt.c: In function 'rho_ad':
encrypt.c: encrypt.c:56:17: note: destination object 'mp' of size 16
encrypt.c: 56 | unsigned char mp [16];
encrypt.c: | ^~
encrypt.c: In function 'pad',
encrypt.c: inlined from 'rho' at encrypt.c:78:3:
encrypt.c: encrypt.c:30:13: warning: writing 32 bytes into a region of size 16 [-Wstringop-overflow=]
encrypt.c: 30 | mp[i] = m[i];
encrypt.c: | ~~~~~~^~~~~~
encrypt.c: encrypt.c: In function 'rho':
encrypt.c: encrypt.c:75:17: note: destination object 'mp' of size 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 (13.2.0) |
Namespace violations
TGIF_BC.o RC R
TGIF_BC.o TGIF T
TGIF_BC.o TGIF_BC T
TGIF_BC.o TGIF_KS T
TGIF_BC.o TGIF_inv T
TGIF_BC.o XOR_branch T
TGIF_BC.o block_cipher T
TGIF_BC.o copy_branch T
TGIF_BC.o giftb64_4r T
TGIF_BC.o giftb64_4r_inv T
TGIF_BC.o left_rot T
TGIF_BC.o swap_branch T
encrypt.o ad_encryption T
encrypt.o compose_tweakey T
encrypt.o encrypt_tag T
encrypt.o g8A T
encrypt.o generate_tag T
encrypt.o ice T
encrypt.o irho T
encrypt.o kdf T
encrypt.o lfsr_gf128 T
encrypt.o msg_decryption T
encrypt.o msg_encryption T
encrypt.o pad T
encrypt.o rho T
encrypt.o rho_ad T
Number of similar (implementation,compiler) pairs: 5, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |