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; Bobcat (500f10); 2011 AMD G-T56N; 2 x 1650MHz; h8bobcat, supercop-20240909

[Page version: 20241021 10:28:06]

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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
-3.11?-3.11?13.99?T:hc128
2.75?2.76?8.13?T:tpy6
3.413.423.44tango642
5.57?5.57?12.68?chacha12
4.50?5.67?10.24?salsa208
-11.18?5.87?26.34?T:hc256
7.387.397.39T:trivium
6.27?7.86?7.89?salsa2012
7.818.008.06T:tpy
4.05?8.20?9.25?chacha8
8.548.758.78T:tpypy
3.32?8.76?10.96?T:sosemanuk
9.209.219.27T:nlsv2
8.42?10.67?19.31?T:speck6496ctr
10.71?10.71?13.52?T:speck128128ctr
10.7610.7610.78chacha20
8.73?11.04?11.07?T:speck64128ctr
11.49?11.50?13.96?T:cryptmtv3
11.5511.6711.75T:panama
9.84?12.33?22.26?salsa20
12.3412.3412.35xsalsa20
5.32?12.46?12.49?T:snow20
6.36?13.07?13.08?T:rabbit
11.03?14.08?25.17?T:speck128192ctr
11.35?14.34?25.91?T:speck128256ctr
7.29?15.07?17.21?T:lexv2
14.35?18.11?32.69?T:aes128estream
15.60?20.84?38.60?T:simon64128ctr
24.01?24.28?60.42?T:aes192ctr
22.19?29.64?29.67?T:simon128128ctr
23.63?29.74?29.74?T:aes256estream
15.27?31.99?36.69?T:simon6496ctr
28.43?37.87?70.01?T:aes256ctr
31.64?39.13?40.99?T:ocelot1
20.21?43.83?50.85?T:aes128ctr
24.66?53.71?62.59?T:simon128256ctr
62.18?85.77?153.93?T:amastrid
53.22?96.82?97.12?T:ocelot2
Cycles/byte for 4096 bytes
25%50%75%stream
4.054.054.06tango642
5.73?5.73?9.16?salsa208
6.66?6.67?10.65?T:tpy6
7.09?7.09?11.34?chacha12
7.717.717.71T:trivium
7.957.957.95salsa2012
5.20?8.30?8.30?chacha8
9.819.829.86T:nlsv2
6.72?10.73?10.83?T:sosemanuk
10.81?10.82?17.30?T:speck6496ctr
10.8510.8510.85chacha20
11.2211.2211.22T:speck64128ctr
7.10?11.30?11.32?T:snow20
12.0712.0712.08T:tpypy
12.27?12.28?19.63?T:hc128
12.41?12.41?19.84?salsa20
12.4312.4512.49T:tpy
12.6012.6012.60xsalsa20
8.41?13.44?13.44?T:rabbit
13.5313.5313.54T:cryptmtv3
13.6713.6713.69T:speck128128ctr
14.08?14.23?22.52?T:speck128192ctr
14.49?14.50?23.17?T:speck128256ctr
15.3115.3315.39T:panama
9.75?15.58?15.58?T:lexv2
18.26?18.28?29.21?T:aes128estream
22.20?22.21?35.52?T:simon64128ctr
25.60?25.65?41.00?T:hc256
29.9529.9629.96T:aes256estream
31.8331.8431.85T:simon128128ctr
20.92?33.45?33.45?T:simon6496ctr
35.03?35.14?55.95?T:aes192ctr
40.56?40.65?64.69?T:aes256ctr
29.89?47.58?47.62?T:aes128ctr
49.4954.3454.45T:ocelot1
36.31?58.08?58.10?T:simon128256ctr
85.43?88.38?138.86?T:amastrid
56.39?88.75?88.79?T:ocelot2
Cycles/byte for 1536 bytes
25%50%75%stream
5.105.115.13tango642
5.83?5.84?9.30?salsa208
8.05?8.06?12.87?salsa2012
8.248.248.24T:trivium
5.32?8.47?8.48?chacha8
10.9710.9810.99chacha20
11.05?11.10?17.65?T:speck6496ctr
11.2111.2111.23T:nlsv2
11.47?11.52?18.33?T:speck64128ctr
7.24?11.53?11.53?chacha12
7.43?11.89?11.97?T:snow20
12.51?12.51?19.99?salsa20
13.0213.0213.05xsalsa20
14.0514.0614.06T:rabbit
8.93?14.22?14.43?T:sosemanuk
14.44?14.48?22.91?T:speck128192ctr
14.75?14.78?23.60?T:speck128256ctr
14.9714.9915.03T:tpy6
10.31?16.45?16.45?T:lexv2
16.1017.5817.62T:tpypy
11.24?17.98?17.98?T:cryptmtv3
18.56?18.57?29.67?T:aes128estream
19.7719.8520.01T:tpy
21.4121.4221.60T:panama
13.95?22.25?22.30?T:speck128128ctr
24.47?24.48?39.13?T:simon64128ctr
25.74?25.75?41.17?T:hc128
30.32?30.37?48.54?T:aes256estream
35.39?35.42?56.20?T:simon128128ctr
22.50?35.88?35.91?T:simon6496ctr
45.04?45.16?71.40?T:aes256ctr
33.83?53.73?53.98?T:aes128ctr
58.59?58.61?93.64?T:hc256
61.2861.3261.43T:ocelot2
39.20?62.50?62.56?T:aes192ctr
40.92?65.39?65.47?T:simon128256ctr
94.34?94.58?147.45?T:amastrid
87.1495.0695.86T:ocelot1
Cycles/byte for 576 bytes
25%50%75%stream
5.66?5.77?8.93?chacha8
6.09?6.10?9.71?salsa208
5.04?7.81?7.93?tango642
8.32?8.32?13.28?salsa2012
8.50?8.50?13.54?T:snow20
9.669.669.68T:trivium
11.5111.5111.55chacha20
11.72?11.89?18.69?T:speck6496ctr
7.68?12.17?12.17?chacha12
12.20?12.34?19.41?T:speck64128ctr
12.77?12.83?20.39?salsa20
14.0014.0314.05T:nlsv2
14.1314.1414.14xsalsa20
15.12?15.21?24.01?T:speck128192ctr
15.49?15.53?24.72?T:speck128256ctr
15.6815.6915.71T:rabbit
11.77?18.71?18.72?T:lexv2
13.57?21.66?21.70?T:cryptmtv3
14.65?23.33?23.34?T:speck128128ctr
14.78?23.67?24.13?T:sosemanuk
26.2126.2926.51T:tpy6
19.27?30.77?31.11?T:aes128estream
31.31?31.32?50.03?T:aes256estream
31.5631.7332.28T:tpypy
37.8937.9638.62T:panama
39.9140.1140.28T:tpy
41.06?41.10?65.56?T:simon64128ctr
28.81?45.83?46.00?T:simon6496ctr
56.74?56.80?91.14?T:simon128128ctr
61.07?62.00?96.39?T:aes256ctr
72.4573.0773.33T:ocelot2
48.68?75.10?75.28?T:aes128ctr
53.67?85.78?86.16?T:aes192ctr
59.17?93.89?94.30?T:simon128256ctr
61.81?98.73?98.74?T:hc128
106.58?109.36?176.61?T:amastrid
109.71116.65117.80T:ocelot1
146.65?146.73?234.51?T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
8.478.839.12chacha8
9.209.209.36salsa208
11.44?12.17?17.81?salsa2012
16.1716.1916.25chacha20
15.89?16.62?24.94?salsa20
11.44?17.73?18.03?chacha12
20.19?20.48?31.84?T:speck6496ctr
21.08?21.67?33.17?T:speck64128ctr
23.98?24.50?37.78?T:speck128192ctr
24.72?25.45?39.05?T:speck128256ctr
27.5327.6727.83T:trivium
28.2028.2028.20xsalsa20
22.64?35.03?35.11?T:snow20
36.0036.0036.14T:rabbit
23.39?36.97?37.86?T:speck128128ctr
27.69?42.67?43.05?tango642
28.72?44.39?44.91?T:aes128estream
43.72?44.59?71.69?T:aes256estream
30.28?47.66?47.72?T:lexv2
36.45?57.97?58.48?T:cryptmtv3
64.05?64.56?101.91?T:simon128128ctr
42.09?65.53?65.91?T:simon6496ctr
65.6165.6165.61T:nlsv2
44.08?69.55?70.06?T:simon64128ctr
70.20?110.73?111.41?T:simon128256ctr
81.50?130.03?137.75?T:sosemanuk
172.92173.89176.78T:tpy6
219.33219.98220.80T:tpypy
219.61?220.50?348.16?T:aes256ctr
230.45234.67238.61T:ocelot2
247.73248.86254.34T:panama
189.27?296.36?308.53?T:aes128ctr
298.80299.25299.84T:tpy
307.27?309.42?497.70?T:amastrid
197.58?314.77?322.92?T:aes192ctr
389.42390.47390.62T:ocelot1
524.20?835.84?835.92?T:hc128
1272.92?1273.30?2036.78?T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
55.25?55.25?84.38?T:speck6496ctr
51.62?55.88?79.00?T:speck64128ctr
57.62?60.00?87.88?T:speck128192ctr
62.25?64.12?94.38?T:speck128256ctr
76.6279.5083.75chacha8
90.2590.2593.25salsa208
67.75?95.00?102.75?T:speck128128ctr
108.62?108.75?169.25?salsa2012
144.25?144.38?226.25?salsa20
146.62146.75148.50chacha20
107.50?168.00?168.12?chacha12
168.62169.88171.50T:trivium
171.00?172.25?270.12?T:simon128128ctr
174.62?177.50?274.88?T:aes256estream
132.38?205.50?206.62?T:simon6496ctr
132.50?207.75?207.88?T:aes128estream
215.50216.12222.00T:rabbit
141.38?218.00?219.75?T:simon64128ctr
242.25242.25242.25xsalsa20
178.62?277.38?277.88?T:snow20
185.25?283.25?283.25?T:lexv2
212.50?319.50?329.62?tango642
331.88332.50336.62T:nlsv2
222.12?339.62?344.38?T:simon128256ctr
224.50?356.25?360.50?T:cryptmtv3
640.75?1018.88?1074.62?T:sosemanuk
1242.62?1281.88?1975.38?T:aes256ctr
1437.501441.001449.38T:tpy6
1469.501490.251540.75T:ocelot2
1163.75?1765.25?1799.62?T:aes128ctr
1179.25?1835.25?1884.62?T:aes192ctr
1838.251840.621850.75T:tpypy
1933.751951.751996.25T:panama
2064.50?2098.38?3291.75?T:amastrid
2537.002538.382587.00T:ocelot1
2797.122801.252804.38T:tpy
4186.00?6683.25?6687.50?T:hc128
10178.75?10186.38?16281.88?T:hc256