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-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:

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.515.525.56T:tpy6
6.176.186.19tango642
6.246.266.84T:nlsv2
6.216.396.58chacha20
7.027.127.22T:sosemanuk
7.017.327.35salsa208
7.187.537.64chacha8
8.278.298.41T:cryptmtv3
8.758.969.02T:tpypy
9.459.519.54T:speck64128ctr
10.0910.3210.38chacha12
11.5611.6211.71T:panama
11.0711.6611.69salsa2012
12.0312.0412.11salsa20
12.0412.0512.11xsalsa20
19.2219.3219.38T:aes128ctr
22.8022.9223.27T:aes192ctr
26.3826.4726.75T:aes256ctr
27.5627.5627.58T:aes128estream
40.7240.7840.80T:aes256estream
71.8271.8573.25T:ocelot1
74.6174.6974.80T:ocelot2
103.66106.92109.92T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
7.107.107.12T:tpy6
7.107.117.54T:nlsv2
7.357.387.48chacha20
7.467.477.47tango642
7.457.647.65salsa208
7.567.687.75chacha8
8.478.488.90T:tpy
9.549.579.63T:sosemanuk
9.909.909.92T:speck64128ctr
10.2610.2710.37T:cryptmtv3
10.3610.4010.43chacha12
11.6111.6211.63salsa2012
11.8511.9912.02T:tpypy
12.6612.6712.72salsa20
12.8712.8712.92xsalsa20
15.6215.6515.71T:panama
20.7820.8320.86T:aes128ctr
24.3924.4424.56T:aes192ctr
27.9927.9928.00T:aes128estream
28.0328.0528.25T:aes256ctr
41.2841.2841.29T:aes256estream
75.1275.1375.98T:ocelot1
77.6877.7177.78T:ocelot2
109.83111.89114.09T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
7.577.577.59chacha8
8.068.088.24salsa208
8.868.908.95chacha20
9.019.019.04T:nlsv2
9.609.609.60tango642
9.719.749.79T:tpy6
10.0610.0910.09chacha12
10.4710.4910.64T:speck64128ctr
10.74?12.51?12.51?salsa2012
13.5913.6813.91T:tpy
13.7013.7013.70salsa20
13.7513.8414.13T:sosemanuk
14.2114.2414.32T:cryptmtv3
14.2414.2414.24xsalsa20
16.9317.0117.17T:tpypy
22.3222.3522.46T:panama
23.3323.3923.44T:aes128ctr
26.9626.9927.04T:aes192ctr
28.7028.7228.73T:aes128estream
30.6330.6831.04T:aes256ctr
42.1042.1542.18T:aes256estream
80.1580.1680.51T:ocelot1
82.7082.7682.82T:ocelot2
121.17123.61125.94T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
9.699.699.76chacha8
9.699.719.76salsa208
12.0812.1512.22T:speck64128ctr
12.2412.2912.31chacha12
13.4613.4613.53T:nlsv2
12.08?13.60?13.67?salsa2012
13.7513.8214.32chacha20
15.1815.1815.21salsa20
15.3315.3515.40tango642
16.6216.6416.64xsalsa20
16.7116.7916.93T:tpy6
19.5319.6119.75T:cryptmtv3
25.0325.1725.46T:sosemanuk
27.2827.4027.50T:tpy
30.5330.6130.68T:tpypy
30.6030.6730.67T:aes128estream
30.9631.2532.04T:aes128ctr
36.3136.3936.54T:aes192ctr
40.1440.2240.36T:panama
40.4440.5140.72T:aes256ctr
44.3344.3544.35T:aes256estream
93.6093.6194.33T:ocelot1
96.1296.2196.43T:ocelot2
133.03137.50139.03T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
30.6231.2531.25salsa208
33.7533.8834.38salsa2012
33.7533.8834.50T:speck64128ctr
33.8833.8834.38chacha8
37.1237.1237.88chacha12
39.1239.6239.75salsa20
52.2552.7552.75xsalsa20
54.7555.3855.38T:aes128estream
72.2572.8873.00T:aes256estream
70.25?74.75?80.62?chacha20
80.6280.7581.38T:cryptmtv3
81.3881.3882.00T:nlsv2
88.5088.5088.62tango642
97.00?98.38?108.12?T:aes128ctr
100.25100.88101.62T:aes192ctr
102.75103.50104.75T:aes256ctr
106.25106.75108.12T:tpy6
159.50161.38162.75T:sosemanuk
202.38202.50203.00T:tpy
205.00205.12205.75T:tpypy
265.50265.62266.25T:ocelot1
267.62268.25270.12T:ocelot2
268.25270.12271.50T:panama
365.88368.50373.00T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
209.00213.00215.00T:speck64128ctr
260.00261.00266.00salsa208
272.00276.00277.00chacha8
275.00276.00277.00T:aes128estream
286.00287.00292.00salsa2012
297.00297.00302.00chacha12
333.00333.00334.00salsa20
338.00339.00343.00T:aes256estream
437.00438.00438.00xsalsa20
454.00458.00459.00T:nlsv2
569.00578.00583.00T: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.00662.00662.00tango642
693.00729.00734.00T:aes256ctr
808.00813.00822.00T:tpy6
1266.001281.001298.00T:sosemanuk
1583.001583.001584.00T:tpy
1583.001584.001593.00T:tpypy
1614.001615.001620.00T:ocelot1
1621.001626.001646.00T:ocelot2
2135.002146.002156.00T:panama
2344.002396.002411.00T:amastrid