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; Haswell+AES (306c3); 2013 Intel Core i7-4765T; 4 x 2000MHz; prodesk, supercop-20240909

[Page version: 20240920 17:02:44]

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
0.540.560.57chacha8
0.610.620.62salsa208
0.740.750.76T:aes128ctr
0.770.770.78chacha12
0.770.800.83tango642
0.870.870.88salsa2012
1.001.001.00aes256ctr
1.001.011.02T:aes192ctr
1.031.041.04T:speck6496ctr
1.061.071.07T:speck64128ctr
1.211.211.23chacha20
1.251.261.27T:speck128128ctr
1.291.301.30T:speck128192ctr
1.331.331.34T:speck128256ctr
1.371.381.38salsa20
1.371.381.38xsalsa20
1.911.921.92T:trivium
2.012.022.03T:sosemanuk
2.072.102.21T:hc128
2.182.242.33T:tpy
2.352.362.37T:simon128128ctr
2.422.422.43T:cryptmtv3
2.442.452.46T:simon6496ctr
2.472.512.54T:hc256
2.492.522.55T:simon64128ctr
2.422.522.59T:simon128256ctr
2.582.602.64T:nlsv2
2.632.732.78T:tpy6
3.053.083.18T:panama
3.073.103.11T:rabbit
3.323.363.37T:snow20
3.453.523.57T:tpypy
4.454.474.48T:lexv2
9.059.069.08T:aes128estream
14.4814.5014.52T:aes256estream
17.8818.5319.34T:ocelot1
19.1420.0220.47T:ocelot2
33.0234.1934.72T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.570.570.58chacha8
0.630.630.63salsa208
0.780.780.79T:aes128ctr
0.780.780.79chacha12
0.880.880.89salsa2012
0.970.980.99tango642
1.041.041.04aes256ctr
1.071.071.07T:speck6496ctr
1.101.101.10T:speck64128ctr
1.221.231.24chacha20
1.301.301.30T:speck128128ctr
1.331.341.34T:speck128192ctr
1.341.341.35T:aes192ctr
1.371.371.38T:speck128256ctr
1.391.391.39salsa20
1.491.491.50xsalsa20
2.012.022.02T:trivium
2.552.552.55T:sosemanuk
2.652.652.66T:simon128128ctr
2.692.702.70T:simon6496ctr
2.752.762.78T:nlsv2
2.892.892.91T:simon64128ctr
2.942.963.00T:simon128256ctr
2.972.972.97T:cryptmtv3
3.173.183.19T:rabbit
3.363.403.42T:tpy6
3.433.453.46T:snow20
3.863.883.94T:tpy
4.044.064.12T:panama
4.604.614.62T:lexv2
5.105.145.17T:tpypy
5.365.375.40T:hc128
9.139.139.14T:aes128estream
11.1411.1711.17T:hc256
14.6014.6114.61T:aes256estream
19.3719.7720.30T:ocelot1
20.6221.2721.46T:ocelot2
34.7435.4935.64T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.590.600.61chacha8
0.650.650.66salsa208
0.800.800.80chacha12
0.830.830.84T:aes128ctr
0.900.910.91salsa2012
1.101.101.11aes256ctr
1.111.121.12T:speck6496ctr
1.151.151.16T:speck64128ctr
1.251.251.26chacha20
1.261.291.32tango642
1.361.361.37T:speck128128ctr
1.401.401.41T:speck128192ctr
1.411.411.42salsa20
1.431.441.44T:speck128256ctr
1.681.681.68xsalsa20
1.881.891.99T:aes192ctr
2.172.172.18T:trivium
3.063.093.10T:nlsv2
3.103.103.11T:simon6496ctr
3.133.143.15T:simon128128ctr
3.323.333.35T:rabbit
3.473.483.49T:sosemanuk
3.503.503.54T:simon64128ctr
3.613.613.62T:snow20
3.673.693.81T:simon128256ctr
4.324.334.34T:cryptmtv3
4.584.624.68T:tpy6
4.834.844.86T:lexv2
5.675.695.72T:panama
6.436.456.66T:tpy
7.717.777.88T:tpypy
9.239.249.24T:aes128estream
10.8110.8310.88T:hc128
14.7514.7714.79T:aes256estream
21.4521.8322.36T:ocelot1
22.6723.3423.46T:ocelot2
25.5525.5625.60T:hc256
37.1537.2537.43T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.800.820.85chacha8
0.900.900.91salsa208
1.051.061.07T:aes128ctr
1.081.101.10chacha12
1.241.261.33salsa2012
1.321.331.33T:speck6496ctr
1.351.371.37T:speck64128ctr
1.391.391.40aes256ctr
1.601.611.63T:speck128128ctr
1.651.661.68T:speck128192ctr
1.691.701.71T:speck128256ctr
1.721.731.75chacha20
1.911.921.94salsa20
2.052.072.17tango642
2.602.612.62T:trivium
2.652.672.67xsalsa20
3.413.443.67T:aes192ctr
3.603.613.62T:simon64128ctr
3.743.763.80T:rabbit
3.823.843.91T:nlsv2
4.004.034.04T:snow20
4.744.764.77T:simon6496ctr
4.995.015.03T:cryptmtv3
5.295.305.32T:simon128128ctr
5.465.475.48T:lexv2
5.725.725.74T:simon128256ctr
5.945.965.98T:sosemanuk
7.417.567.87T:tpy6
9.459.489.51T:aes128estream
9.9510.0110.07T:panama
13.5313.6113.72T:tpy
15.1615.2215.31T:tpypy
15.2415.2515.28T:aes256estream
25.1225.1625.22T:hc128
26.9427.1227.65T:ocelot1
28.2628.9329.06T:ocelot2
44.0144.1844.55T:amastrid
63.9464.0064.08T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.882.942.94chacha8
3.253.313.38salsa208
3.383.383.44T:speck6496ctr
3.503.503.56T:aes128ctr
3.503.563.69T:speck64128ctr
3.943.944.00chacha12
4.194.254.31T:speck128192ctr
4.194.314.38T:speck128128ctr
4.31?4.38?4.81?salsa2012
4.44?4.50?5.00?T:speck128256ctr
4.564.564.62aes256ctr
5.946.006.00chacha20
6.446.446.50salsa20
7.757.817.94T:trivium
8.258.258.31T:simon6496ctr
8.508.698.81T:rabbit
9.259.389.62T:snow20
9.819.889.94T:simon64128ctr
11.7511.8811.94T:cryptmtv3
12.0012.0612.12tango642
12.7512.8112.88T:aes128estream
12.8812.9413.00T:simon128128ctr
13.0013.1213.25xsalsa20
13.3813.3813.56T:lexv2
14.5614.6214.75T:simon128256ctr
15.6215.7515.75T:nlsv2
20.8821.0621.19T:aes256estream
22.6222.8123.00T:aes192ctr
34.3134.4434.62T:sosemanuk
48.0048.5648.94T:tpy6
64.4464.8165.00T:panama
94.8195.7597.06T:ocelot1
96.1997.7598.81T:ocelot2
104.81108.00109.88T:tpy
108.12109.44113.69T:tpypy
124.12126.38128.12T:amastrid
203.31203.81204.31T:hc128
554.75555.50556.31T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
16.0016.0017.00T:speck64128ctr
18.5019.0019.50T:speck6496ctr
19.5020.0020.50T:speck128256ctr
22.0022.0022.50T:speck128192ctr
23.5023.5023.50T:speck128128ctr
29.5029.5029.50T:aes128ctr
31.5032.0033.50chacha8
37.5038.0038.00aes256ctr
38.5039.0040.00salsa2012
45.0045.5046.00T:simon6496ctr
46.0046.5047.00salsa208
46.5046.5047.00chacha12
49.5050.0051.50T:trivium
51.0052.0052.50T:rabbit
55.5056.0057.50T:aes128estream
57.5057.5058.00T:simon64128ctr
60.5061.0061.50chacha20
71.5072.5074.00T:cryptmtv3
73.0073.5074.50T:simon128128ctr
73.5074.5076.00T:snow20
79.5080.5082.00T:lexv2
82.0082.0082.50T:aes256estream
85.0085.5087.00T:simon128256ctr
85.5086.0086.50T:nlsv2
88.0088.5089.00salsa20
91.0092.0093.50tango642
140.50141.00143.00xsalsa20
180.50182.00183.00T:aes192ctr
275.00277.00278.50T:sosemanuk
365.50366.50368.50T:tpy6
503.50508.50510.50T:panama
619.00626.50634.00T:ocelot1
622.00635.00647.00T:ocelot2
812.00820.00826.50T:amastrid
840.50847.50881.00T:tpy
827.50870.50873.00T:tpypy
1626.501634.501640.50T:hc128
4438.004445.004449.00T:hc256