Implementation notes: amd64, hertz, crypto_aead/flexaead128b064v1

Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: flexaead128b064v1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
10278686743 0 022211 820 1096T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070520240625
108363723776 0 044815 828 1096T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070520240625
110017723776 0 044927 828 1096T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070520240625
19768544145 0 017950 796 1064T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024070520240625
202281710619 0 025672 820 1096T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024070520240625

Compiler output


encrypt.c: In function 'dirShuffleLayer',
encrypt.c:     inlined from 'dirPFK' at encrypt.c:371:3,
encrypt.c:     inlined from 'crypto_aead_flexaead128b064v1_ref_timingleaks_encrypt' at encrypt.c:114:2:
encrypt.c: encrypt.c:343:32: warning: writing 32 bytes into a region of size 16 [-Wstringop-overflow=]
encrypt.c:   343 |                 *(state+2*i+1) = ( (*(block+i+0)  & 0x0f)<<4)  + ((*(block+i+(blocklen/2))&0x0f));
encrypt.c:       |                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_flexaead128b064v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:105:27: note: at offset [96, 112] into destination object 'flexaeadv1' of size 112
encrypt.c:   105 |         struct FlexAEADv1 flexaeadv1;
encrypt.c:       |                           ^~~~~~~~~~
encrypt.c: In function 'dirPFK',
encrypt.c:     inlined from 'crypto_aead_flexaead128b064v1_ref_timingleaks_encrypt' at encrypt.c:114:2:
encrypt.c: encrypt.c:381:49: warning: writing 32 bytes into a region of size 0 [-Wstringop-overflow=]
encrypt.c:   381 |                         *(block+i+(blocklen/2)) = (*(block+i))^(*(block+i+(blocklen/2)));
encrypt.c:       |                         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_flexaead128b064v1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:105:27: note: at offset 192 into destination object 'flexaeadv1' of size 112
encrypt.c:   105 |         struct FlexAEADv1 flexaeadv1;
encrypt.c:       |                           ^~~~~~~~~~
encrypt.c: encrypt.c:162:34: warning: writing 32 bytes into a region of size 8 [-Wstringop-overflow=]
encrypt.c:   162 |                         *(tag+i) =  *(flexaeadv1.checksum+i)^0x55;
encrypt.c:       |                         ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:104:23: note: destination object 'tag' of size 8
encrypt.c:   104 |         unsigned char tag[BLOCKSIZE];
encrypt.c:       |                       ^~~
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)