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

[Page version: 20241109 15:41: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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.530.530.54chacha8
0.590.600.61salsa208
0.630.630.64T:aes128ctr
0.700.720.74tango642
0.52?0.77?1.69?chacha12
0.760.780.80T:aes192ctr
0.840.840.85salsa2012
0.880.880.89aes256ctr
1.001.001.01T:speck6496ctr
1.031.041.05T:speck64128ctr
1.151.161.17chacha20
1.231.231.24T:speck128128ctr
1.251.261.27T:speck128192ctr
1.291.291.29T:speck128256ctr
1.321.331.34salsa20
1.331.341.35xsalsa20
1.441.441.47T:simon6496ctr
1.491.491.50T:simon64128ctr
1.511.531.56T:hc128
1.801.821.83T:sosemanuk
1.921.931.93T:trivium
1.992.072.12T:tpy
2.212.222.23T:simon128128ctr
2.232.332.40T:tpy6
2.292.352.38T:hc256
2.352.362.37T:simon128256ctr
2.542.552.56T:cryptmtv3
2.572.582.60T:nlsv2
2.702.712.71T:rabbit
2.772.802.82T:snow20
2.882.902.92T:panama
3.283.353.43T:tpypy
4.094.114.13T:lexv2
8.328.348.37T:aes128estream
13.1313.1513.17T:aes256estream
17.2917.3717.43T:ocelot1
18.2718.3318.40T:ocelot2
29.6530.0530.25T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.540.540.55chacha8
0.610.610.61salsa208
0.670.670.67T:aes128ctr
0.77?0.79?1.47?chacha12
0.850.850.86salsa2012
0.860.870.87tango642
0.930.930.93aes256ctr
1.031.031.03T:speck6496ctr
1.071.071.07T:speck64128ctr
1.111.111.12T:aes192ctr
1.171.171.18chacha20
1.271.271.28T:speck128128ctr
1.301.301.31T:speck128192ctr
1.331.331.33T:speck128256ctr
1.341.351.35salsa20
1.441.451.45xsalsa20
1.641.641.66T:simon6496ctr
1.821.821.82T:simon64128ctr
2.022.022.02T:trivium
2.292.292.30T:sosemanuk
2.512.512.52T:simon128128ctr
2.692.702.71T:nlsv2
2.792.792.80T:rabbit
2.792.802.80T:simon128256ctr
2.882.892.90T:snow20
2.892.953.00T:tpy6
3.023.033.03T:cryptmtv3
3.373.413.43T:tpy
3.823.833.84T:panama
4.234.244.25T:lexv2
4.454.464.47T:hc128
4.694.724.75T:tpypy
8.408.408.42T:aes128estream
9.969.999.99T:hc256
13.2213.2213.24T:aes256estream
18.3718.4118.44T:ocelot1
19.3519.3819.40T:ocelot2
31.3431.6031.71T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.560.560.57chacha8
0.620.630.63salsa208
0.730.730.73T:aes128ctr
0.79?0.81?1.49?chacha12
0.870.870.88salsa2012
1.011.011.01aes256ctr
1.081.081.09T:speck6496ctr
1.101.121.14tango642
1.121.121.13T:speck64128ctr
1.181.191.20chacha20
1.331.331.34T:speck128128ctr
1.351.361.37T:speck128192ctr
1.351.361.37salsa20
1.391.391.40T:speck128256ctr
1.611.621.63xsalsa20
1.661.681.71T:aes192ctr
1.951.961.97T:simon6496ctr
2.172.182.18T:trivium
2.352.352.36T:simon64128ctr
2.932.942.95T:rabbit
2.942.952.97T:nlsv2
2.972.993.00T:simon128128ctr
3.023.033.05T:snow20
3.133.143.15T:sosemanuk
3.523.523.53T:simon128256ctr
3.843.883.93T:tpy6
4.384.384.39T:cryptmtv3
4.464.484.48T:lexv2
5.385.395.42T:panama
5.585.625.69T:tpy
6.897.097.15T:tpypy
8.488.508.51T:aes128estream
9.319.349.37T:hc128
13.3513.3713.39T:aes256estream
20.0820.1620.21T:ocelot1
21.1021.1421.21T:ocelot2
22.6622.7122.74T:hc256
33.2434.0834.27T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.740.750.76chacha8
0.870.880.89salsa208
0.960.960.97T:aes128ctr
1.06?1.12?1.69?chacha12
1.191.201.22salsa2012
1.261.271.27T:speck6496ctr
1.301.311.32T:speck64128ctr
1.311.321.33aes256ctr
1.551.561.58T:speck128128ctr
1.591.601.61T:speck128192ctr
1.611.611.62chacha20
1.641.651.66T:speck128256ctr
1.751.771.84tango642
1.871.881.90salsa20
2.562.572.58T:trivium
2.572.592.60xsalsa20
3.083.133.18T:aes192ctr
3.263.273.29T:simon64128ctr
3.323.343.36T:rabbit
3.423.443.48T:snow20
3.443.463.47T:simon6496ctr
3.603.613.63T:nlsv2
4.744.744.76T:cryptmtv3
4.774.794.82T:simon128128ctr
5.005.035.06T:lexv2
5.165.165.18T:simon128256ctr
5.395.405.43T:sosemanuk
6.406.446.60T:tpy6
8.748.778.80T:aes128estream
9.489.539.68T:panama
11.5711.6211.68T:tpy
12.8612.9413.27T:tpypy
13.6813.7313.76T:aes256estream
22.2322.2922.36T:hc128
24.8224.9525.19T:ocelot1
25.5925.7125.82T:ocelot2
39.8140.2540.80T:amastrid
56.5156.6356.72T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.752.772.84chacha8
3.033.093.14T:speck6496ctr
3.163.223.31T:speck64128ctr
3.283.313.34salsa208
3.593.663.72T:aes128ctr
3.693.753.78chacha12
3.723.773.84T:speck128128ctr
4.064.124.20T:speck128192ctr
4.204.254.38T:speck128256ctr
4.314.344.38salsa2012
4.814.844.92aes256ctr
5.455.525.58chacha20
6.426.476.50salsa20
7.507.567.66T:simon6496ctr
7.667.697.75T:trivium
7.697.757.81T:rabbit
8.478.668.92T:snow20
8.788.838.94T:simon64128ctr
10.0810.1410.30T:cryptmtv3
10.2710.4110.98tango642
11.5011.6211.66T:simon128128ctr
12.1112.1912.30T:aes128estream
12.1612.2212.47T:lexv2
12.6912.8313.00xsalsa20
13.1413.1913.45T:simon128256ctr
13.8013.9214.17T:nlsv2
18.0218.0918.30T:aes256estream
21.8922.2022.45T:aes192ctr
30.7530.8831.16T:sosemanuk
39.4739.8440.23T:tpy6
61.5261.7062.20T:panama
82.9183.8084.73T:ocelot1
83.0285.0386.94T:ocelot2
87.8988.7089.25T:tpy
89.3690.6291.89T:tpypy
116.16117.12118.06T:amastrid
186.45186.72187.00T:hc128
489.95490.92492.86T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
16.1216.3816.88T:speck6496ctr
16.6217.1217.88T:speck64128ctr
19.8820.5021.12T:speck128128ctr
21.3821.8822.88T:speck128256ctr
21.88?23.75?25.50?T:speck128192ctr
28.2528.7529.25salsa208
30.2530.5030.75T:aes128ctr
34.2534.8835.25chacha8
40.1240.5040.75aes256ctr
40.3840.7541.50chacha12
45.3846.3846.88T:simon6496ctr
46.1246.8848.12T:rabbit
48.1248.3848.88T:trivium
50.1250.3850.88salsa2012
54.5055.0055.62T:simon64128ctr
55.2555.6256.00T:aes128estream
60.2560.7561.50T:cryptmtv3
62.1262.5063.00chacha20
66.6267.0067.50T:aes256estream
66.5068.2569.88T:snow20
71.7572.1272.62T:simon128128ctr
72.7573.2573.88salsa20
72.8875.8876.62T:lexv2
75.2576.8878.12T:nlsv2
76.8877.8879.00tango642
83.1284.1285.00T:simon128256ctr
125.00126.75129.00xsalsa20
177.00178.12180.25T:aes192ctr
245.62246.50247.62T:sosemanuk
302.00303.25306.50T:tpy6
485.62487.88491.50T:panama
535.25541.25553.00T:ocelot2
535.62544.88558.88T:ocelot1
694.62702.62708.38T:tpy
697.75703.38707.25T:tpypy
773.00780.25788.75T:amastrid
1493.001495.501499.25T:hc128
3913.253931.123944.00T:hc256