Implementation notes: amd64, h3neo, crypto_aead/lacv1

Computer: h3neo
Microarchitecture: amd64; K10 45nm (100f63)
Architecture: amd64
CPU ID: AuthenticAMD-00100f63-078bfbff
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: lacv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
7723687579 16 024020 876 1024T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
7782857765 16 022708 876 1024T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
7798507797 16 023660 876 1024T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
31479553450 16 016766 868 1024T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
32558584827 16 018812 876 1024T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121920231212
36817715232 16 020974 836 1088T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231212
39513344921 16 019797 828 1088T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231212
69860593880 16 017481 812 1056T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121920231212

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 'padding',
encrypt.c: inlined from 'crypto_aead_lacv1_ref_timingleaks_encrypt' at encrypt.c:426:3:
encrypt.c: encrypt.c:25:28: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 25 | xpad[xpadlen - 5] = ((xlen * 8) >> 32) & 0xff;
encrypt.c: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_lacv1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:425:41: note: at offset -5 into destination object of size 0 allocated by 'malloc'
encrypt.c: 425 | mpad = (unsigned char *)malloc(mpadlen); //the array to store padded message(mpad bytes)
encrypt.c: | ^~~~~~~~~~~~~~~
encrypt.c: In function 'padding',
encrypt.c: inlined from 'crypto_aead_lacv1_ref_timingleaks_encrypt' at encrypt.c:426:3:
encrypt.c: encrypt.c:26:28: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 26 | xpad[xpadlen - 4] = ((xlen * 8) >> 24) & 0xff;
encrypt.c: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_lacv1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:425:41: note: at offset -4 into destination object of size 0 allocated by 'malloc'
encrypt.c: 425 | mpad = (unsigned char *)malloc(mpadlen); //the array to store padded message(mpad bytes)
encrypt.c: | ^~~~~~~~~~~~~~~
encrypt.c: In function 'padding',
encrypt.c: inlined from 'crypto_aead_lacv1_ref_timingleaks_encrypt' at encrypt.c:426:3:
encrypt.c: encrypt.c:27:28: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 27 | xpad[xpadlen - 3] = ((xlen * 8) >> 16) & 0xff;
encrypt.c: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_lacv1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:425:41: note: at offset -3 into destination object of size 0 allocated by 'malloc'
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