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 (860f81); 2021 AMD Ryzen 3 5300U; 4 x 2600MHz; lucienne, supercop-20240909

[Page version: 20241012 21:55:55]

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.390.40T:aes192ctr
0.440.440.44T:aes128ctr
0.520.530.53chacha8
0.590.590.60aes256ctr
0.640.640.64salsa208
0.710.710.72tango642
0.720.720.73chacha12
0.910.910.91salsa2012
0.910.920.93T:speck6496ctr
0.940.950.96T:speck64128ctr
1.091.111.11T:speck128128ctr
1.101.111.11chacha20
1.131.141.15T:speck128192ctr
1.181.191.20T:speck128256ctr
1.361.371.39T:simon6496ctr
1.421.421.43T:simon64128ctr
1.451.451.46xsalsa20
1.451.451.45salsa20
1.571.591.60T:hc128
1.941.951.95T:simon128128ctr
2.052.062.09T:simon128256ctr
2.082.112.14T:cryptmtv3
2.182.202.20T:hc256
2.222.232.23T:sosemanuk
2.342.362.37T:trivium
2.362.432.51T:tpy
2.452.512.59T:tpy6
2.512.522.53T:nlsv2
2.542.552.57T:panama
2.702.712.72T:snow20
2.822.842.86T:rabbit
3.924.024.08T:tpypy
4.164.174.20T:lexv2
9.059.079.08T:aes128estream
13.0013.0313.04T:aes256estream
17.2817.6817.79T:ocelot1
18.4818.6819.12T:ocelot2
30.5931.1532.90T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.460.460.46T:aes128ctr
0.530.540.54chacha8
0.580.580.59T:aes192ctr
0.610.620.62aes256ctr
0.650.650.65salsa208
0.730.730.74chacha12
0.860.860.86tango642
0.920.930.93salsa2012
0.950.950.96T:speck6496ctr
0.980.980.99T:speck64128ctr
1.121.121.13chacha20
1.151.151.15T:speck128128ctr
1.181.191.19T:speck128192ctr
1.231.231.24T:speck128256ctr
1.461.461.46salsa20
1.551.551.56xsalsa20
1.591.591.59T:simon6496ctr
1.761.761.76T:simon64128ctr
2.222.222.22T:simon128128ctr
2.452.462.46T:trivium
2.482.492.49T:sosemanuk
2.502.502.52T:simon128256ctr
2.592.602.62T:cryptmtv3
2.692.692.70T:nlsv2
2.792.792.80T:snow20
2.922.932.94T:rabbit
3.183.213.24T:tpy6
3.393.393.41T:panama
3.963.984.02T:tpy
4.304.304.32T:lexv2
4.814.824.82T:hc128
5.485.555.58T:tpypy
9.089.099.09T:aes128estream
10.5810.5810.58T:hc256
13.1013.1113.11T:aes256estream
18.9919.2819.30T:ocelot1
20.3720.4920.77T:ocelot2
32.2032.5533.65T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.490.500.50T:aes128ctr
0.550.550.56chacha8
0.650.650.66aes256ctr
0.670.670.67salsa208
0.740.750.76chacha12
0.890.890.90T:aes192ctr
0.940.950.95salsa2012
1.001.001.01T:speck6496ctr
1.051.051.06T:speck64128ctr
1.091.091.09tango642
1.141.151.15chacha20
1.221.231.23T:speck128128ctr
1.251.251.27T:speck128192ctr
1.311.311.31T:speck128256ctr
1.481.481.48salsa20
1.721.721.73xsalsa20
1.951.961.96T:simon6496ctr
2.292.322.32T:simon64128ctr
2.632.632.63T:trivium
2.682.682.69T:simon128128ctr
2.942.942.95T:snow20
2.972.972.99T:sosemanuk
3.053.053.09T:rabbit
3.063.063.07T:nlsv2
3.233.233.24T:simon128256ctr
3.873.903.92T:cryptmtv3
4.364.394.45T:tpy6
4.524.534.54T:lexv2
4.794.804.82T:panama
6.456.466.51T:tpy
7.957.998.23T:tpypy
9.079.099.19T:aes128estream
10.1810.2110.22T:hc128
13.2613.2813.28T:aes256estream
21.6221.7121.83T:ocelot1
23.3423.4423.52T:ocelot2
24.5424.5724.59T:hc256
34.7734.9435.02T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.610.620.65T:aes128ctr
0.760.770.77chacha8
0.82?0.83?0.93?aes256ctr
0.880.890.89salsa208
1.041.041.06chacha12
1.211.211.21T:speck6496ctr
1.241.251.26salsa2012
1.261.261.26T:speck64128ctr
1.541.541.55T:speck128128ctr
1.591.591.59T:speck128192ctr
1.591.591.59T:speck128256ctr
1.621.621.62chacha20
1.731.741.75tango642
1.731.751.79T:aes192ctr
1.931.941.94salsa20
2.582.592.60xsalsa20
3.063.063.06T:trivium
3.333.333.34T:snow20
3.443.463.46T:rabbit
3.533.533.59T:simon6496ctr
3.913.933.94T:nlsv2
4.064.084.17T:simon64128ctr
4.274.284.29T:sosemanuk
4.344.354.36T:cryptmtv3
5.155.165.16T:lexv2
5.195.205.23T:simon128128ctr
5.595.595.60T:simon128256ctr
7.307.537.68T:tpy6
8.568.588.61T:panama
9.279.289.34T:aes128estream
13.3613.3613.40T:tpy
13.6113.6213.68T:aes256estream
15.0315.0815.12T:tpypy
24.5524.5524.61T:hc128
28.5528.8429.19T:ocelot1
30.8731.2431.57T:ocelot2
39.8140.5240.95T:amastrid
61.8661.8661.89T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.97?1.98?2.38?T:aes128ctr
2.612.662.72chacha8
2.72?2.72?3.05?aes256ctr
3.123.143.16salsa208
3.223.223.22T:speck6496ctr
3.413.413.41T:speck64128ctr
3.613.613.67chacha12
4.034.064.06T:speck128256ctr
4.094.094.09T:speck128192ctr
4.114.114.11T:speck128128ctr
4.094.124.16salsa2012
5.665.785.81chacha20
6.116.126.14salsa20
7.627.667.98T:rabbit
7.947.957.98T:simon6496ctr
8.238.318.31T:snow20
8.78?8.78?9.77?T:trivium
8.848.849.25T:simon64128ctr
9.289.369.44T:cryptmtv3
10.0810.1110.11tango642
11.9812.0612.06xsalsa20
12.3812.4812.48T:simon128128ctr
12.4412.5312.72T:aes192ctr
12.6112.7012.95T:lexv2
12.8413.2513.34T:aes128estream
13.8313.8313.91T:simon128256ctr
17.3817.7218.02T:nlsv2
18.1418.3318.36T:aes256estream
18.5918.6118.61T:sosemanuk
46.4247.4248.52T:tpy6
56.4156.6157.02T:panama
101.81101.86102.25T:tpy
104.45104.61105.52T:tpypy
113.28114.66116.72T:amastrid
123.36123.98126.17T:ocelot2
123.12124.19127.12T:ocelot1
208.75208.98209.19T:hc128
539.00539.03539.77T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.12?17.38?21.62?T:aes128ctr
19.2519.2519.25T:speck6496ctr
20.62?21.25?25.12?T:speck64128ctr
22.62?22.88?27.00?T:speck128192ctr
23.1223.2523.88T:speck128256ctr
23.3823.3823.62chacha8
24.0024.0024.38T:speck128128ctr
23.6224.6225.62aes256ctr
31.3831.3831.50chacha12
41.5041.5041.50salsa2012
41.8841.8842.38salsa208
43.6244.2545.88T:simon6496ctr
45.5045.6247.75T:rabbit
47.6247.6247.62chacha20
49.1249.2551.25T:simon64128ctr
54.00?54.00?61.62?T:trivium
58.1259.0059.00T:aes128estream
59.1260.3861.62T:cryptmtv3
66.3866.8867.88T:snow20
67.2567.2574.62salsa20
68.5069.0069.12T:aes256estream
72.3873.2573.25T:simon128128ctr
76.8876.8876.88tango642
77.3877.5078.25T:lexv2
81.6282.2582.38T:simon128256ctr
91.2592.1293.62T:nlsv2
100.88101.62103.88T:aes192ctr
115.50115.50118.12xsalsa20
147.75147.88148.12T:sosemanuk
351.38369.50372.50T:tpy6
449.75450.75453.38T:panama
760.12763.75769.12T:amastrid
801.88803.38805.50T:tpy
808.88810.88814.75T:tpypy
859.25860.00870.62T:ocelot2
870.12879.38898.75T:ocelot1
1668.501668.621672.25T:hc128
4309.884316.124321.62T:hc256