Implementation notes: amd64, hertz, crypto_aead/elephant160v1
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: elephant160v1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
33603398 | 9805 1024 0 | 31065 1868 1096 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
33837042 | 9805 1024 0 | 30953 1868 1096 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
36519047 | 7225 1024 0 | 24461 1836 1160 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
37200246 | 4343 1024 0 | 19344 1852 1096 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
40618910 | 3925 1024 0 | 19141 1836 1096 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
108905031 | 2613 1024 0 | 16160 1812 1064 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
Compiler output
encrypt.c: In function 'xor_block',
encrypt.c: inlined from 'crypto_aead_impl' at encrypt.c:140:13:
encrypt.c: encrypt.c:34:18: warning: writing 32 bytes into a region of size 20 [-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 'c_buffer' of size 20
encrypt.c: 121 | BYTE c_buffer[BLOCK_SIZE];
encrypt.c: | ^~~~~~~~
encrypt.c: In function 'xor_block',
encrypt.c: inlined from 'crypto_aead_impl' at encrypt.c:140: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, 52] into destination object 'c_buffer' of size 20
encrypt.c: 121 | BYTE c_buffer[BLOCK_SIZE];
encrypt.c: | ^~~~~~~~
encrypt.c: In function 'xor_block',
encrypt.c: inlined from 'crypto_aead_impl' at encrypt.c:140: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, 84] into destination object 'c_buffer' of size 20
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 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 rotl3 T
encrypt.o xor_block T
spongent.o Pi T
spongent.o PrintState T
spongent.o lCounter T
spongent.o pLayer T
spongent.o permutation T
spongent.o retnuoCl T
spongent.o sBoxLayer D
Number of similar (implementation,compiler) pairs: 6, 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 -O3 -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) |