Implementation notes: amd64, hertz, crypto_aead/flexaead128b064v12

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: flexaead128b064v12
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
26567710884 0 028818 844 1096T:opt1clang-17_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
28807910596 0 025909 804 1096T:opt1gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
30063310453 0 028258 844 1096T:opt1clang-17_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
3309676070 0 019696 780 1064T:opt1gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
3453579177 0 024236 836 1096T:opt1clang-17_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
36260115351 0 033138 844 1096T:refclang-17_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
37109210113 0 025627 820 1096T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217
37186515479 0 033394 844 1096T:refclang-17_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
41476310138 0 025196 836 1096T:refclang-17_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231217
6352296009 0 019814 796 1064T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231217

Test failure

Implementation: T:opt1
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
error 111
crypto_aead_decrypt returns nonzero

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_flexaead128b064v12_ref_timingleaks_encrypt' at encrypt.c:242:2:
encrypt.c: encrypt.c:586:34: warning: writing 32 bytes into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 586 | *(state+(2*i+1)) = *(block+(1*(blocklen/2)+i));
encrypt.c: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_flexaead128b064v12_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:233:27: note: at offset 96 into destination object 'flexaeadv1' of size 96
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_flexaead128b064v12_ref_timingleaks_encrypt' at encrypt.c:244:2:
encrypt.c: encrypt.c:586:34: warning: writing 32 bytes into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 586 | *(state+(2*i+1)) = *(block+(1*(blocklen/2)+i));
encrypt.c: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_flexaead128b064v12_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:233:27: note: at offset 96 into destination object 'flexaeadv1' of size 96
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_flexaead128b064v12_ref_timingleaks_encrypt' at encrypt.c:321:2:
encrypt.c: encrypt.c:586:34: warning: writing 32 bytes into a region of size 0 [-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