VAMPIRE

eBACS: ECRYPT Benchmarking of Cryptographic Systems


ECRYPT II
General information:IntroductioneBASHeBASCeBAEADeBATSSUPERCOPXBXComputersArch
How to submit new software:Tipshashstreamaeaddhkemencryptsign
List of primitives measured:lwcsha3hashstreamlwccaesaraeaddhkemencryptsign
Measurements:lwcsha3hashstreamlwccaesaraeaddhkemencryptsign
List of subroutines:verifydecodeencodesortcorehashblocksxofscalarmult

Measurements of stream ciphers on one machine: amd64; Gracemont (906a4-20); 2022 Intel Core i3-1215U, E cores; 4 x 1600MHz; alder2,1f626960,3300000, supercop-20240625

[Page version: 20240726 23:46:00]

eBASC (ECRYPT Benchmarking of Stream Ciphers) is a project to measure the performance of stream ciphers. This page presents benchmark results collected in eBASC:

Graphs show timings for all message lengths between 0 and 4096 bytes. The stair-step shape of a typical curve on the graphs reflects the fact that these stream ciphers handle messages in blocks, such as 64-byte blocks.

Each table row lists the first quartile of many speed measurements, the median of many speed measurements, the third quartile of many speed measurements, and the name of the primitive. Measurements with large variance are indicated in red with question marks. The symbol T: (starting with supercop-20200816) means that the SUPERCOP database at the time of benchmarking did not list constant time as a goal for this implementation. The symbol T!!! means that constant time was listed as a goal for this implementation, but that the implementation failed TIMECOP. (TIMECOP failures are not necessarily security issues; they can sometimes be resolved by, e.g., declaring that a rejection-sampling condition is safe to declassify.)

There is a separate page with more information about each stream cipher and each implementation. Designers and implementors interested in submitting new stream ciphers and new implementations should read the call for submissions.


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.400.400.42T:aes192ctr
0.510.530.54T:aes128ctr
0.580.580.58aes256ctr
0.690.700.71tango642
0.920.930.94chacha8
1.121.131.14salsa208
1.291.311.32T:hc128
1.291.311.33chacha12
1.611.621.63salsa2012
1.821.851.90T:hc256
1.801.941.98T:nlsv2
1.971.982.00T:speck6496ctr
2.002.012.02T:sosemanuk
2.012.022.03chacha20
2.042.052.10T:snow20
2.042.052.07T:speck64128ctr
2.062.072.08T:cryptmtv3
2.122.142.15T:panama
2.282.312.43T:tpy
2.302.352.44T:tpy6
2.422.422.44T:speck128128ctr
2.442.452.45T:trivium
2.492.502.52T:speck128192ctr
2.542.562.59xsalsa20
2.562.562.57salsa20
2.562.572.59T:speck128256ctr
2.922.942.95T:simon6496ctr
2.722.953.00T:rabbit
3.073.083.09T:simon64128ctr
3.23?3.65?3.98?T:tpypy
3.663.683.69T:lexv2
4.464.474.48T:simon128128ctr
4.694.714.72T:simon128256ctr
7.477.487.50T:aes128estream
10.9110.9410.97T:aes256estream
15.20?15.89?16.99?T:ocelot1
16.14?16.93?18.01?T:ocelot2
25.36?27.64?28.65?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.530.530.54T:aes192ctr
0.540.540.54T:aes128ctr
0.600.600.60aes256ctr
0.870.870.87tango642
0.940.940.95chacha8
1.151.151.16salsa208
1.311.321.33chacha12
1.631.631.64salsa2012
2.002.002.02T:speck6496ctr
2.022.032.04chacha20
1.962.062.08T:nlsv2
2.082.082.09T:speck64128ctr
2.122.122.16T:snow20
2.272.272.27T:sosemanuk
2.462.462.47T:speck128128ctr
2.542.542.55T:speck128192ctr
2.542.542.54T:trivium
2.582.592.59salsa20
2.612.622.63T:speck128256ctr
2.622.622.63T:cryptmtv3
2.662.672.70xsalsa20
2.812.812.82T:panama
2.952.973.03T:tpy6
2.842.993.02T:rabbit
3.083.093.09T:simon6496ctr
3.263.263.27T:simon64128ctr
3.583.603.65T:tpy
3.783.783.79T:lexv2
4.074.074.08T:hc128
4.664.674.67T:simon128128ctr
4.654.724.96T:tpypy
5.005.015.02T:simon128256ctr
7.537.537.54T:aes128estream
8.528.538.55T:hc256
11.0011.0211.03T:aes256estream
16.7717.1817.80T:ocelot1
17.7918.0918.88T:ocelot2
27.3128.8629.56T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.550.560.57T:aes128ctr
0.620.620.63aes256ctr
0.730.740.75T:aes192ctr
0.950.960.97chacha8
1.141.151.18tango642
1.171.181.19salsa208
1.311.321.33chacha12
1.641.651.65salsa2012
2.032.042.05chacha20
2.052.052.07T:speck6496ctr
2.122.122.14T:speck64128ctr
2.222.232.25T:snow20
2.282.292.30T:nlsv2
2.532.532.54T:speck128128ctr
2.592.602.61T:speck128192ctr
2.602.612.62salsa20
2.682.692.70T:speck128256ctr
2.712.712.71T:trivium
2.742.752.75T:sosemanuk
2.852.862.89xsalsa20
2.972.983.13T:rabbit
3.303.313.32T:simon6496ctr
3.573.583.59T:simon64128ctr
3.913.944.01T:tpy6
3.893.953.96T:panama
3.953.963.97T:cryptmtv3
3.983.993.99T:lexv2
5.005.005.01T:simon128128ctr
5.505.515.52T:simon128256ctr
5.685.805.90T:tpy
6.40?7.13?7.19?T:tpypy
7.617.627.63T:aes128estream
8.678.698.71T:hc128
11.1411.1411.17T:aes256estream
18.5619.4620.06T:ocelot1
19.6319.6819.71T:hc256
19.4420.2820.75T:ocelot2
29.6630.5830.66T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.820.830.89T:aes128ctr
1.041.051.12aes256ctr
1.081.101.11chacha8
1.281.301.31T:aes192ctr
1.331.341.36salsa208
1.511.541.57chacha12
1.911.931.95salsa2012
1.951.961.99tango642
2.212.212.25T:speck6496ctr
2.302.302.31T:speck64128ctr
2.342.352.38chacha20
2.542.592.61T:snow20
2.762.772.79T:speck128128ctr
2.842.852.86T:speck128192ctr
2.912.932.95T:nlsv2
2.932.942.95T:speck128256ctr
2.972.993.03salsa20
3.133.143.17T:trivium
3.333.353.44T:rabbit
3.603.613.62xsalsa20
4.034.054.06T:sosemanuk
4.444.464.50T:simon6496ctr
4.484.504.53T:lexv2
4.694.704.71T:cryptmtv3
5.035.055.07T:simon64128ctr
6.606.826.89T:tpy6
6.806.846.89T:simon128128ctr
6.896.937.00T:panama
7.827.847.84T:aes128estream
9.659.689.71T:simon128256ctr
11.00?11.09?12.76?T:tpypy
11.3111.3611.42T:tpy
11.4011.4411.53T:aes256estream
20.9621.0021.04T:hc128
24.4125.1226.49T:ocelot1
25.0125.7726.46T:ocelot2
35.0635.9637.46T:amastrid
49.1749.2149.31T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.362.392.44chacha8
3.053.063.08salsa208
3.253.313.39chacha12
3.23?3.33?3.94?T:aes128ctr
4.034.094.14T:speck6496ctr
4.164.194.36salsa2012
4.194.254.42T:speck64128ctr
4.81?4.84?5.45?aes256ctr
5.125.175.22chacha20
5.475.505.58T:speck128128ctr
5.645.675.72T:speck128192ctr
5.885.926.00T:speck128256ctr
6.316.336.38salsa20
7.147.167.28T:snow20
7.347.447.58T:rabbit
8.148.238.45T:simon6496ctr
8.708.728.73T:trivium
8.839.009.41T:aes192ctr
9.039.149.41T:simon64128ctr
10.6910.7711.06T:aes128estream
11.2711.3911.52T:lexv2
11.8111.8411.88xsalsa20
11.8911.9712.64tango642
12.0812.1912.25T:cryptmtv3
12.6612.7212.86T:nlsv2
13.3913.4713.61T:simon128128ctr
15.1615.2015.30T:simon128256ctr
15.0615.4415.64T:aes256estream
18.8919.1419.20T:sosemanuk
41.0542.1244.83T:tpy6
45.1145.3945.81T:panama
82.5083.0585.86T:tpy
69.03?86.33?86.59?T:tpypy
91.8199.36100.42T:ocelot1
97.2099.47100.39T:ocelot2
103.56104.98105.66T:amastrid
178.56179.00179.34T:hc128
427.70428.31429.27T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
14.7515.1215.62T:aes128ctr
15.88?17.50?22.75?T:speck6496ctr
19.00?19.62?24.25?T:speck128256ctr
19.38?19.88?25.88?T:speck128192ctr
19.88?20.25?22.12?T:speck128128ctr
20.7521.0022.12T:speck64128ctr
20.8821.2521.88chacha8
26.75?27.12?31.88?aes256ctr
27.7528.2528.88salsa208
29.6230.7532.75chacha12
36.5036.8840.25salsa2012
36.5037.1238.12T:simon6496ctr
42.7543.1244.00chacha20
43.1243.8844.88T:simon64128ctr
44.5044.7545.25T:aes128estream
44.1245.0049.00T:rabbit
51.8852.0052.38T:trivium
54.0054.6256.00salsa20
56.3856.7559.62T:snow20
58.0059.8864.12T:aes256estream
64.8868.1268.75T:lexv2
71.8872.5074.12T:nlsv2
71.7572.8876.25T:aes192ctr
71.3875.2578.62T:simon128128ctr
79.2579.5079.62T:cryptmtv3
76.38?81.00?85.75?T:simon128256ctr
90.7591.0095.75tango642
100.12100.88102.00xsalsa20
151.25152.62152.88T:sosemanuk
315.00317.38329.75T:tpy6
347.00353.50357.75T:panama
529.00531.00536.62T:tpypy
642.00651.88691.62T:ocelot1
644.25653.12665.38T:ocelot2
650.00665.62695.62T:tpy
693.38698.75711.25T:amastrid
1426.501428.751433.62T:hc128
3421.753430.753437.88T:hc256