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; Goldmont (506c9); 2016 Intel Celeron J3455; 4 x 1500MHz; wooden, supercop-20241022

[Page version: 20241120 00:41:23]

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
1.431.431.43chacha8
1.451.471.47tango642
1.511.511.51T:aes192ctr
1.611.621.66T:aes128ctr
1.971.981.98chacha12
2.012.022.02salsa208
2.132.142.16aes256ctr
2.662.672.68T:cryptmtv3
2.782.802.81T:sosemanuk
2.862.872.88salsa2012
2.993.003.01T:hc128
3.003.003.01T:speck6496ctr
3.073.073.08chacha20
3.103.113.11T:speck64128ctr
3.573.583.62T:nlsv2
3.643.663.68T:tpy6
3.793.803.82T:tpy
3.88?3.93?4.54?T:hc256
4.174.184.19T:trivium
4.314.324.33T:snow20
4.344.354.43T:speck128128ctr
4.514.524.54T:speck128192ctr
4.524.534.57T:simon6496ctr
4.554.564.57salsa20
4.584.594.59xsalsa20
4.674.694.71T:speck128256ctr
4.764.774.78T:panama
4.984.995.00T:simon64128ctr
5.085.095.11T:rabbit
6.336.376.42T:tpypy
6.736.746.75T:lexv2
6.966.976.99T:simon128128ctr
7.937.977.99T:simon128256ctr
12.4712.5212.58T:aes128estream
17.6017.6117.63T:aes256estream
28.2828.2928.30T:ocelot1
31.5431.6731.78T:ocelot2
49.4650.7952.26T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.451.451.45chacha8
1.651.651.69T:aes128ctr
1.721.721.72T:aes192ctr
1.721.731.73tango642
1.992.002.00chacha12
2.042.042.04salsa208
2.172.172.19aes256ctr
2.902.902.90salsa2012
3.043.053.05T:speck6496ctr
3.093.103.10chacha20
3.153.153.15T:speck64128ctr
3.213.223.22T:cryptmtv3
3.443.443.45T:sosemanuk
3.793.803.83T:nlsv2
4.354.364.36T:trivium
4.434.444.44T:snow20
4.454.464.47T:tpy6
4.484.484.54T:speck128128ctr
4.614.614.62salsa20
4.654.664.66T:speck128192ctr
4.794.804.80xsalsa20
4.814.824.83T:speck128256ctr
4.844.854.87T:simon6496ctr
5.245.255.25T:rabbit
5.395.395.40T:simon64128ctr
5.695.705.70T:tpy
6.106.116.11T:panama
6.916.926.92T:lexv2
7.437.437.44T:simon128128ctr
8.158.178.19T:tpypy
8.508.518.51T:hc128
8.758.758.77T:simon128256ctr
12.5712.6012.64T:aes128estream
17.7317.7417.75T:aes256estream
18.2318.2518.49T:hc256
30.2630.2630.27T:ocelot1
33.5733.6233.70T:ocelot2
52.4152.9953.74T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.491.491.49chacha8
1.721.731.75T:aes128ctr
2.032.042.04chacha12
2.082.082.08T:aes192ctr
2.082.082.08salsa208
2.152.152.15tango642
2.232.232.24aes256ctr
2.952.952.97salsa2012
3.113.123.12T:speck6496ctr
3.133.143.14chacha20
3.223.223.23T:speck64128ctr
4.274.284.28T:nlsv2
4.584.594.60T:sosemanuk
4.604.614.61T:cryptmtv3
4.624.634.64T:snow20
4.654.654.66T:trivium
4.684.694.70salsa20
4.694.704.75T:speck128128ctr
4.864.874.88T:speck128192ctr
5.045.045.05T:speck128256ctr
5.145.145.15xsalsa20
5.375.395.40T:simon6496ctr
5.485.495.50T:rabbit
5.775.785.81T:tpy6
6.066.076.07T:simon64128ctr
7.217.227.24T:lexv2
8.198.208.21T:simon128128ctr
8.338.348.35T:panama
8.848.858.86T:tpy
10.0410.0610.10T:simon128256ctr
11.0611.1311.15T:tpypy
12.7612.7812.83T:aes128estream
17.7017.7117.72T:hc128
17.9417.9617.99T:aes256estream
33.5433.5533.55T:ocelot1
36.8536.9037.06T:ocelot2
41.4742.2542.35T:hc256
55.9256.0456.05T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.631.631.64chacha8
2.042.062.09T:aes128ctr
2.242.242.24chacha12
2.312.322.35salsa208
2.622.672.69aes256ctr
3.013.023.02T:aes192ctr
3.253.263.26salsa2012
3.313.323.32T:speck6496ctr
3.323.333.35tango642
3.423.423.43T:speck64128ctr
3.453.453.46chacha20
5.075.085.12salsa20
5.155.165.17T:snow20
5.285.305.31T:speck128128ctr
5.335.345.34T:cryptmtv3
5.385.395.39T:nlsv2
5.415.425.47T:speck128192ctr
5.435.435.44T:trivium
5.565.565.57T:speck128256ctr
6.146.156.17T:rabbit
6.256.276.29xsalsa20
7.617.627.63T:sosemanuk
7.657.667.70T:simon6496ctr
8.028.038.05T:lexv2
8.848.868.89T:simon64128ctr
9.339.349.37T:tpy6
12.9312.9512.99T:simon128128ctr
13.1313.1513.19T:aes128estream
14.2714.3014.31T:panama
17.2217.2517.30T:tpy
18.4318.4418.47T:aes256estream
19.1019.1119.14T:tpypy
19.2219.2519.28T:simon128256ctr
42.1442.1742.18T:hc128
42.2842.3242.35T:ocelot1
45.4245.4645.86T:ocelot2
64.0066.0266.57T:amastrid
103.70105.58105.68T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.912.912.94chacha8
4.034.034.06chacha12
4.254.284.31salsa208
4.975.005.03T:aes128ctr
5.475.565.66salsa2012
5.815.815.81T:speck6496ctr
5.915.915.91T:speck64128ctr
6.036.036.22chacha20
6.036.066.12aes256ctr
8.038.098.19salsa20
11.9411.9712.03T:snow20
12.1912.2212.28T:speck128128ctr
12.3812.4112.56T:speck128192ctr
12.6912.6912.72T:speck128256ctr
13.0613.0913.12T:simon6496ctr
13.5313.5313.53T:cryptmtv3
14.4114.5014.66T:rabbit
14.5014.5014.53T:simon64128ctr
14.9115.0315.06T:trivium
15.0915.1215.16T:aes192ctr
17.9417.9718.09T:lexv2
18.1918.2518.28T:aes128estream
18.5918.6218.66tango642
18.8118.8418.84xsalsa20
21.0921.1621.25T:simon128128ctr
21.6221.6621.91T:nlsv2
24.2824.3124.34T:simon128256ctr
24.5924.6224.66T:aes256estream
42.0642.0942.16T:sosemanuk
54.5954.6954.75T:tpy6
90.0990.1990.34T:panama
119.97120.25120.59T:tpypy
124.19124.44124.84T:tpy
154.53154.62154.84T:ocelot1
157.28157.47157.69T:ocelot2
191.94192.38197.03T:amastrid
354.84355.22355.62T:hc128
899.66916.97918.31T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
28.0028.2528.25chacha8
29.5029.7530.00T:speck6496ctr
30.5030.7530.75T:speck64128ctr
36.0036.2536.25chacha12
38.5038.5038.75T:aes128ctr
38.7539.0042.50T:speck128128ctr
41.0041.2541.50T:speck128192ctr
50.2550.2550.50aes256ctr
51.7551.7552.00T:speck128256ctr
54.0054.2554.25salsa208
55.0056.2556.50chacha20
64.2564.5066.25T:simon6496ctr
70.5070.5070.50salsa2012
70.7571.2571.50T:aes128estream
74.5075.0075.75T:simon64128ctr
87.7587.7588.00T:cryptmtv3
88.0088.2588.25T:rabbit
89.5090.0090.25T:trivium
90.5090.5090.50T:aes256estream
95.2596.0096.75T:snow20
99.0099.2599.25T:lexv2
102.00102.00102.25salsa20
115.00115.00115.75T:aes192ctr
118.00118.75119.75T:nlsv2
125.00125.25135.75T:simon128128ctr
123.25125.50127.75T:simon128256ctr
140.00140.25140.50tango642
185.25185.50185.75xsalsa20
335.75337.25338.25T:sosemanuk
409.25410.25411.00T:tpy6
705.75707.00708.00T:panama
915.00916.25918.00T:tpypy
970.25972.00974.75T:tpy
1041.751043.251045.50T:ocelot1
1042.25?1043.50?1954.50?T:ocelot2
1281.751308.251313.00T:amastrid
2837.252840.252842.00T:hc128
7200.257330.507339.25T:hc256