Implementation notes: amd64, hertz, crypto_aead/tgifm2128v1

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: tgifm2128v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
57736429009 0 050310 828 1096T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
63002922342 0 043502 828 1096T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
7637907565 0 022696 820 1096T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
8968038632 0 023949 804 1096T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
14715606302 0 019960 780 1064T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716

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:
ImplementationCompiler
T:refgcc -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:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1))
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0)