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; Core 2 45nm (1067a); 2009 Intel Core 2 Duo E7600; 2 x 3060MHz; wolfdale, supercop-20250307

[Page version: 20250412 06:19:16]

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.191.201.22tango642
1.451.461.46chacha8
1.901.911.91chacha12
1.921.951.97salsa208
2.322.352.39T:sosemanuk
2.462.502.55T:hc128
2.602.612.61T:speck6496ctr
2.632.642.66salsa2012
2.722.732.73T:speck64128ctr
2.792.802.83T:trivium
2.812.822.90chacha20
3.173.213.23T:cryptmtv3
3.363.423.48T:tpy
3.633.633.63T:speck128128ctr
3.683.763.79T:hc256
3.763.763.76T:speck128192ctr
3.833.833.84T:speck128256ctr
3.753.864.00T:tpy6
3.963.984.01T:nlsv2
3.974.004.03xsalsa20
3.974.014.03salsa20
4.074.094.10T:snow20
4.204.234.28T:panama
4.504.524.53T:rabbit
4.774.975.24T:tpypy
5.545.545.55T:simon6496ctr
5.725.735.73T:simon64128ctr
5.795.805.84T:lexv2
8.628.638.63T:simon128128ctr
9.119.129.14T:simon128256ctr
10.6110.6210.64T:aes128estream
12.0312.0712.11T:aes128ctr
14.7114.7414.77T:aes192ctr
17.1717.1817.19T:aes256estream
17.4817.5017.54T:aes256ctr
24.3924.9526.06T:ocelot1
28.05?29.46?35.97?T:ocelot2
40.8945.0845.29T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.451.451.47tango642
1.481.491.49chacha8
1.931.931.93chacha12
1.961.981.98salsa208
2.642.652.65T:speck6496ctr
2.672.672.68salsa2012
2.772.772.77T:speck64128ctr
2.862.862.91chacha20
2.932.932.95T:trivium
3.123.133.16T:sosemanuk
3.673.693.70T:cryptmtv3
3.693.693.69T:speck128128ctr
3.813.813.81T:speck128192ctr
3.893.893.90T:speck128256ctr
4.004.034.04salsa20
4.124.144.15xsalsa20
4.214.224.22T:snow20
4.214.224.25T:nlsv2
4.564.644.66T:tpy6
4.674.684.68T:rabbit
4.944.974.99T:tpy
5.585.595.61T:panama
5.785.795.79T:simon6496ctr
5.985.986.01T:lexv2
6.066.066.06T:simon64128ctr
6.726.846.93T:tpypy
7.217.237.27T:hc128
8.999.009.00T:simon128128ctr
10.6710.6810.69T:aes128estream
10.6810.6910.70T:simon128256ctr
12.7812.8012.82T:aes128ctr
15.4315.4315.45T:aes192ctr
15.7015.7415.75T:hc256
17.2917.3017.30T:aes256estream
18.1818.1918.21T:aes256ctr
26.7926.9627.64T:ocelot1
31.18?31.32?36.07?T:ocelot2
43.7046.5046.60T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.541.541.56chacha8
1.861.861.87tango642
1.971.971.97chacha12
1.972.042.04salsa208
2.712.722.72T:speck6496ctr
2.712.722.75salsa2012
2.852.852.85T:speck64128ctr
2.902.942.96chacha20
3.153.163.19T:trivium
3.793.793.79T:speck128128ctr
3.903.903.90T:speck128192ctr
3.993.994.00T:speck128256ctr
4.054.064.06salsa20
4.344.374.39xsalsa20
4.434.444.45T:snow20
4.494.514.53T:sosemanuk
4.804.864.87T:cryptmtv3
4.814.904.98T:nlsv2
4.954.964.96T:rabbit
5.705.925.99T:tpy6
6.186.196.21T:simon6496ctr
6.296.296.30T:lexv2
6.626.626.62T:simon64128ctr
7.337.387.57T:tpy
7.807.857.87T:panama
9.369.399.44T:tpypy
9.609.619.61T:simon128128ctr
10.7810.7810.87T:aes128estream
13.2713.2813.30T:simon128256ctr
14.0414.0614.09T:aes128ctr
15.1015.1415.15T:hc128
16.5716.5916.62T:aes192ctr
17.4817.4917.49T:aes256estream
19.3219.3519.38T:aes256ctr
29.4130.4931.14T:ocelot1
33.96?34.72?39.08?T:ocelot2
35.6235.6535.75T:hc256
46.5648.5048.68T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.741.771.77chacha8
2.222.232.25salsa208
2.232.232.24chacha12
2.962.972.98T:speck6496ctr
2.962.993.03salsa2012
2.982.993.01tango642
3.083.093.11T:speck64128ctr
3.303.313.35chacha20
3.703.703.73T:trivium
4.094.094.09T:speck128128ctr
4.174.174.18T:speck128192ctr
4.304.304.32T:speck128256ctr
4.444.444.46salsa20
5.005.025.07T:snow20
5.185.215.23xsalsa20
5.635.715.72T:rabbit
5.675.755.84T:cryptmtv3
6.146.146.14T:nlsv2
7.127.137.14T:lexv2
8.038.058.11T:simon6496ctr
8.148.168.24T:sosemanuk
9.419.429.53T:tpy6
9.669.669.68T:simon64128ctr
11.0711.0711.07T:aes128estream
13.8813.9214.03T:panama
14.6014.6414.87T:tpy
16.6216.8018.45T:tpypy
17.1617.2617.35T:aes128ctr
17.9617.9918.05T:aes256estream
19.6919.7419.82T:aes192ctr
20.0020.0720.12T:simon128128ctr
22.3322.3722.48T:aes256ctr
26.6926.7726.80T:simon128256ctr
36.1536.1736.19T:hc128
41.0341.8542.12T:ocelot1
44.3545.1246.72T:ocelot2
55.9957.6358.67T:amastrid
88.8388.9089.02T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.383.563.58chacha8
4.314.314.44chacha12
4.274.344.41salsa208
5.205.205.41salsa2012
5.475.675.75T:speck6496ctr
5.705.785.91T:speck64128ctr
6.446.446.44chacha20
7.417.417.42T:speck128192ctr
7.477.477.66salsa20
7.807.807.80T:speck128128ctr
7.807.807.98T:speck128256ctr
10.9710.9711.03T:trivium
12.4112.5212.56T:snow20
12.6212.7812.88T:simon6496ctr
13.4813.4813.53T:simon64128ctr
14.5314.6614.81xsalsa20
15.0215.0215.02T:rabbit
15.2315.2315.23T:aes128estream
15.0915.2815.48T:cryptmtv3
16.7316.7316.81T:lexv2
17.3317.4217.58tango642
20.6120.6420.69T:simon128128ctr
21.9221.9722.38T:simon128256ctr
24.5624.6924.84T:aes256estream
28.0028.0628.06T:nlsv2
47.4747.8948.27T:sosemanuk
49.9253.8653.98T:tpy6
58.8359.1259.61T:aes128ctr
59.8860.3660.95T:aes192ctr
61.6962.3462.59T:aes256ctr
89.8190.7290.95T:panama
102.39102.92103.61T:tpy
107.25?108.66?119.78?T:tpypy
147.20148.61149.75T:ocelot2
150.28?155.55?173.08?T:ocelot1
160.11161.48164.52T:amastrid
304.80304.97305.17T:hc128
769.33769.83770.73T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
25.75?26.12?29.88?T:speck6496ctr
29.0029.0029.25T:speck128192ctr
31.3831.3833.62T:speck128128ctr
32.5033.2533.25chacha8
33.0033.6233.75T:speck64128ctr
41.6241.6241.88chacha12
42.1242.1242.12T:speck128256ctr
57.3857.3858.50salsa2012
56.8857.5057.62salsa208
58.1258.1258.25chacha20
68.3868.3869.00T:trivium
74.5074.5074.62T:simon6496ctr
76.5077.0077.38T:simon64128ctr
77.1277.1277.12T:aes128estream
78.8878.8879.62salsa20
95.1295.1295.50T:rabbit
97.0098.2599.75T:aes256estream
97.2598.5098.50T:snow20
94.50?99.38?107.12?T:cryptmtv3
99.5099.88100.62T:lexv2
116.12116.12116.12T:simon128128ctr
125.50125.50126.12T:simon128256ctr
131.12131.88134.38tango642
136.25137.00138.75xsalsa20
139.50139.50140.50T:nlsv2
379.38381.75384.88T:sosemanuk
387.88389.88407.50T:aes192ctr
379.75402.50405.25T:tpy6
399.25404.62408.38T:aes256ctr
400.50405.00422.38T:aes128ctr
702.50703.88712.50T:panama
800.62814.62822.75T:tpy
814.25821.00833.38T:tpypy
973.88?998.75?1084.00?T:ocelot2
1049.121068.121098.75T:ocelot1
1085.621095.251099.62T:amastrid
2436.502436.622438.62T:hc128
6149.886155.256163.00T:hc256