Test results for amd64, h2atom, crypto_aead/lacv1

[Page version: 20241020 18:47:50]

Measurements for amd64, h2atom, crypto_aead Test results for amd64, h2atom, crypto_aead Test results for crypto_aead/lacv1
Computer: h2atom
Microarchitecture: amd64; Bonnell (106ca)
Architecture: amd64
CPU ID: GenuineIntel-000106ca-bfe9fbff
SUPERCOP version: 20240909
Operation: crypto_aead
Primitive: lacv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
13775607621 16 024179 860 1024T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071020240625
13777817605 16 022987 860 1024T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071020240625
16251517579 16 024051 860 1024T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071020240625
79635735222 16 020860 836 1088T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024071020240625
83654313491 16 016909 852 1024T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071020240625
97431184861 16 019083 860 1024T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071020240625
116822625045 16 020099 828 1088T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024071020240625
152981613894 16 017559 812 1056T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024071020240625

Compiler output


encrypt.c: encrypt.c: In function 'crypto_aead_lacv1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:25:28: warning: array subscript -5 is outside array bounds of 'unsigned char[0]' [-Warray-bounds]
encrypt.c:    25 |          xpad[xpadlen - 5] = ((xlen * 8) >> 32) & 0xff;
encrypt.c:       |          ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:425:41: note: referencing an 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: encrypt.c:26:28: warning: array subscript -4 is outside array bounds of 'unsigned char[0]' [-Warray-bounds]
encrypt.c:    26 |          xpad[xpadlen - 4] = ((xlen * 8) >> 24) & 0xff;
encrypt.c:       |          ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:425:41: note: referencing an 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: encrypt.c:27:28: warning: array subscript -3 is outside array bounds of 'unsigned char[0]' [-Warray-bounds]
encrypt.c:    27 |          xpad[xpadlen - 3] = ((xlen * 8) >> 16) & 0xff;
encrypt.c:       |          ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:425:41: note: referencing an 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: encrypt.c:28:28: warning: array subscript -2 is outside array bounds of 'unsigned char[0]' [-Warray-bounds]
encrypt.c:    28 |          xpad[xpadlen - 2] = ((xlen * 8) >>  8) & 0xff;
encrypt.c:       |          ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
encrypt.c: encrypt.c:425:41: note: referencing an 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: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

Compiler output


encrypt.c: encrypt.c: In function 'crypto_aead_lacv1_ref_timingleaks_decrypt':
encrypt.c: encrypt.c:619:57: warning: 'mpad' may be used uninitialized in this function [-Wmaybe-uninitialized]
encrypt.c:   619 |                                 datastate[j + 2] ^= mpad[i + j];
encrypt.c:       |                                                         ^

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)