Implementation notes: amd64, hertz, crypto_aead/flexaead128b128v12

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240425
Operation: crypto_aead
Primitive: flexaead128b128v12
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
24903616817 0 038062 828 1096T:opt1clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024042920240425
25022916801 0 037934 828 1096T:opt1clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024042920240425
2511277733 0 021352 780 1064T:opt1gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
25360712793 0 028109 804 1096T:opt1gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
27282614264 0 029192 820 1096T:opt1clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024042920240425
28376518493 0 034011 820 1096T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
29784027587 0 048718 828 1096T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024042920240425
30060027635 0 048878 828 1096T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024042920240425
33277812056 0 027008 820 1096T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2024042920240425
4295006391 0 020198 796 1064T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217

Checksum failure

Implementation: T:opt1
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
473bea2889cd672c502ba6a3e10590ce01f4f0199e88efb19482052642a7471c
Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:opt1

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: In function 'dirShuffleLayer',
encrypt.c: inlined from 'dirPFK' at encrypt.c:631:3,
encrypt.c: inlined from 'crypto_aead_flexaead128b128v12_ref_timingleaks_encrypt' at encrypt.c:242:2:
encrypt.c: encrypt.c:586:34: warning: writing 32 bytes into a region of size 24 [-Wstringop-overflow=]
encrypt.c: 586 | *(state+(2*i+1)) = *(block+(1*(blocklen/2)+i));
encrypt.c: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_flexaead128b128v12_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:233:27: note: at offset [160, 184] into destination object 'flexaeadv1' of size 184
encrypt.c: 233 | struct FlexAEADv1 flexaeadv1;
encrypt.c: | ^~~~~~~~~~
encrypt.c: In function 'dirShuffleLayer',
encrypt.c: inlined from 'dirPFK' at encrypt.c:631:3,
encrypt.c: inlined from 'crypto_aead_flexaead128b128v12_ref_timingleaks_encrypt' at encrypt.c:244:2:
encrypt.c: encrypt.c:586:34: warning: writing 32 bytes into a region of size 24 [-Wstringop-overflow=]
encrypt.c: 586 | *(state+(2*i+1)) = *(block+(1*(blocklen/2)+i));
encrypt.c: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_flexaead128b128v12_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:233:27: note: at offset [160, 184] into destination object 'flexaeadv1' of size 184
encrypt.c: 233 | struct FlexAEADv1 flexaeadv1;
encrypt.c: | ^~~~~~~~~~
encrypt.c: In function 'dirShuffleLayer',
encrypt.c: inlined from 'dirPFK' at encrypt.c:631:3,
encrypt.c: inlined from 'crypto_aead_flexaead128b128v12_ref_timingleaks_encrypt' at encrypt.c:321:2:
encrypt.c: encrypt.c:586:34: warning: writing 32 bytes into a region of size 24 [-Wstringop-overflow=]
encrypt.c: 586 | *(state+(2*i+1)) = *(block+(1*(blocklen/2)+i));
encrypt.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:ref