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: armeabi; Cortex-A8 (413fc082); 2012 TI Sitara XAM3359AZCZ100; 1 x 1000MHz; bblack, supercop-20250415

[Page version: 20251005 01:31:42]

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
5.355.405.42T:tpy
5.29?5.51?6.51?T:tpy6
6.166.186.21tango642
6.236.256.27T:nlsv2
6.356.516.66chacha20
7.047.117.25T:sosemanuk
7.237.367.38salsa208
7.267.547.56chacha8
8.288.308.32T:cryptmtv3
8.748.788.81T:tpypy
9.419.459.52T:speck64128ctr
9.709.709.78salsa2012
9.889.919.99chacha12
11.5111.5911.70T:panama
11.19?12.06?17.10?xsalsa20
12.1112.1212.18salsa20
19.2519.3419.36T:aes128ctr
22.7922.9023.05T:aes192ctr
26.4226.4726.51T:aes256ctr
27.5827.6027.64T:aes128estream
40.7740.7940.86T:aes256estream
71.8372.1773.26T:ocelot1
74.6574.6674.77T:ocelot2
104.57107.20109.61T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
7.087.097.83T:tpy6
7.107.117.11T:nlsv2
7.357.437.48chacha20
7.467.477.49tango642
7.667.667.67salsa208
7.667.687.69chacha8
8.478.488.49T:tpy
9.439.459.53T:sosemanuk
9.859.879.92T:speck64128ctr
10.2310.2310.29salsa2012
10.2710.2910.30T:cryptmtv3
10.2910.3110.32chacha12
11.8411.8511.87T:tpypy
12.7412.7412.79salsa20
12.88?12.89?16.67?xsalsa20
15.5415.5715.62T:panama
20.7920.8420.85T:aes128ctr
24.3824.4424.54T:aes192ctr
28.0228.0428.05T:aes128estream
28.0228.0428.06T:aes256ctr
41.2841.2841.34T:aes256estream
75.1275.2276.00T:ocelot1
77.6777.6877.75T:ocelot2
110.54112.42114.07T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
7.577.587.59chacha8
8.058.068.27salsa208
8.848.908.93chacha20
9.009.039.04T:nlsv2
9.609.609.65tango642
9.719.7410.36T:tpy6
10.5310.5610.71T:speck64128ctr
10.6410.9911.12chacha12
11.1111.1211.13salsa2012
13.4313.4713.56T:sosemanuk
13.5913.6213.67T:tpy
13.7613.7813.79salsa20
14.2414.2414.27T:cryptmtv3
14.24?14.27?17.39?xsalsa20
16.9517.0417.23T:tpypy
22.1122.2122.40T:panama
23.3523.3823.41T:aes128ctr
26.9927.0227.47T:aes192ctr
28.7228.7328.76T:aes128estream
30.6330.6630.73T:aes256ctr
42.0942.1042.18T:aes256estream
80.1680.2480.99T:ocelot1
82.6882.7182.78T:ocelot2
119.35120.44120.62T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
9.689.719.75salsa208
9.689.719.78chacha8
12.1512.2412.38T:speck64128ctr
12.2412.2912.31chacha12
12.3612.3612.39salsa2012
13.4613.5313.54T:nlsv2
13.3213.9714.18chacha20
15.1915.2615.26salsa20
15.3315.4215.50tango642
16.6416.7117.36xsalsa20
16.7116.7217.36T:tpy6
19.7419.7619.82T:cryptmtv3
24.1724.3224.38T:sosemanuk
27.2827.3527.47T:tpy
30.5730.6530.74T:tpypy
30.6530.6830.72T:aes128estream
30.8931.0432.50T:aes128ctr
35.0836.2436.31T:aes192ctr
39.7139.9940.22T:panama
40.4340.5140.65T:aes256ctr
44.3544.5044.57T:aes256estream
93.6894.1194.40T:ocelot1
96.0696.1296.14T:ocelot2
138.82141.00141.61T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
30.5030.7531.25salsa208
33.7534.0034.00salsa2012
33.7534.0034.50T:speck64128ctr
34.3834.5034.75chacha8
37.0037.2537.75chacha12
39.1239.6240.25salsa20
52.6252.6252.88xsalsa20
55.1255.3855.88T:aes128estream
69.6271.0072.12chacha20
72.3872.8872.88T:aes256estream
81.2581.5082.00T:nlsv2
80.8881.8884.00T:cryptmtv3
88.5089.1289.88tango642
96.8898.25106.62T:aes128ctr
100.12101.50109.38T:aes192ctr
102.88104.00107.38T:aes256ctr
106.12106.75106.88T:tpy6
151.12152.25153.62T:sosemanuk
202.62203.00204.38T:tpy
205.12205.50205.75T:tpypy
265.00265.62266.88T:ocelot1
264.38266.38269.00T:panama
267.50267.62268.25T:ocelot2
352.38369.75373.00T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
209.00212.00214.00T:speck64128ctr
261.00261.00265.00salsa208
270.00272.00277.00chacha8
276.00281.00281.00T:aes128estream
286.00287.00291.00salsa2012
296.00297.00298.00chacha12
332.00334.00337.00salsa20
339.00339.00344.00T:aes256estream
432.00437.00438.00xsalsa20
453.00458.00460.00T:nlsv2
574.00583.00593.00T:cryptmtv3
632.00?641.00?714.00?T:aes128ctr
605.00655.00661.00chacha20
661.00663.00672.00tango642
646.00?673.00?730.00?T:aes256ctr
650.00?719.00?725.00?T:aes192ctr
808.00812.00817.00T:tpy6
1209.001219.001229.00T:sosemanuk
1583.001584.001589.00T:tpypy
1584.001589.001598.00T:tpy
1615.001620.001624.00T:ocelot1
1620.001625.001626.00T:ocelot2
2099.002114.002126.00T:panama
2340.002375.002386.00T:amastrid