Test results for amd64, speed2supercop, crypto_aead/lacv1
[Page version: 20241023 21:37:24]
Measurements for amd64, speed2supercop, crypto_aead
Test results for amd64, speed2supercop, crypto_aead
Test results for crypto_aead/lacv1
Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20241022
Operation: crypto_aead
Primitive: lacv1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
522068 | 7785 16 0 | 25335 824 872 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
523288 | 7865 16 0 | 24023 824 856 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
523400 | 7769 16 0 | 25127 824 872 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
573016 | 6045 16 0 | 21846 784 928 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
1549700 | 3624 16 0 | 17856 816 920 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
1829936 | 4352 16 0 | 18158 784 928 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
1910804 | 4965 16 0 | 18359 824 856 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
2122936 | 4583 16 0 | 18085 776 928 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
3018616 | 3425 16 0 | 15721 760 896 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240703 | 20240625 |
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:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.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: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |