Implementation notes: amd64, hertz, crypto_aead/elephant200v2

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: elephant200v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
8982067644 0 028710 828 1096T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
9158058876 0 030054 828 1096T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
9495248052 0 025325 804 1160T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
25580854484 0 019725 804 1096T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
28104954989 0 020008 820 1096T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716
44733702911 0 016488 780 1064T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071620240716

Compiler output


encrypt.c: In function 'xor_block',
encrypt.c:     inlined from 'crypto_aead_impl' at encrypt.c:141:13:
encrypt.c: encrypt.c:34:18: warning: writing 32 bytes into a region of size 25 [-Wstringop-overflow=]
encrypt.c:    34 |         state[i] ^= block[i];
encrypt.c:       |         ~~~~~~~~~^~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_impl':
encrypt.c: encrypt.c:121:10: note: destination object 'buffer' of size 25
encrypt.c:   121 |     BYTE buffer[BLOCK_SIZE];
encrypt.c:       |          ^~~~~~
encrypt.c: In function 'xor_block',
encrypt.c:     inlined from 'crypto_aead_impl' at encrypt.c:141:13:
encrypt.c: encrypt.c:34:18: warning: writing 32 bytes into a region of size 0 [-Wstringop-overflow=]
encrypt.c:    34 |         state[i] ^= block[i];
encrypt.c:       |         ~~~~~~~~~^~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_impl':
encrypt.c: encrypt.c:121:10: note: at offset [32, 57] into destination object 'buffer' of size 25
encrypt.c:   121 |     BYTE buffer[BLOCK_SIZE];
encrypt.c:       |          ^~~~~~
encrypt.c: In function 'xor_block',
encrypt.c:     inlined from 'crypto_aead_impl' at encrypt.c:141:13:
encrypt.c: encrypt.c:34:18: warning: writing 32 bytes into a region of size 0 [-Wstringop-overflow=]
encrypt.c:    34 |         state[i] ^= block[i];
encrypt.c:       |         ~~~~~~~~~^~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_impl':
encrypt.c: encrypt.c:121:10: note: at offset [64, 89] into destination object 'buffer' of size 25
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 constcmp T
encrypt.o crypto_aead_impl T
encrypt.o get_ad_block T
encrypt.o get_c_block T
encrypt.o lfsr_step T
encrypt.o rotl T
encrypt.o xor_block T
keccak.o KeccakP200Round T
keccak.o KeccakRhoOffsets R
keccak.o KeccakRoundConstants R
keccak.o chi T
keccak.o iota T
keccak.o permutation T
keccak.o pi T
keccak.o rho T
keccak.o theta T

Number of similar (implementation,compiler) pairs: 6, 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 -O3 -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)