Measurements of stream ciphers on one machine: armeabi; Cortex-A8 (413fc082); 2012 TI Sitara XAM3359AZCZ100; 1 x 1000MHz; bblack, supercop-20240716
[Page version: 20241207 23:21:19]
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 |
5.32? | 5.40? | 5.97? | T:tpy |
5.51 | 5.52 | 5.56 | T:tpy6 |
6.17 | 6.18 | 6.19 | tango642 |
6.24 | 6.26 | 6.84 | T:nlsv2 |
6.21 | 6.39 | 6.58 | chacha20 |
7.02 | 7.12 | 7.22 | T:sosemanuk |
7.01 | 7.32 | 7.35 | salsa208 |
7.18 | 7.53 | 7.64 | chacha8 |
8.27 | 8.29 | 8.41 | T:cryptmtv3 |
8.75 | 8.96 | 9.02 | T:tpypy |
9.45 | 9.51 | 9.54 | T:speck64128ctr |
10.09 | 10.32 | 10.38 | chacha12 |
11.56 | 11.62 | 11.71 | T:panama |
11.07 | 11.66 | 11.69 | salsa2012 |
12.03 | 12.04 | 12.11 | salsa20 |
12.04 | 12.05 | 12.11 | xsalsa20 |
19.22 | 19.32 | 19.38 | T:aes128ctr |
22.80 | 22.92 | 23.27 | T:aes192ctr |
26.38 | 26.47 | 26.75 | T:aes256ctr |
27.56 | 27.56 | 27.58 | T:aes128estream |
40.72 | 40.78 | 40.80 | T:aes256estream |
71.82 | 71.85 | 73.25 | T:ocelot1 |
74.61 | 74.69 | 74.80 | T:ocelot2 |
103.66 | 106.92 | 109.92 | T:amastrid |
|
Cycles/byte for 4096 bytes |
25% | 50% | 75% | stream |
7.10 | 7.10 | 7.12 | T:tpy6 |
7.10 | 7.11 | 7.54 | T:nlsv2 |
7.35 | 7.38 | 7.48 | chacha20 |
7.46 | 7.47 | 7.47 | tango642 |
7.45 | 7.64 | 7.65 | salsa208 |
7.56 | 7.68 | 7.75 | chacha8 |
8.47 | 8.48 | 8.90 | T:tpy |
9.54 | 9.57 | 9.63 | T:sosemanuk |
9.90 | 9.90 | 9.92 | T:speck64128ctr |
10.26 | 10.27 | 10.37 | T:cryptmtv3 |
10.36 | 10.40 | 10.43 | chacha12 |
11.61 | 11.62 | 11.63 | salsa2012 |
11.85 | 11.99 | 12.02 | T:tpypy |
12.66 | 12.67 | 12.72 | salsa20 |
12.87 | 12.87 | 12.92 | xsalsa20 |
15.62 | 15.65 | 15.71 | T:panama |
20.78 | 20.83 | 20.86 | T:aes128ctr |
24.39 | 24.44 | 24.56 | T:aes192ctr |
27.99 | 27.99 | 28.00 | T:aes128estream |
28.03 | 28.05 | 28.25 | T:aes256ctr |
41.28 | 41.28 | 41.29 | T:aes256estream |
75.12 | 75.13 | 75.98 | T:ocelot1 |
77.68 | 77.71 | 77.78 | T:ocelot2 |
109.83 | 111.89 | 114.09 | T:amastrid |
|
Cycles/byte for 1536 bytes |
25% | 50% | 75% | stream |
7.57 | 7.57 | 7.59 | chacha8 |
8.06 | 8.08 | 8.24 | salsa208 |
8.86 | 8.90 | 8.95 | chacha20 |
9.01 | 9.01 | 9.04 | T:nlsv2 |
9.60 | 9.60 | 9.60 | tango642 |
9.71 | 9.74 | 9.79 | T:tpy6 |
10.06 | 10.09 | 10.09 | chacha12 |
10.47 | 10.49 | 10.64 | T:speck64128ctr |
10.74? | 12.51? | 12.51? | salsa2012 |
13.59 | 13.68 | 13.91 | T:tpy |
13.70 | 13.70 | 13.70 | salsa20 |
13.75 | 13.84 | 14.13 | T:sosemanuk |
14.21 | 14.24 | 14.32 | T:cryptmtv3 |
14.24 | 14.24 | 14.24 | xsalsa20 |
16.93 | 17.01 | 17.17 | T:tpypy |
22.32 | 22.35 | 22.46 | T:panama |
23.33 | 23.39 | 23.44 | T:aes128ctr |
26.96 | 26.99 | 27.04 | T:aes192ctr |
28.70 | 28.72 | 28.73 | T:aes128estream |
30.63 | 30.68 | 31.04 | T:aes256ctr |
42.10 | 42.15 | 42.18 | T:aes256estream |
80.15 | 80.16 | 80.51 | T:ocelot1 |
82.70 | 82.76 | 82.82 | T:ocelot2 |
121.17 | 123.61 | 125.94 | T:amastrid |
|
Cycles/byte for 576 bytes |
25% | 50% | 75% | stream |
9.69 | 9.69 | 9.76 | chacha8 |
9.69 | 9.71 | 9.76 | salsa208 |
12.08 | 12.15 | 12.22 | T:speck64128ctr |
12.24 | 12.29 | 12.31 | chacha12 |
13.46 | 13.46 | 13.53 | T:nlsv2 |
12.08? | 13.60? | 13.67? | salsa2012 |
13.75 | 13.82 | 14.32 | chacha20 |
15.18 | 15.18 | 15.21 | salsa20 |
15.33 | 15.35 | 15.40 | tango642 |
16.62 | 16.64 | 16.64 | xsalsa20 |
16.71 | 16.79 | 16.93 | T:tpy6 |
19.53 | 19.61 | 19.75 | T:cryptmtv3 |
25.03 | 25.17 | 25.46 | T:sosemanuk |
27.28 | 27.40 | 27.50 | T:tpy |
30.53 | 30.61 | 30.68 | T:tpypy |
30.60 | 30.67 | 30.67 | T:aes128estream |
30.96 | 31.25 | 32.04 | T:aes128ctr |
36.31 | 36.39 | 36.54 | T:aes192ctr |
40.14 | 40.22 | 40.36 | T:panama |
40.44 | 40.51 | 40.72 | T:aes256ctr |
44.33 | 44.35 | 44.35 | T:aes256estream |
93.60 | 93.61 | 94.33 | T:ocelot1 |
96.12 | 96.21 | 96.43 | T:ocelot2 |
133.03 | 137.50 | 139.03 | T:amastrid |
|
Cycles/byte for 64 bytes |
25% | 50% | 75% | stream |
30.62 | 31.25 | 31.25 | salsa208 |
33.75 | 33.88 | 34.38 | salsa2012 |
33.75 | 33.88 | 34.50 | T:speck64128ctr |
33.88 | 33.88 | 34.38 | chacha8 |
37.12 | 37.12 | 37.88 | chacha12 |
39.12 | 39.62 | 39.75 | salsa20 |
52.25 | 52.75 | 52.75 | xsalsa20 |
54.75 | 55.38 | 55.38 | T:aes128estream |
72.25 | 72.88 | 73.00 | T:aes256estream |
70.25? | 74.75? | 80.62? | chacha20 |
80.62 | 80.75 | 81.38 | T:cryptmtv3 |
81.38 | 81.38 | 82.00 | T:nlsv2 |
88.50 | 88.50 | 88.62 | tango642 |
97.00? | 98.38? | 108.12? | T:aes128ctr |
100.25 | 100.88 | 101.62 | T:aes192ctr |
102.75 | 103.50 | 104.75 | T:aes256ctr |
106.25 | 106.75 | 108.12 | T:tpy6 |
159.50 | 161.38 | 162.75 | T:sosemanuk |
202.38 | 202.50 | 203.00 | T:tpy |
205.00 | 205.12 | 205.75 | T:tpypy |
265.50 | 265.62 | 266.25 | T:ocelot1 |
267.62 | 268.25 | 270.12 | T:ocelot2 |
268.25 | 270.12 | 271.50 | T:panama |
365.88 | 368.50 | 373.00 | T:amastrid |
|
Cycles/byte for 8 bytes |
25% | 50% | 75% | stream |
209.00 | 213.00 | 215.00 | T:speck64128ctr |
260.00 | 261.00 | 266.00 | salsa208 |
272.00 | 276.00 | 277.00 | chacha8 |
275.00 | 276.00 | 277.00 | T:aes128estream |
286.00 | 287.00 | 292.00 | salsa2012 |
297.00 | 297.00 | 302.00 | chacha12 |
333.00 | 333.00 | 334.00 | salsa20 |
338.00 | 339.00 | 343.00 | T:aes256estream |
437.00 | 438.00 | 438.00 | xsalsa20 |
454.00 | 458.00 | 459.00 | T:nlsv2 |
569.00 | 578.00 | 583.00 | T:cryptmtv3 |
584.00? | 593.00? | 665.00? | chacha20 |
641.00? | 651.00? | 713.00? | T:aes128ctr |
646.00? | 651.00? | 723.00? | T:aes192ctr |
661.00 | 662.00 | 662.00 | tango642 |
693.00 | 729.00 | 734.00 | T:aes256ctr |
808.00 | 813.00 | 822.00 | T:tpy6 |
1266.00 | 1281.00 | 1298.00 | T:sosemanuk |
1583.00 | 1583.00 | 1584.00 | T:tpy |
1583.00 | 1584.00 | 1593.00 | T:tpypy |
1614.00 | 1615.00 | 1620.00 | T:ocelot1 |
1621.00 | 1626.00 | 1646.00 | T:ocelot2 |
2135.00 | 2146.00 | 2156.00 | T:panama |
2344.00 | 2396.00 | 2411.00 | T:amastrid |
|
|