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; Broadwell+AES (406f1); 2016 Intel Xeon E5-2609 v4; 8 x 1700MHz; bolero, supercop-20240625

[Page version: 20240719 07:49: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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.550.550.56chacha8
0.620.630.63salsa208
0.730.750.76tango642
0.750.760.77T:aes128ctr
0.11?0.78?3.39?chacha12
0.75?0.88?0.89?salsa2012
0.88?0.96?0.99?T:aes192ctr
1.011.021.02aes256ctr
1.041.041.06T:speck6496ctr
1.061.071.07T:speck64128ctr
1.201.211.22chacha20
1.29?1.30?2.02?T:speck128192ctr
1.07?1.30?1.98?T:speck128128ctr
1.321.331.34T:speck128256ctr
1.371.381.39xsalsa20
1.381.381.39salsa20
1.521.531.54T:simon6496ctr
1.581.581.59T:simon64128ctr
1.711.741.76T:hc128
1.911.911.92T:trivium
2.102.232.33T:tpy
2.302.352.37T:hc256
2.442.462.51T:sosemanuk
2.482.492.50T:simon128256ctr
2.49?2.53?4.28?T:cryptmtv3
2.622.652.71T:nlsv2
2.612.672.73T:tpy6
2.872.892.90T:rabbit
2.983.033.07T:panama
2.64?3.13?3.14?T:snow20
2.29?3.69?3.73?T:simon128128ctr
3.523.743.79T:tpypy
4.214.234.26T:lexv2
8.518.528.55T:aes128estream
13.77?13.91?21.42?T:aes256estream
15.38?17.53?18.35?T:ocelot1
18.09?19.39?22.05?T:ocelot2
31.7031.9033.22T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.560.570.57chacha8
0.640.640.64salsa208
0.78?0.79?2.75?chacha12
0.790.800.80T:aes128ctr
0.890.900.90salsa2012
0.920.920.93tango642
1.051.061.06aes256ctr
1.071.071.08T:speck6496ctr
1.101.101.10T:speck64128ctr
1.221.221.22chacha20
1.301.321.33T:aes192ctr
1.30?1.33?1.84?T:speck128128ctr
1.33?1.33?1.88?T:speck128192ctr
1.371.381.38T:speck128256ctr
1.391.391.40salsa20
1.491.491.49xsalsa20
1.711.721.73T:simon6496ctr
1.901.911.91T:simon64128ctr
2.012.012.02T:trivium
2.752.762.79T:sosemanuk
2.772.792.82T:nlsv2
2.962.972.98T:rabbit
2.972.982.98T:simon128256ctr
3.02?3.04?4.32?T:cryptmtv3
3.233.243.24T:snow20
3.273.293.30T:tpy6
2.57?3.61?3.64?T:simon128128ctr
3.643.703.75T:tpy
3.963.984.00T:panama
4.364.374.39T:lexv2
5.045.115.14T:tpypy
5.155.165.17T:hc128
8.578.588.58T:aes128estream
10.6710.6910.70T:hc256
13.90?13.98?19.60?T:aes256estream
18.8118.8819.39T:ocelot1
19.99?20.54?22.45?T:ocelot2
33.1933.3034.25T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.580.590.59chacha8
0.660.660.66salsa208
0.80?0.81?2.77?chacha12
0.830.850.86T:aes128ctr
0.920.930.93salsa2012
1.111.121.12aes256ctr
1.121.121.12T:speck6496ctr
1.151.151.16T:speck64128ctr
1.181.201.22tango642
1.231.231.24chacha20
1.361.371.38T:speck128128ctr
1.391.391.40T:speck128192ctr
1.411.421.42salsa20
1.431.441.44T:speck128256ctr
1.67?1.68?2.37?xsalsa20
1.891.932.02T:aes192ctr
2.032.032.04T:simon6496ctr
2.172.172.18T:trivium
2.44?2.45?3.47?T:simon64128ctr
3.00?3.01?4.27?T:simon128128ctr
3.013.053.09T:nlsv2
3.113.113.12T:rabbit
3.303.323.34T:sosemanuk
3.393.403.41T:snow20
3.773.793.81T:simon128256ctr
4.254.334.38T:tpy6
4.354.424.44T:cryptmtv3
4.584.604.62T:lexv2
5.535.555.58T:panama
6.086.096.15T:tpy
7.387.417.48T:tpypy
8.648.658.67T:aes128estream
10.8110.8310.93T:hc128
14.0114.0314.13T:aes256estream
20.7420.8621.28T:ocelot1
22.1122.6224.34T:ocelot2
24.5524.5924.60T:hc256
35.4635.6736.36T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.790.800.81chacha8
0.900.910.92salsa208
1.061.071.10T:aes128ctr
1.10?1.12?2.77?chacha12
1.241.251.32salsa2012
1.331.331.35T:speck6496ctr
1.361.381.39T:speck64128ctr
1.401.401.42aes256ctr
1.621.621.63T:speck128128ctr
1.651.651.66T:speck128192ctr
1.711.721.72chacha20
1.71?1.73?2.39?T:speck128256ctr
1.931.941.94salsa20
1.941.952.03tango642
2.562.572.58T:trivium
2.642.652.67xsalsa20
3.473.493.53T:aes192ctr
3.493.503.52T:rabbit
3.553.563.58T:simon6496ctr
3.563.583.59T:simon64128ctr
3.693.743.85T:nlsv2
3.783.833.86T:snow20
4.784.824.85T:sosemanuk
4.765.015.03T:cryptmtv3
5.195.225.25T:lexv2
5.30?5.32?7.46?T:simon128128ctr
5.725.725.74T:simon128256ctr
7.467.537.58T:tpy6
8.888.908.92T:aes128estream
9.759.789.85T:panama
12.3912.7612.81T:tpy
13.8813.9213.96T:tpypy
14.4714.5614.83T:aes256estream
26.0026.0326.07T:hc128
26.1226.2329.00T:ocelot1
27.2227.6029.40T:ocelot2
41.7242.4042.76T:amastrid
61.6461.6961.76T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.00?3.00?4.14?chacha8
3.31?3.38?4.33?salsa208
3.50?3.56?3.94?T:aes128ctr
3.623.693.75T:speck64128ctr
4.004.004.06chacha12
4.25?4.31?5.92?T:speck128192ctr
4.314.504.58T:speck128128ctr
4.31?4.56?6.11?T:speck128256ctr
4.624.694.92aes256ctr
3.62?4.78?4.89?T:speck6496ctr
4.44?4.88?6.19?salsa2012
6.006.066.06chacha20
6.506.566.56salsa20
7.75?7.88?10.11?T:trivium
7.887.948.00T:simon6496ctr
8.008.068.19T:rabbit
8.94?9.31?9.94?T:snow20
9.31?9.44?13.20?T:simon64128ctr
12.0612.1212.88T:aes128estream
11.9412.1912.52T:cryptmtv3
12.75?13.00?17.98?T:simon128128ctr
12.8813.0013.25T:lexv2
11.88?13.31?13.44?tango642
13.8814.0614.81T:nlsv2
14.5614.5614.62T:simon128256ctr
13.06?16.92?18.14?xsalsa20
20.1920.2520.38T:aes256estream
21.5021.6921.81T:sosemanuk
23.6223.6923.88T:aes192ctr
45.31?46.50?65.08?T:tpy6
63.44?64.12?89.44?T:panama
90.50?92.06?120.06?T:ocelot1
92.5693.1995.19T:ocelot2
95.00?95.25?133.08?T:tpy
93.7595.5096.25T:tpypy
120.50121.88123.38T:amastrid
215.62216.00216.50T:hc128
535.31536.19537.25T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
15.5015.5016.50T:speck64128ctr
21.0021.0021.50T:speck128128ctr
21.5022.0022.50T:speck128192ctr
18.50?22.50?26.50?T:speck6496ctr
26.00?28.00?32.50?T:speck128256ctr
29.0029.5030.00salsa208
29.5030.0032.00T:aes128ctr
36.0036.5037.50chacha8
38.0038.5039.00aes256ctr
38.5039.0040.50salsa2012
45.5046.5047.00T:simon6496ctr
46.0046.5047.50chacha12
48.50?49.50?63.88?T:trivium
48.50?50.50?55.00?T:rabbit
54.0054.5057.38T:aes128estream
56.0056.5057.00salsa20
56.00?57.00?79.25?T:simon64128ctr
67.5068.0068.50chacha20
72.50?74.50?101.38?T:snow20
57.00?75.00?78.00?T:cryptmtv3
76.5077.5084.00T:nlsv2
77.0078.0080.00T:lexv2
75.00?80.25?105.62?T:simon128128ctr
80.0081.0081.50T:aes256estream
84.5085.0086.00T:simon128256ctr
93.00?103.00?103.50?tango642
108.00?109.50?140.12?xsalsa20
172.00172.50174.50T:sosemanuk
191.50192.50195.50T:aes192ctr
340.50?351.00?501.50?T:tpy6
499.00500.00505.00T:panama
591.00600.00616.50T:ocelot2
605.00?619.50?786.38?T:ocelot1
721.00724.50746.50T:tpypy
754.50?762.50?1084.38?T:tpy
797.00808.50834.00T:amastrid
1724.501727.501730.00T:hc128
4289.004296.004301.50T:hc256