Test results for amd64, kizomba, crypto_aead/lacv1
[Page version: 20241023 11:37:30]
Measurements for amd64, kizomba, crypto_aead
Test results for amd64, kizomba, crypto_aead
Test results for crypto_aead/lacv1
Computer: kizomba
Microarchitecture: amd64; Kaby Lake (906e9)
Architecture: amd64
CPU ID: GenuineIntel-000906e9-1fc9cbf5
SUPERCOP version: 20241022
Operation: crypto_aead
Primitive: lacv1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
488877 | 7579 16 0 | 23605 848 856 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240717 | 20240716 |
492607 | 7723 16 0 | 24989 848 872 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240717 | 20240716 |
499917 | 7739 16 0 | 25301 848 920 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240717 | 20240716 |
1883113 | 5152 16 0 | 19983 808 928 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240717 | 20240716 |
1908329 | 4851 16 0 | 18381 848 856 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240717 | 20240716 |
1966532 | 4046 16 0 | 18375 840 920 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240717 | 20240716 |
1983661 | 4928 16 0 | 19334 800 928 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240717 | 20240716 |
2796164 | 3878 16 0 | 17034 784 896 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240717 | 20240716 |
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:
Implementation | Compiler |
T:ref | gcc -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:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.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: 8, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0) |