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-A9+NEON (411fc093); 2011 TI OMAP 4430; 2 x 1000MHz; h7panda, supercop-20250922

[Page version: 20260131 16:39:18]

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: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
5.485.505.53salsa208
5.635.665.69tango642
5.775.856.04T:tpy6
5.845.865.95chacha8
5.545.876.13T:tpy
6.166.236.34T:nlsv2
6.867.017.25T:sosemanuk
7.467.517.57salsa2012
7.767.787.82chacha12
7.958.158.53T:tpypy
8.598.638.75T:cryptmtv3
8.518.799.09T:panama
10.7510.7710.90chacha20
10.8310.8711.10T:speck64128ctr
11.3911.4111.44xsalsa20
11.3511.4111.54salsa20
21.1621.4421.91T:aes128ctr
25.2125.5927.60T:aes192ctr
28.5529.3730.34T:aes256ctr
30.6530.9831.66T:aes128estream
44.5045.3146.07T:aes256estream
66.0267.4271.50T:ocelot1
67.08?67.72?74.62?T:ocelot2
105.96?113.57?119.63?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
6.316.316.33salsa208
6.606.616.67chacha8
7.237.247.26tango642
7.387.417.48T:nlsv2
7.747.777.90T:tpy6
8.338.358.39salsa2012
8.528.538.55chacha12
9.169.229.37T:sosemanuk
9.259.449.61T:tpy
10.6610.6810.76T:cryptmtv3
11.4711.4811.57chacha20
11.4711.5911.86T:tpypy
11.6111.6311.80T:speck64128ctr
11.8912.0512.24T:panama
12.3512.3612.45salsa20
12.5612.5712.59xsalsa20
24.6324.7725.08T:aes128ctr
28.8229.0230.48T:aes192ctr
31.8531.8932.28T:aes128estream
32.7632.8733.55T:aes256ctr
45.6746.2046.61T:aes256estream
69.6870.4573.45T:ocelot1
71.1671.5276.66T:ocelot2
112.09116.97119.85T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
7.647.667.68salsa208
7.837.857.87chacha8
9.729.749.75salsa2012
9.729.759.82T:nlsv2
9.769.779.79chacha12
9.859.879.90tango642
10.9410.9711.02T:tpy6
12.6512.6712.70chacha20
12.8912.9012.95T:speck64128ctr
12.9613.0113.13T:sosemanuk
13.9113.9313.95salsa20
14.0514.0714.12T:cryptmtv3
14.4714.4914.50xsalsa20
15.2215.3415.78T:tpy
17.2917.4718.27T:tpypy
17.4517.5718.41T:panama
30.1330.3831.48T:aes128ctr
32.9633.1833.86T:aes128estream
34.6234.8136.64T:aes192ctr
38.5638.6639.38T:aes256ctr
46.6847.3347.81T:aes256estream
74.9475.3475.87T:ocelot1
77.5477.7978.97T:ocelot2
118.84122.45126.50T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
10.5210.5710.64salsa208
12.2112.2812.32chacha8
12.5812.6412.69salsa2012
14.1914.2514.31chacha12
15.4515.5115.61T:nlsv2
16.1716.2016.25T:speck64128ctr
16.7616.8417.20salsa20
16.8716.9116.98tango642
17.0317.0817.18chacha20
18.2818.3118.38xsalsa20
19.5419.6119.77T:tpy6
20.6220.7220.80T:cryptmtv3
23.3123.4923.74T:sosemanuk
31.4731.6531.79T:tpy
31.9032.0733.40T:panama
32.8232.8933.07T:tpypy
36.7636.8537.20T:aes128estream
47.4747.7849.05T:aes128ctr
50.5450.7051.68T:aes256estream
52.9253.2056.73T:aes192ctr
57.3957.8058.73T:aes256ctr
89.6389.9990.68T:ocelot1
94.9995.2396.43T:ocelot2
139.83144.98147.10T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
50.5050.9151.41salsa208
53.1953.5853.95salsa2012
55.2255.7556.00T:speck64128ctr
58.8159.2259.59salsa20
61.4161.6962.39chacha8
64.1964.4465.09chacha12
65.2265.8066.45chacha20
72.5272.9773.52xsalsa20
83.6184.0585.39T:aes128estream
91.0591.6992.56T:cryptmtv3
98.0098.7399.91T:nlsv2
98.8099.67100.83T:aes256estream
106.27106.86107.66tango642
130.69132.02132.78T:tpy6
142.66144.06146.44T:sosemanuk
217.59219.33221.89T:panama
222.61225.38232.59T:aes128ctr
232.77233.33233.88T:tpypy
233.95235.67242.45T:aes192ctr
235.70237.89240.94T:aes256ctr
240.11241.16242.25T:tpy
277.19278.02281.38T:ocelot1
319.44320.30322.75T:ocelot2
403.39410.95412.39T:amastrid
Cycles/byte for 8 bytes
25%50%75%stream
365.38368.88371.25T:speck64128ctr
417.38419.62424.88salsa208
438.50443.50446.50salsa2012
453.50458.62466.00chacha8
474.38479.25483.75chacha12
479.75483.38491.50T:aes128estream
483.25487.12493.12salsa20
490.50495.88503.75chacha20
522.88526.38531.12T:aes256estream
590.00591.75598.38xsalsa20
629.50637.25651.12T:nlsv2
654.50657.88664.75T:cryptmtv3
813.75817.25822.38tango642
1001.381009.121015.00T:tpy6
1138.501150.251165.50T:sosemanuk
1631.121651.751695.50T:aes128ctr
1678.501692.881715.00T:aes256ctr
1687.251710.001747.12T:aes192ctr
1717.751729.001753.75T:panama
1730.251752.251762.75T:ocelot1
1807.251811.881822.00T:tpypy
1874.751884.001899.88T:tpy
2088.002096.122131.75T:ocelot2
2717.752745.882764.50T:amastrid