Implementation notes: amd64, nucnuc, crypto_aead/lacv1

Computer: nucnuc
Microarchitecture: amd64; Airmont (406c3)
Architecture: amd64
CPU ID: GenuineIntel-000406c3-bfebfbff
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: lacv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
9007695747 16 021505 812 1080T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122620231217
14564668344 16 024749 844 1016T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122620231217
14959177410 16 024309 844 1016T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122620231217
15238607346 16 022597 844 1016T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122620231217
39773324778 16 019369 812 1080T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122620231217
41403033456 16 016979 836 1016T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122620231217
47464013980 16 018043 836 1016T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023122620231217
51082264648 16 018808 804 1080T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122620231217
89488823402 16 016356 788 1048T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023122620231217

Compiler output

Implementation: T:ref
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.c: encrypt.c: In function 'crypto_aead_lacv1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:25:22: 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:425:27: note: at offset -5 to an object with size 0 allocated by 'malloc' here
encrypt.c: 425 | mpad = (unsigned char *)malloc(mpadlen); //the array to store padded message(mpad bytes)
encrypt.c: | ^~~~~~~~~~~~~~~
encrypt.c: encrypt.c:26:22: 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:425:27: note: at offset -4 to an object with size 0 allocated by 'malloc' here
encrypt.c: 425 | mpad = (unsigned char *)malloc(mpadlen); //the array to store padded message(mpad bytes)
encrypt.c: | ^~~~~~~~~~~~~~~
encrypt.c: encrypt.c:27:22: 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:425:27: note: at offset -3 to an object with size 0 allocated by 'malloc' here
encrypt.c: 425 | mpad = (unsigned char *)malloc(mpadlen); //the array to store padded message(mpad bytes)
encrypt.c: | ^~~~~~~~~~~~~~~
encrypt.c: encrypt.c:28:22: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 28 | xpad[xpadlen - 2] = ((xlen * 8) >> 8) & 0xff;
encrypt.c: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:425:27: note: at offset -2 to an object with size 0 allocated by 'malloc' here
encrypt.c: 425 | mpad = (unsigned char *)malloc(mpadlen); //the array to store padded message(mpad bytes)
encrypt.c: | ^~~~~~~~~~~~~~~
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