Measurements of stream ciphers on one machine: amd64; Bonnell (106ca); 2010 Intel Atom N455; 1 x 1000MHz; h2atom, supercop-20240909
[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:
- Speed (cycles/byte) of encrypting an 8-byte message.
- Speed of encrypting a 64-byte message.
- Speed of encrypting a 576-byte message.
- Speed of encrypting a 1536-byte message.
- Speed of encrypting a 4096-byte message.
- Speed of encrypting a long message.
This is computed as 1/3072 of the difference in cycle counts
between encrypting 4096-byte messages and encrypting 1024-byte messages.
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.21 | 3.21 | 3.21 | chacha8 |
3.44 | 3.44 | 3.44 | tango642 |
3.69 | 3.69 | 3.69 | salsa208 |
3.35? | 4.21? | 4.22? | chacha12 |
4.83 | 4.83 | 4.83 | salsa2012 |
6.21 | 6.22 | 6.22 | chacha20 |
6.39 | 6.40 | 6.41 | T:hc128 |
6.46 | 6.47 | 6.48 | T:cryptmtv3 |
7.02 | 7.02 | 7.02 | salsa20 |
7.02 | 7.02 | 7.02 | xsalsa20 |
7.28 | 7.31 | 7.34 | T:panama |
7.39? | 7.40? | 11.59? | T:tpy |
7.44 | 7.44 | 7.44 | T:trivium |
7.50 | 7.50 | 7.51 | T:tpy6 |
8.26 | 8.26 | 8.26 | T:sosemanuk |
9.06 | 9.08 | 9.09 | T:hc256 |
9.08 | 9.12 | 9.13 | T:snow20 |
12.08 | 12.10 | 12.16 | T:tpypy |
12.13 | 12.13 | 12.13 | T:speck6496ctr |
12.26 | 12.26 | 12.29 | T:nlsv2 |
12.61 | 12.61 | 12.62 | T:speck64128ctr |
14.50 | 14.50 | 14.50 | T:rabbit |
17.61 | 17.62 | 17.63 | T:lexv2 |
19.24 | 19.25 | 19.25 | T:speck128128ctr |
19.33 | 19.33 | 19.34 | T:simon6496ctr |
19.54? | 19.54? | 23.78? | T:speck128192ctr |
20.00 | 20.00 | 20.00 | T:speck128256ctr |
20.48 | 20.49 | 20.50 | T:simon64128ctr |
29.13 | 29.15 | 29.16 | T:aes128estream |
30.03 | 30.06 | 30.07 | T:simon128128ctr |
33.56 | 33.56 | 33.57 | T:simon128256ctr |
45.12 | 45.13 | 45.15 | T:aes256estream |
61.41 | 61.43 | 61.89 | T:ocelot1 |
62.06 | 62.16 | 62.22 | T:ocelot2 |
65.26 | 65.62 | 66.04 | T:aes128ctr |
75.49 | 75.65 | 75.94 | T:aes192ctr |
85.84 | 85.94 | 86.87 | T:aes256ctr |
126.07 | 128.04 | 130.28 | T:amastrid |
|
Cycles/byte for 4096 bytes |
25% | 50% | 75% | stream |
3.26 | 3.26 | 3.26 | chacha8 |
3.74 | 3.74 | 3.74 | salsa208 |
4.11 | 4.11 | 4.11 | tango642 |
4.26 | 4.26 | 4.26 | chacha12 |
4.87 | 4.87 | 4.87 | salsa2012 |
6.26 | 6.26 | 6.27 | chacha20 |
7.06 | 7.06 | 7.06 | salsa20 |
7.31 | 7.31 | 7.31 | xsalsa20 |
7.39 | 7.40 | 7.40 | T:cryptmtv3 |
7.75 | 7.75 | 7.75 | T:trivium |
8.69 | 8.70 | 8.70 | T:sosemanuk |
8.94 | 8.94 | 8.94 | T:tpy6 |
9.40 | 9.42 | 9.42 | T:snow20 |
9.80 | 9.81 | 9.83 | T:panama |
10.82? | 10.82? | 13.96? | T:tpy |
12.24 | 12.24 | 12.25 | T:speck6496ctr |
12.66 | 12.66 | 12.68 | T:nlsv2 |
12.73 | 12.73 | 12.74 | T:speck64128ctr |
14.87 | 14.87 | 14.87 | T:rabbit |
15.18 | 15.18 | 15.22 | T:tpypy |
16.24 | 16.24 | 16.24 | T:hc128 |
18.02 | 18.03 | 18.03 | T:lexv2 |
19.35 | 19.35 | 19.35 | T:speck128128ctr |
19.64? | 19.65? | 22.83? | T:speck128192ctr |
20.11 | 20.12 | 20.12 | T:speck128256ctr |
20.16 | 20.16 | 20.17 | T:simon6496ctr |
21.50 | 21.51 | 21.51 | T:simon64128ctr |
29.28 | 29.30 | 29.31 | T:aes128estream |
31.33 | 31.34 | 31.34 | T:simon128128ctr |
32.93 | 32.94 | 32.95 | T:hc256 |
37.64 | 37.64 | 37.64 | T:simon128256ctr |
45.34 | 45.34 | 45.35 | T:aes256estream |
65.27 | 65.29 | 65.63 | T:ocelot1 |
66.00 | 66.07 | 66.11 | T:ocelot2 |
67.24 | 67.40 | 67.68 | T:aes128ctr |
77.55 | 77.57 | 77.77 | T:aes192ctr |
87.74 | 87.79 | 88.44 | T:aes256ctr |
131.57 | 131.86 | 133.51 | T:amastrid |
|
Cycles/byte for 1536 bytes |
25% | 50% | 75% | stream |
3.35 | 3.35 | 3.35 | chacha8 |
3.83 | 3.83 | 3.83 | salsa208 |
4.35 | 4.35 | 4.35 | chacha12 |
4.95 | 4.95 | 4.95 | salsa2012 |
5.23 | 5.23 | 5.23 | tango642 |
6.35 | 6.35 | 6.35 | chacha20 |
7.14 | 7.14 | 7.14 | salsa20 |
7.81 | 7.81 | 7.81 | xsalsa20 |
8.27 | 8.27 | 8.27 | T:trivium |
9.58 | 9.58 | 9.59 | T:cryptmtv3 |
9.61 | 9.61 | 9.61 | T:sosemanuk |
9.89 | 9.89 | 9.90 | T:snow20 |
11.33 | 11.34 | 11.34 | T:tpy6 |
12.44 | 12.44 | 12.44 | T:speck6496ctr |
12.93 | 12.93 | 12.93 | T:speck64128ctr |
13.57 | 13.57 | 13.57 | T:nlsv2 |
13.97 | 13.99 | 14.03 | T:panama |
15.48 | 15.48 | 15.49 | T:rabbit |
16.51 | 16.52 | 16.53 | T:tpy |
18.71 | 18.72 | 18.72 | T:lexv2 |
19.52 | 19.52 | 19.52 | T:speck128128ctr |
19.82 | 19.82 | 19.82 | T:speck128192ctr |
20.30? | 20.31? | 25.11? | T:speck128256ctr |
20.30 | 20.32 | 20.32 | T:tpypy |
21.55 | 21.55 | 21.58 | T:simon6496ctr |
23.20 | 23.20 | 23.22 | T:simon64128ctr |
29.54 | 29.54 | 29.54 | T:aes128estream |
32.62 | 32.63 | 32.64 | T:hc128 |
33.45 | 33.46 | 33.46 | T:simon128128ctr |
44.43 | 44.43 | 44.54 | T:simon128256ctr |
45.67 | 45.74 | 45.74 | T:aes256estream |
70.19 | 70.73 | 70.90 | T:aes128ctr |
71.69 | 71.72 | 71.74 | T:ocelot1 |
72.58 | 72.60 | 72.69 | T:ocelot2 |
72.70 | 72.70 | 72.70 | T:hc256 |
80.73 | 80.77 | 81.03 | T:aes192ctr |
90.72 | 90.81 | 90.89 | T:aes256ctr |
135.03 | 135.79 | 138.16 | T:amastrid |
|
Cycles/byte for 576 bytes |
25% | 50% | 75% | stream |
3.59 | 3.59 | 3.59 | chacha8 |
4.15 | 4.15 | 4.15 | salsa208 |
4.61 | 4.61 | 4.61 | chacha12 |
5.16 | 5.16 | 5.16 | salsa2012 |
6.65 | 6.65 | 6.68 | chacha20 |
7.35? | 7.35? | 8.39? | salsa20 |
8.22 | 8.22 | 8.22 | tango642 |
9.14 | 9.14 | 9.14 | xsalsa20 |
9.65 | 9.65 | 9.65 | T:trivium |
11.21 | 11.21 | 11.22 | T:snow20 |
11.27 | 11.27 | 11.30 | T:cryptmtv3 |
12.06 | 12.06 | 12.06 | T:sosemanuk |
12.77 | 12.77 | 12.77 | T:speck6496ctr |
13.28 | 13.28 | 13.28 | T:speck64128ctr |
15.69 | 15.69 | 15.69 | T:nlsv2 |
17.12 | 17.12 | 17.12 | T:rabbit |
17.72 | 17.73 | 17.75 | T:tpy6 |
20.05 | 20.05 | 20.05 | T:speck128128ctr |
20.35 | 20.35 | 20.35 | T:speck128192ctr |
20.57 | 20.57 | 20.57 | T:lexv2 |
20.85 | 20.85 | 20.90 | T:speck128256ctr |
25.09? | 25.12? | 30.14? | T:panama |
27.65 | 27.65 | 27.67 | T:simon6496ctr |
30.24 | 30.24 | 30.24 | T:aes128estream |
31.72 | 31.73 | 31.81 | T:tpy |
32.76? | 32.76? | 54.48? | T:simon64128ctr |
34.07 | 34.18 | 34.19 | T:tpypy |
46.65 | 46.65 | 46.65 | T:aes256estream |
64.24? | 64.25? | 84.91? | T:simon128128ctr |
67.23 | 67.23 | 67.23 | T:simon128256ctr |
76.35 | 76.38 | 76.43 | T:hc128 |
78.47? | 78.62? | 110.98? | T:aes128ctr |
88.83 | 88.84 | 88.85 | T:ocelot1 |
88.87 | 89.00 | 89.26 | T:aes192ctr |
90.04 | 90.05 | 90.17 | T:ocelot2 |
98.73 | 98.81 | 98.91 | T:aes256ctr |
156.66 | 157.14 | 159.70 | T:amastrid |
178.82 | 178.83 | 178.84 | T:hc256 |
|
Cycles/byte for 64 bytes |
25% | 50% | 75% | stream |
5.89? | 5.89? | 7.78? | chacha8 |
7.02 | 7.02 | 7.02 | salsa208 |
7.08 | 7.08 | 7.08 | chacha12 |
7.42 | 7.42 | 7.42 | salsa2012 |
9.45 | 9.45 | 9.45 | chacha20 |
9.61 | 9.61 | 9.61 | salsa20 |
16.84 | 16.84 | 16.84 | T:speck6496ctr |
17.52 | 17.52 | 17.52 | T:speck64128ctr |
25.78 | 25.78 | 25.78 | xsalsa20 |
25.94 | 25.94 | 25.94 | T:speck128128ctr |
26.36 | 26.36 | 26.36 | T:speck128192ctr |
27.02 | 27.02 | 27.02 | T:speck128256ctr |
27.16 | 27.16 | 27.16 | T:trivium |
28.23 | 28.23 | 28.34 | T:snow20 |
31.17 | 31.17 | 31.47 | T:cryptmtv3 |
33.06 | 33.06 | 33.06 | T:simon6496ctr |
35.88 | 35.88 | 36.91 | T:simon64128ctr |
37.70 | 37.70 | 37.70 | T:sosemanuk |
37.77 | 37.77 | 37.77 | T:rabbit |
38.83? | 38.83? | 53.55? | T:aes128estream |
43.53 | 43.53 | 43.53 | T:lexv2 |
45.91 | 45.91 | 46.14 | tango642 |
48.14 | 48.14 | 48.14 | T:nlsv2 |
51.78 | 51.78 | 51.78 | T:simon128128ctr |
58.44 | 58.44 | 58.86 | T:simon128256ctr |
58.98 | 58.98 | 58.98 | T:aes256estream |
98.55 | 98.73 | 98.91 | T:tpy6 |
167.17 | 167.30 | 167.45 | T:panama |
179.48 | 181.08 | 182.52 | T:aes128ctr |
195.06 | 195.50 | 196.38 | T:aes192ctr |
201.91 | 202.73 | 204.03 | T:aes256ctr |
211.89 | 212.08 | 212.08 | T:tpypy |
225.94 | 226.44 | 226.53 | T:tpy |
308.17 | 308.27 | 308.33 | T:ocelot1 |
313.80? | 313.81? | 406.58? | T:ocelot2 |
407.25 | 409.34 | 420.16 | T:amastrid |
635.67 | 635.78 | 635.92 | T:hc128 |
1536.81 | 1536.81 | 1537.06 | T:hc256 |
|
Cycles/byte for 8 bytes |
25% | 50% | 75% | stream |
43.50 | 43.50 | 43.50 | T:speck64128ctr |
45.50 | 45.50 | 45.50 | T:speck128256ctr |
46.75 | 46.75 | 46.75 | T:speck6496ctr |
48.12 | 48.12 | 48.12 | T:speck128192ctr |
49.62 | 49.62 | 49.62 | T:speck128128ctr |
57.75 | 57.75 | 57.75 | chacha8 |
67.25 | 67.25 | 67.25 | chacha12 |
70.00? | 70.00? | 105.50? | salsa2012 |
86.25 | 86.25 | 86.25 | chacha20 |
87.50 | 87.50 | 87.50 | salsa20 |
95.25? | 95.25? | 121.38? | T:simon6496ctr |
112.75 | 112.75 | 112.75 | T:simon64128ctr |
133.12 | 133.12 | 133.12 | salsa208 |
140.75? | 140.75? | 185.88? | T:aes128estream |
145.75 | 145.75 | 145.75 | T:simon128128ctr |
162.75 | 162.75 | 162.75 | T:trivium |
187.75 | 187.75 | 189.50 | T:simon128256ctr |
200.38 | 200.38 | 202.75 | T:cryptmtv3 |
203.62 | 203.62 | 205.38 | T:aes256estream |
216.62 | 216.62 | 216.62 | xsalsa20 |
218.12 | 218.12 | 218.12 | T:rabbit |
220.62 | 220.62 | 220.62 | T:nlsv2 |
224.25 | 224.25 | 225.12 | T:snow20 |
227.50 | 227.50 | 227.50 | T:lexv2 |
295.75 | 295.75 | 295.75 | T:sosemanuk |
349.50 | 349.50 | 349.50 | tango642 |
740.00 | 741.25 | 742.50 | T:tpy6 |
1053.00 | 1062.50 | 1069.50 | T:aes128ctr |
1113.88 | 1116.50 | 1123.62 | T:aes256ctr |
1165.12 | 1174.12 | 1185.88 | T:aes192ctr |
1398.00? | 1410.00? | 2264.50? | T:panama |
1621.00 | 1621.00 | 1621.75 | T:tpypy |
1773.25 | 1773.25 | 1775.62 | T:tpy |
2035.12 | 2035.38 | 2037.50 | T:ocelot1 |
2076.62 | 2082.00 | 2083.88 | T:ocelot2 |
2638.12 | 2700.25 | 2718.00 | T:amastrid |
5093.75 | 5094.62 | 5095.38 | T:hc128 |
12299.50 | 12299.50 | 12301.50 | T:hc256 |
|
|