Test results for amd64, prodesk, crypto_aead/lacv1

[Page version: 20241023 21:24:53]

Measurements for amd64, prodesk, crypto_aead Test results for amd64, prodesk, crypto_aead Test results for crypto_aead/lacv1
Computer: prodesk
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-bfebfbff
SUPERCOP version: 20241022
Operation: crypto_aead
Primitive: lacv1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
5070527803 16 025163 856 872T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024073020240716
5072287803 16 025443 856 872T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024073020240716
5075767579 16 023667 856 856T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024073020240716
5717526146 16 021966 784 928T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024073020240716
18432164357 16 018366 784 928T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024073020240716
19067604851 16 018443 856 856T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024073020240716
19280283961 16 018289 848 920T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024073020240716
21282964583 16 018069 776 928T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024073020240716
30402603384 16 015625 760 896T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024073020240716

Compiler output


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: 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: In function 'crypto_aead_lacv1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:425:41: note: at offset -5 into 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: 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: In function 'crypto_aead_lacv1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:425:41: note: at offset -4 into 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: 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: In function 'crypto_aead_lacv1_ref_timingleaks_encrypt':
encrypt.c: encrypt.c:425:41: note: at offset -3 into object of size 0 allocated by 'malloc'
encrypt.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.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 [-Wmaybe-uninitialized]
encrypt.c:   619 |                                 datastate[j + 2] ^= mpad[i + j];
encrypt.c:       |                                                         ^
encrypt.c: encrypt.c:524:24: note: 'mpad' was declared here
encrypt.c:   524 |         unsigned char *mpad;
encrypt.c:       |                        ^~~~

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

Namespace violations


encrypt.o E T
encrypt.o G T
encrypt.o Gleak T
encrypt.o KS T
encrypt.o S D
encrypt.o key_sched_LBlocks T
encrypt.o padding T

Number of similar (implementation,compiler) pairs: 9, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_14.0.6)
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (12.2.0)