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; Zen 2 (860f01); 2022 AMD Ryzen 5 4500U; 6 x 3600MHz; renoir, supercop-20250307

[Page version: 20250326 01:56:40]

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.


Test results

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.390.400.40T:aes192ctr
0.440.440.45T:aes128ctr
0.520.520.52chacha8
0.590.590.60aes256ctr
0.640.640.64salsa208
0.700.710.72tango642
0.720.720.72chacha12
0.910.910.91salsa2012
0.910.920.92T:speck6496ctr
0.950.950.96T:speck64128ctr
1.111.111.14T:speck128128ctr
1.101.111.12chacha20
1.111.141.15T:speck128192ctr
1.171.181.19T:speck128256ctr
1.361.371.39T:simon6496ctr
1.411.421.43T:simon64128ctr
1.451.461.46salsa20
1.461.461.46xsalsa20
1.581.601.60T:hc128
1.931.941.95T:simon128128ctr
2.012.032.05T:simon128256ctr
2.102.142.15T:cryptmtv3
2.172.172.20T:hc256
2.20?2.25?2.47?T:sosemanuk
2.342.372.37T:trivium
2.252.382.48T:tpy
2.412.482.52T:tpy6
2.512.522.59T:nlsv2
2.522.532.54T:panama
2.692.722.73T:snow20
2.842.852.86T:rabbit
3.753.873.95T:tpypy
4.084.174.26T:lexv2
9.009.069.11T:aes128estream
12.8613.3613.49T:aes256estream
17.0917.3717.47T:ocelot1
18.7218.8918.99T:ocelot2
31.4032.6833.34T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.460.460.46T:aes128ctr
0.530.530.53chacha8
0.580.590.59T:aes192ctr
0.610.620.62aes256ctr
0.650.650.65salsa208
0.730.730.73chacha12
0.850.850.86tango642
0.920.920.92salsa2012
0.950.950.95T:speck6496ctr
0.990.990.99T:speck64128ctr
1.121.121.13chacha20
1.151.151.17T:speck128128ctr
1.161.181.19T:speck128192ctr
1.231.231.24T:speck128256ctr
1.471.471.47salsa20
1.561.561.56xsalsa20
1.591.591.59T:simon6496ctr
1.761.761.76T:simon64128ctr
2.222.222.23T:simon128128ctr
2.452.462.47T:trivium
2.492.502.50T:simon128256ctr
2.502.502.67T:sosemanuk
2.592.622.62T:cryptmtv3
2.682.682.72T:nlsv2
2.812.812.82T:snow20
2.932.932.94T:rabbit
3.143.163.18T:tpy6
3.383.383.38T:panama
3.843.933.97T:tpy
4.294.304.37T:lexv2
4.814.824.82T:hc128
5.375.425.46T:tpypy
9.079.099.10T:aes128estream
10.5710.5710.58T:hc256
13.1013.4613.46T:aes256estream
18.7918.9619.00T:ocelot1
20.5420.5920.63T:ocelot2
33.0833.6033.96T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.480.490.49T:aes128ctr
0.550.550.55chacha8
0.640.650.66aes256ctr
0.670.670.67salsa208
0.740.750.75chacha12
0.900.910.91T:aes192ctr
0.940.940.94salsa2012
1.001.011.01T:speck6496ctr
1.051.051.06T:speck64128ctr
1.091.091.09tango642
1.141.141.15chacha20
1.221.221.23T:speck128128ctr
1.241.241.26T:speck128192ctr
1.311.311.31T:speck128256ctr
1.481.491.49salsa20
1.731.731.74xsalsa20
1.941.961.96T:simon6496ctr
2.292.292.29T:simon64128ctr
2.622.632.63T:trivium
2.712.712.72T:simon128128ctr
2.952.963.01T:snow20
2.962.973.16T:sosemanuk
3.043.063.10T:nlsv2
3.073.083.10T:rabbit
3.233.263.29T:simon128256ctr
3.873.883.90T:cryptmtv3
4.284.304.35T:tpy6
4.514.534.67T:lexv2
4.784.784.79T:panama
6.386.436.47T:tpy
7.877.968.03T:tpypy
9.109.109.20T:aes128estream
10.1710.1810.22T:hc128
13.2313.5813.68T:aes256estream
21.5721.6221.77T:ocelot1
23.4023.4623.57T:ocelot2
24.5824.5824.59T:hc256
35.4136.0936.54T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.600.610.61T:aes128ctr
0.760.770.77chacha8
0.810.820.85aes256ctr
0.880.880.89salsa208
1.041.041.05chacha12
1.211.211.21T:speck6496ctr
1.231.241.24salsa2012
1.261.261.26T:speck64128ctr
1.541.541.54T:speck128128ctr
1.591.591.59T:speck128192ctr
1.591.591.59T:speck128256ctr
1.621.621.62chacha20
1.741.751.76tango642
1.741.771.77T:aes192ctr
1.941.941.95salsa20
2.582.592.59xsalsa20
3.063.063.15T:trivium
3.383.393.47T:snow20
3.473.493.50T:rabbit
3.533.533.57T:simon6496ctr
3.873.904.02T:nlsv2
4.064.094.21T:simon64128ctr
4.264.294.44T:sosemanuk
4.324.334.38T:cryptmtv3
5.175.185.44T:lexv2
5.195.205.30T:simon128128ctr
5.585.595.63T:simon128256ctr
7.187.367.62T:tpy6
8.498.528.54T:panama
9.279.329.35T:aes128estream
13.2013.2813.39T:tpy
13.6413.9714.02T:aes256estream
15.0915.1615.23T:tpypy
24.5024.5424.58T:hc128
28.6628.9029.58T:ocelot1
30.2230.8631.57T:ocelot2
39.4139.6640.08T:amastrid
61.8361.8761.99T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.95?1.97?2.41?T:aes128ctr
2.612.642.72chacha8
2.72?2.73?3.14?aes256ctr
3.143.143.19salsa208
3.223.223.22T:speck6496ctr
3.413.413.41T:speck64128ctr
3.613.613.67chacha12
4.054.054.06T:speck128256ctr
4.064.064.14salsa2012
4.094.094.09T:speck128192ctr
4.114.114.11T:speck128128ctr
5.625.725.84chacha20
6.056.096.16salsa20
7.947.948.12T:simon6496ctr
8.118.148.22T:rabbit
8.75?8.75?9.75?T:trivium
8.848.848.84T:simon64128ctr
9.039.169.20T:snow20
9.09?9.17?10.75?T:cryptmtv3
10.0510.0510.36tango642
11.8912.0212.05xsalsa20
12.4112.6112.70T:simon128128ctr
12.7712.9413.11T:aes192ctr
13.0513.1613.28T:aes128estream
12.5613.3313.45T:lexv2
13.8613.8613.88T:simon128256ctr
18.2718.3418.50T:sosemanuk
18.2318.4118.89T:nlsv2
18.4818.6918.95T:aes256estream
45.6446.7547.72T:tpy6
55.9256.2056.36T:panama
100.28100.34100.72T:tpy
104.81105.12105.39T:tpypy
113.22114.56117.09T:amastrid
122.52123.20128.86T:ocelot1
124.00125.47125.88T:ocelot2
208.09208.45208.62T:hc128
538.92539.36539.44T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.0017.1217.38T:aes128ctr
19.25?19.25?23.50?T:speck6496ctr
20.6220.6222.25T:speck64128ctr
22.6222.6222.88T:speck128192ctr
23.12?23.12?25.88?T:speck128256ctr
23.3823.3823.38chacha8
22.8823.7525.38aes256ctr
24.0024.0024.12T:speck128128ctr
31.1231.3831.38chacha12
41.1241.1241.38salsa208
44.0044.6245.50T:simon6496ctr
46.8847.3847.62chacha20
49.1249.2550.00T:rabbit
49.2549.5051.25T:simon64128ctr
51.8852.1252.12salsa2012
53.88?54.00?61.75?T:trivium
58.6260.1260.38T:aes128estream
58.25?60.38?70.38?T:cryptmtv3
69.6270.1272.00T:snow20
71.8872.2573.12T:aes256estream
72.1273.0075.00T:simon128128ctr
74.1274.1274.38salsa20
76.5076.5078.62tango642
75.7577.2582.00T:lexv2
83.0083.0083.75T:simon128256ctr
85.1286.0087.38T:nlsv2
102.88103.12106.00T:aes192ctr
121.62121.62121.88xsalsa20
146.25146.25147.75T:sosemanuk
349.25353.62360.38T:tpy6
444.62446.12448.00T:panama
749.75767.38779.25T:amastrid
783.75789.62795.12T:tpy
818.25818.88820.75T:tpypy
852.12856.50868.88T:ocelot1
853.75861.25873.50T:ocelot2
1669.001669.501674.62T:hc128
4312.884320.384321.75T:hc256