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; Sandy Bridge (206a7); 2011 Intel Core i3-2310M; 2 x 2100MHz; h6sandy, supercop-20241022

[Page version: 20241215 22:59:29]

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.991.001.01tango642
1.031.051.05chacha8
1.221.221.23salsa208
1.461.481.50chacha12
1.731.751.78salsa2012
2.062.072.07T:speck6496ctr
2.092.112.12T:trivium
2.142.152.16T:speck64128ctr
2.292.302.32chacha20
2.462.492.50T:hc128
2.642.652.67T:cryptmtv3
2.662.672.68T:speck128128ctr
2.722.732.74T:speck128192ctr
2.682.762.86T:tpy
2.772.782.79salsa20
2.782.792.81xsalsa20
2.812.832.84T:speck128256ctr
2.922.952.96T:simon6496ctr
3.073.113.18T:simon64128ctr
3.103.223.36T:tpy6
3.273.283.30T:sosemanuk
3.653.693.71T:hc256
3.663.703.74T:nlsv2
3.733.753.77T:snow20
3.823.833.87T:rabbit
3.843.883.92T:panama
4.504.544.57T:simon128128ctr
4.554.624.69T:tpypy
4.95?5.15?5.78?T:simon128256ctr
5.815.825.84T:lexv2
6.606.616.64T:aes128ctr
7.797.827.85T:aes192ctr
9.029.049.06T:aes256ctr
11.3511.3811.41T:aes128estream
18.1918.2218.26T:aes256estream
22.1022.7322.84T:ocelot1
23.3323.4723.57T:ocelot2
39.1739.5339.87T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
1.061.071.07chacha8
1.201.201.21tango642
1.251.251.26salsa208
1.491.501.51chacha12
1.771.781.80salsa2012
2.122.122.12T:speck6496ctr
2.192.202.20T:speck64128ctr
2.212.212.22T:trivium
2.332.332.34chacha20
2.722.722.73T:speck128128ctr
2.782.782.79T:speck128192ctr
2.812.812.82salsa20
2.872.882.88T:speck128256ctr
2.932.942.95xsalsa20
3.113.123.13T:cryptmtv3
3.133.143.15T:simon6496ctr
3.413.423.48T:simon64128ctr
3.593.603.61T:sosemanuk
3.863.873.88T:snow20
3.863.883.90T:nlsv2
3.953.953.98T:rabbit
3.923.964.05T:tpy6
4.484.504.52T:tpy
4.804.824.83T:simon128128ctr
5.105.115.12T:panama
5.755.766.13T:simon128256ctr
5.996.006.00T:lexv2
6.286.316.35T:tpypy
6.306.316.32T:hc128
7.417.427.43T:aes128ctr
8.668.668.67T:aes192ctr
9.869.879.88T:aes256ctr
11.4511.4711.47T:aes128estream
14.3614.3714.39T:hc256
18.3218.3418.35T:aes256estream
23.6824.1124.16T:ocelot1
24.8224.8624.91T:ocelot2
41.3141.5241.74T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.111.121.13chacha8
1.301.301.31salsa208
1.521.531.55chacha12
1.541.541.55tango642
1.821.821.84salsa2012
2.192.202.20T:speck6496ctr
2.272.282.29T:speck64128ctr
2.382.402.41chacha20
2.392.412.41T:trivium
2.792.802.82T:speck128128ctr
2.852.862.87T:speck128192ctr
2.852.862.86salsa20
2.952.952.96T:speck128256ctr
3.173.183.20xsalsa20
3.463.473.51T:simon6496ctr
3.943.954.01T:simon64128ctr
4.064.084.10T:snow20
4.154.154.17T:rabbit
4.204.214.22T:sosemanuk
4.194.234.25T:nlsv2
4.414.424.44T:cryptmtv3
5.235.285.36T:tpy6
5.255.285.31T:simon128128ctr
6.296.306.31T:lexv2
6.556.777.07T:simon128256ctr
7.137.197.22T:panama
7.297.457.49T:tpy
8.728.748.75T:aes128ctr
8.999.049.10T:tpypy
10.0410.0610.11T:aes192ctr
11.2611.2811.30T:aes256ctr
11.5711.5811.60T:aes128estream
12.6712.6812.70T:hc128
18.5118.5418.57T:aes256estream
26.2626.4826.72T:ocelot1
27.2227.2927.40T:ocelot2
32.1532.1832.20T:hc256
45.2445.4345.56T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.311.321.34chacha8
1.541.551.56salsa208
1.801.811.84chacha12
2.122.132.15salsa2012
2.432.442.45T:speck6496ctr
2.452.462.48tango642
2.502.512.52T:speck64128ctr
2.772.792.81chacha20
2.832.872.95T:trivium
3.033.053.06T:speck128128ctr
3.113.133.15T:speck128192ctr
3.193.223.23T:speck128256ctr
3.283.293.30salsa20
4.144.154.18xsalsa20
4.584.614.62T:snow20
4.664.684.70T:rabbit
4.904.914.93T:cryptmtv3
5.105.115.12T:simon6496ctr
5.025.135.18T:nlsv2
5.845.855.86T:sosemanuk
6.56?6.62?7.60?T:simon64128ctr
7.077.097.11T:lexv2
8.128.208.90T:simon128128ctr
8.358.498.63T:tpy6
10.1410.1510.18T:simon128256ctr
11.9111.9311.95T:aes128estream
12.5312.5712.63T:panama
12.9212.9613.00T:aes128ctr
14.5914.6514.75T:aes192ctr
14.8414.9215.38T:tpy
15.9115.9315.97T:aes256ctr
16.7616.8516.94T:tpypy
18.9719.0019.05T:aes256estream
29.6529.6729.70T:hc128
32.5832.7833.02T:ocelot1
33.2433.5433.78T:ocelot2
52.7453.0853.24T:amastrid
79.6779.7179.78T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.333.333.33chacha8
4.064.094.12salsa208
4.304.384.41chacha12
5.065.085.11salsa2012
5.285.335.45T:speck6496ctr
5.335.425.52T:speck64128ctr
6.116.196.34T:speck128128ctr
6.196.306.41T:speck128192ctr
6.286.346.45T:speck128256ctr
6.416.426.44chacha20
7.227.257.28salsa20
8.668.738.80T:trivium
10.7810.8411.00T:rabbit
11.0211.0811.17T:simon6496ctr
11.3411.4211.61T:snow20
12.5012.5812.67T:cryptmtv3
12.7512.8312.95T:simon64128ctr
14.0814.2314.47tango642
14.8614.9214.97xsalsa20
16.2516.3116.39T:aes128estream
16.9117.0017.22T:lexv2
17.1217.3018.11T:nlsv2
17.5017.5917.66T:simon128256ctr
17.5517.7317.83T:simon128128ctr
24.2224.3324.58T:sosemanuk
25.1225.2325.36T:aes256estream
52.9153.6654.12T:tpy6
77.3678.2878.89T:aes128ctr
81.3381.6182.00T:panama
84.6785.6286.06T:aes192ctr
90.0690.2790.50T:aes256ctr
112.19112.98114.27T:tpy
112.08114.53116.31T:ocelot1
112.73114.80116.39T:ocelot2
114.89116.52119.23T:tpypy
151.33152.59153.69T:amastrid
247.73247.91248.06T:hc128
686.58687.19688.16T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
26.5027.0027.50T:speck6496ctr
27.7528.2528.62T:speck64128ctr
28.5028.6229.00chacha8
28.7529.2530.00T:speck128256ctr
30.0031.8833.25T:speck128128ctr
32.1232.3832.88T:speck128192ctr
36.2536.6237.12chacha12
39.3840.5042.62salsa208
53.0054.6257.12chacha20
54.5054.8855.38T:trivium
65.5066.7570.12T:rabbit
66.25?67.25?79.12?salsa2012
71.8872.2574.38salsa20
72.1272.8874.12T:simon6496ctr
81.7582.1282.50T:aes128estream
82.1283.2585.75T:cryptmtv3
85.7586.6287.88T:simon64128ctr
89.8890.5093.38T:snow20
93.2594.5099.62T:nlsv2
93.8894.8896.00T:aes256estream
101.25102.38104.12T:lexv2
107.00107.88109.88tango642
115.38116.38118.38T:simon128128ctr
119.00120.50121.88T:simon128256ctr
132.62133.62134.25xsalsa20
194.75195.88197.88T:sosemanuk
398.12403.00419.00T:tpy6
443.38449.62454.00T:aes128ctr
465.62473.88480.75T:aes192ctr
473.62479.25487.00T:aes256ctr
640.75643.00648.88T:panama
732.12742.38763.75T:ocelot1
734.25750.38769.12T:ocelot2
878.62883.88901.38T:tpy
898.25901.50904.00T:tpypy
996.001003.381013.12T:amastrid
1976.621978.121979.50T:hc128
5493.385497.505501.75T:hc256