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: amd64; Kaby Lake (906e9); 2017 Intel Xeon E3-1220 v6; 4 x 3000MHz; kizomba, supercop-20250307

[Page version: 20250326 01:56:40]

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
0.530.530.54chacha8
0.590.600.61salsa208
0.630.640.64T:aes128ctr
0.700.720.74tango642
0.730.740.75chacha12
0.760.780.79T:aes192ctr
0.850.860.86salsa2012
0.880.880.89aes256ctr
1.001.001.01T:speck6496ctr
1.031.041.05T:speck64128ctr
1.151.161.18chacha20
1.231.241.24T:speck128128ctr
1.251.261.27T:speck128192ctr
1.291.291.30T:speck128256ctr
1.321.341.35salsa20
1.331.341.35xsalsa20
1.441.451.45T:simon6496ctr
1.491.501.50T:simon64128ctr
1.501.521.54T:hc128
1.931.931.93T:trivium
2.002.032.09T:tpy
2.232.252.27T:simon128128ctr
2.292.302.36T:hc256
2.242.312.38T:tpy6
2.322.362.43T:simon128256ctr
2.442.452.46T:sosemanuk
2.482.492.50T:cryptmtv3
2.552.582.60T:nlsv2
2.702.722.74T:rabbit
2.762.782.80T:snow20
2.872.902.92T:panama
3.213.283.48T:tpypy
4.094.114.14T:lexv2
8.338.358.37T:aes128estream
12.8112.9513.33T:aes256estream
17.2917.3517.42T:ocelot1
18.3018.3718.44T:ocelot2
30.2930.5630.98T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.540.540.55chacha8
0.610.610.61salsa208
0.670.670.67T:aes128ctr
0.750.750.76chacha12
0.860.860.87salsa2012
0.860.870.87tango642
0.930.930.94aes256ctr
1.031.031.04T:speck6496ctr
1.071.071.08T:speck64128ctr
1.111.121.12T:aes192ctr
1.171.181.18chacha20
1.271.271.27T:speck128128ctr
1.291.301.30T:speck128192ctr
1.331.331.33T:speck128256ctr
1.341.351.35salsa20
1.441.451.45xsalsa20
1.641.641.64T:simon6496ctr
1.821.821.82T:simon64128ctr
2.022.022.02T:trivium
2.492.502.52T:simon128128ctr
2.692.702.70T:sosemanuk
2.692.702.71T:nlsv2
2.792.802.85T:simon128256ctr
2.802.812.82T:rabbit
2.872.882.90T:snow20
2.882.912.95T:tpy6
3.003.003.01T:cryptmtv3
3.383.393.42T:tpy
3.823.833.84T:panama
4.234.244.25T:lexv2
4.454.454.46T:hc128
4.624.654.78T:tpypy
8.408.418.42T:aes128estream
9.959.969.99T:hc256
12.9813.0313.30T:aes256estream
18.3518.3818.41T:ocelot1
19.3619.4019.43T:ocelot2
31.7631.9132.19T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.560.560.57chacha8
0.620.620.63salsa208
0.730.730.73T:aes128ctr
0.770.780.78chacha12
0.880.890.90salsa2012
1.011.011.01aes256ctr
1.081.091.09T:speck6496ctr
1.101.121.14tango642
1.111.121.13T:speck64128ctr
1.181.191.20chacha20
1.321.331.33T:speck128128ctr
1.351.361.36T:speck128192ctr
1.351.361.37salsa20
1.391.401.40T:speck128256ctr
1.621.621.63xsalsa20
1.651.681.71T:aes192ctr
1.951.961.96T:simon6496ctr
2.172.182.18T:trivium
2.342.352.36T:simon64128ctr
2.912.922.93T:simon128128ctr
2.952.962.97T:rabbit
2.942.962.98T:nlsv2
3.043.053.07T:snow20
3.123.143.15T:sosemanuk
3.523.553.60T:simon128256ctr
3.833.914.02T:tpy6
4.344.354.35T:cryptmtv3
4.464.474.49T:lexv2
5.375.395.42T:panama
5.635.665.74T:tpy
6.886.907.07T:tpypy
8.488.498.52T:aes128estream
9.299.339.36T:hc128
13.1313.1613.43T:aes256estream
20.0420.0920.15T:ocelot1
21.1121.1521.23T:ocelot2
22.6722.7022.72T:hc256
34.3634.6334.88T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.740.760.77chacha8
0.860.870.88salsa208
0.960.960.97T:aes128ctr
1.031.041.05chacha12
1.211.221.23salsa2012
1.271.281.30T:speck6496ctr
1.301.311.32T:speck64128ctr
1.321.321.33aes256ctr
1.541.551.56T:speck128128ctr
1.591.601.61T:speck128192ctr
1.611.611.63chacha20
1.651.651.67T:speck128256ctr
1.761.781.86tango642
1.871.881.90salsa20
2.562.572.58T:trivium
2.572.592.60xsalsa20
3.103.123.16T:aes192ctr
3.243.263.26T:simon64128ctr
3.363.383.39T:rabbit
3.413.433.49T:snow20
3.453.473.49T:simon6496ctr
3.593.613.63T:nlsv2
4.454.474.50T:sosemanuk
4.764.774.78T:cryptmtv3
4.764.784.79T:simon128128ctr
5.025.045.06T:lexv2
5.155.175.19T:simon128256ctr
6.266.426.51T:tpy6
8.748.788.81T:aes128estream
9.479.579.76T:panama
11.5811.6711.95T:tpy
12.9713.1413.20T:tpypy
13.4713.5213.79T:aes256estream
22.2222.2722.37T:hc128
24.6824.7924.95T:ocelot1
25.6925.8425.98T:ocelot2
39.6340.0540.52T:amastrid
56.4556.6056.67T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.772.812.86chacha8
3.093.143.27T:speck64128ctr
3.223.283.36T:speck6496ctr
3.253.283.33salsa208
3.623.723.75T:aes128ctr
3.723.753.78chacha12
3.723.753.88T:speck128128ctr
3.974.064.16T:speck128192ctr
4.164.194.34T:speck128256ctr
4.314.344.38salsa2012
4.804.864.94aes256ctr
5.535.585.64chacha20
6.476.526.58salsa20
7.537.597.66T:simon6496ctr
7.667.727.75T:trivium
8.128.198.28T:rabbit
8.418.568.83T:snow20
8.728.838.92T:simon64128ctr
9.649.679.77T:cryptmtv3
10.2310.3110.47tango642
11.5311.6211.72T:simon128128ctr
12.1612.2712.36T:aes128estream
12.1212.2812.44T:lexv2
12.8112.8912.97xsalsa20
13.1113.1613.33T:simon128256ctr
13.9214.1214.31T:nlsv2
17.9218.1218.28T:aes256estream
19.5019.7519.97T:sosemanuk
22.0522.1722.41T:aes192ctr
39.2539.5640.17T:tpy6
61.4561.7562.09T:panama
83.3484.0585.06T:ocelot1
83.0984.0985.34T:ocelot2
88.5989.1989.66T:tpy
89.9590.3890.81T:tpypy
113.28116.61117.38T:amastrid
186.42186.64187.25T:hc128
488.75490.84491.91T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
16.6216.8817.38T:speck64128ctr
17.88?18.38?19.88?T:speck6496ctr
20.3820.8821.50T:speck128128ctr
21.5021.8822.50T:speck128256ctr
21.5022.1222.88T:speck128192ctr
30.25?30.50?34.62?T:aes128ctr
33.2533.5034.00chacha8
40.1240.5040.88aes256ctr
42.0042.8843.50salsa2012
42.6243.0043.50salsa208
45.3845.8846.62T:simon6496ctr
46.3846.8847.38chacha12
47.8848.2548.75T:trivium
49.8850.6251.75T:rabbit
54.3855.0055.88T:cryptmtv3
54.6255.2555.88T:simon64128ctr
55.5056.0056.75T:aes128estream
62.2562.5063.25chacha20
63.5064.1264.50salsa20
66.2566.8867.62T:aes256estream
68.0069.0070.12T:snow20
71.7572.3873.12T:simon128128ctr
72.8873.8876.88T:lexv2
75.1276.1277.38T:nlsv2
76.7577.8879.62tango642
83.5084.0084.88T:simon128256ctr
111.25112.12112.62xsalsa20
155.00156.50158.25T:sosemanuk
176.62178.25180.25T:aes192ctr
298.88301.62308.38T:tpy6
483.62485.62490.62T:panama
541.12548.38554.50T:ocelot2
539.62550.88556.75T:ocelot1
689.00691.38695.50T:tpy
691.88699.62712.50T:tpypy
776.38780.50788.00T:amastrid
1492.251494.881498.00T:hc128
3908.253924.623935.50T:hc256