Implementation notes: amd64, hertz, crypto_aead/remusn3v1
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: remusn3v1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
2109634 | 25071 72 8 | 46157 916 1096 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
2890915 | 25487 72 8 | 46629 916 1096 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
6983610 | 9551 72 8 | 24980 892 1128 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
7637143 | 9764 72 8 | 24959 908 1096 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
9221153 | 7182 72 8 | 20959 868 1096 | 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 8 [-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 8
encrypt.c: 56 | unsigned char mp [8];
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 8 [-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 8
encrypt.c: 56 | unsigned char mp [8];
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 8 [-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 8
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
encrypt.o ad_encryption T
encrypt.o compose_tweakey 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_gf120 T
encrypt.o msg_decryption T
encrypt.o msg_encryption T
encrypt.o pad 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 block_cipher 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 versions D
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) |