Implementation notes: amd64, hertz, crypto_aead/romulusn3v1

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: romulusn3v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
110971432801 72 854013 916 1096T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
141700230229 72 851493 916 1096T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
355578111938 72 827388 892 1128T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
385688110614 72 825831 908 1096T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
48398048421 72 822207 868 1096T: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:80:3:
encrypt.c: encrypt.c:28:13: warning: writing 32 bytes into a region of size 16 [-Wstringop-overflow=]
encrypt.c:    28 |       mp[i] = m[i];
encrypt.c:       |       ~~~~~~^~~~~~
encrypt.c: encrypt.c: In function 'rho_ad':
encrypt.c: encrypt.c:75:17: note: destination object 'mp' of size 16
encrypt.c:    75 |   unsigned char mp [16];
encrypt.c:       |                 ^~
encrypt.c: In function 'pad',
encrypt.c:     inlined from 'rho_ad' at encrypt.c:80:3:
encrypt.c: encrypt.c:28:13: warning: writing 32 bytes into a region of size 16 [-Wstringop-overflow=]
encrypt.c:    28 |       mp[i] = m[i];
encrypt.c:       |       ~~~~~~^~~~~~
encrypt.c: encrypt.c: In function 'rho_ad':
encrypt.c: encrypt.c:75:17: note: destination object 'mp' of size 16
encrypt.c:    75 |   unsigned char mp [16];
encrypt.c:       |                 ^~
encrypt.c: In function 'pad',
encrypt.c:     inlined from 'rho' at encrypt.c:106:3:
encrypt.c: encrypt.c:28:13: warning: writing 32 bytes into a region of size 16 [-Wstringop-overflow=]
encrypt.c:    28 |       mp[i] = m[i];
encrypt.c:       |       ~~~~~~^~~~~~
encrypt.c: encrypt.c: In function 'rho':
encrypt.c: encrypt.c:101: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


encrypt.o ad_encryption T
encrypt.o block_cipher T
encrypt.o compose_tweakey T
encrypt.o g T
encrypt.o g8A T
encrypt.o generate_tag T
encrypt.o irho T
encrypt.o lfsr_gf24 T
encrypt.o msg_decryption T
encrypt.o msg_encryption T
encrypt.o nonce_encryption T
encrypt.o pad T
encrypt.o reset_lfsr_gf24 T
encrypt.o rho T
encrypt.o rho_ad T
skinny_reference.o AddConstants T
skinny_reference.o AddKey T
skinny_reference.o AddKey_inv T
skinny_reference.o MixColumn T
skinny_reference.o MixColumn_inv T
skinny_reference.o P R
skinny_reference.o P_inv R
skinny_reference.o RC R
skinny_reference.o ShiftRows T
skinny_reference.o ShiftRows_inv T
skinny_reference.o SubCell4 T
skinny_reference.o SubCell4_inv T
skinny_reference.o SubCell8 T
skinny_reference.o SubCell8_inv T
skinny_reference.o TWEAKEY_P R
skinny_reference.o TWEAKEY_P_inv R
skinny_reference.o TestVectors T
skinny_reference.o dec T
skinny_reference.o enc T
skinny_reference.o fic B
skinny_reference.o sbox_4 R
skinny_reference.o sbox_4_inv R
skinny_reference.o sbox_8 R
skinny_reference.o sbox_8_inv R
skinny_reference.o skinny_128_256_enc T
skinny_reference.o versions D

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)