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

[Page version: 20250816 20:50:23]

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.550.560.56chacha8
0.620.620.62salsa208
0.740.750.76T:aes128ctr
0.770.800.83tango642
0.73?0.83?0.89?chacha12
0.870.870.88salsa2012
1.001.001.00aes256ctr
1.001.011.02T:aes192ctr
1.031.041.04T:speck6496ctr
1.061.071.07T:speck64128ctr
1.191.201.23chacha20
1.251.261.27T:speck128128ctr
1.291.301.30T:speck128192ctr
1.331.331.34T:speck128256ctr
1.34?1.38?1.49?xsalsa20
1.371.381.38salsa20
1.911.911.92T:trivium
2.012.022.03T:sosemanuk
2.112.152.19T:hc128
2.242.282.45T:tpy
2.352.362.37T:simon128128ctr
2.422.422.43T:cryptmtv3
2.442.452.46T:simon6496ctr
2.492.522.55T:simon64128ctr
2.422.522.59T:simon128256ctr
2.482.522.54T:hc256
2.49?2.67?2.82?T:tpy6
2.712.752.77T:nlsv2
3.053.083.18T:panama
3.033.093.20T:rabbit
3.313.343.36T:snow20
3.403.483.55T:tpypy
4.474.484.50T:lexv2
9.089.109.11T: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.57chacha8
0.630.630.63salsa208
0.780.780.79T:aes128ctr
0.79?0.84?0.88?chacha12
0.880.890.89salsa2012
0.970.980.99tango642
1.041.041.04aes256ctr
1.071.071.07T:speck6496ctr
1.101.101.10T:speck64128ctr
1.211.221.23chacha20
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.58xsalsa20
2.012.012.02T:trivium
2.552.552.55T:sosemanuk
2.652.652.66T:simon128128ctr
2.692.702.70T:simon6496ctr
2.872.882.89T:nlsv2
2.892.892.91T:simon64128ctr
2.942.963.00T:simon128256ctr
2.982.982.98T:cryptmtv3
3.163.183.26T:rabbit
3.283.403.47T:tpy6
3.433.453.45T:snow20
3.843.863.97T:tpy
4.044.064.12T:panama
4.614.624.63T:lexv2
5.085.115.13T:tpypy
5.395.415.41T:hc128
9.149.159.15T:aes128estream
11.1411.1511.16T:hc256
14.5914.6114.62T: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.580.580.59chacha8
0.650.660.66salsa208
0.830.830.84T:aes128ctr
0.81?0.87?0.91?chacha12
0.910.910.92salsa2012
1.101.101.11aes256ctr
1.111.121.12T:speck6496ctr
1.151.151.16T:speck64128ctr
1.231.241.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.691.78xsalsa20
1.881.891.99T:aes192ctr
2.172.182.18T:trivium
3.103.103.11T:simon6496ctr
3.133.143.15T:simon128128ctr
3.143.173.21T:nlsv2
3.303.333.41T:rabbit
3.473.483.49T:sosemanuk
3.503.503.54T:simon64128ctr
3.613.623.63T:snow20
3.673.693.81T:simon128256ctr
4.334.344.34T:cryptmtv3
4.404.624.67T:tpy6
4.834.844.85T:lexv2
5.675.695.72T:panama
6.536.566.57T:tpy
7.787.827.85T:tpypy
9.239.249.25T:aes128estream
10.8210.8610.90T:hc128
14.7714.8114.86T:aes256estream
21.4521.8322.36T:ocelot1
22.6723.3423.46T:ocelot2
25.5125.5325.56T:hc256
37.1537.2537.43T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.790.790.81chacha8
0.900.900.90salsa208
1.051.061.07T:aes128ctr
1.101.121.22chacha12
1.241.241.25salsa2012
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.691.721.75chacha20
1.921.941.94salsa20
2.052.072.17tango642
2.602.622.63T:trivium
2.652.672.70xsalsa20
3.413.443.67T:aes192ctr
3.603.613.62T:simon64128ctr
3.713.753.83T:rabbit
3.813.833.88T:nlsv2
4.004.014.05T:snow20
4.744.764.77T:simon6496ctr
5.035.045.06T:cryptmtv3
5.295.305.32T:simon128128ctr
5.435.465.49T:lexv2
5.725.725.74T:simon128256ctr
5.945.965.98T:sosemanuk
7.477.627.75T:tpy6
9.459.499.52T:aes128estream
9.9510.0110.07T:panama
13.6013.6513.74T:tpy
14.5615.0115.31T:tpypy
15.2815.3115.41T:aes256estream
25.1525.2125.23T:hc128
26.9427.1227.65T:ocelot1
28.2628.9329.06T:ocelot2
44.0144.1844.55T:amastrid
63.8163.8863.98T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.882.943.00chacha8
3.313.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.314.384.38salsa2012
4.44?4.50?5.00?T:speck128256ctr
4.564.564.62aes256ctr
5.946.006.06chacha20
6.446.506.56salsa20
7.757.757.81T:trivium
8.258.258.31T:simon6496ctr
8.388.448.62T:rabbit
9.259.509.56T:snow20
9.819.889.94T:simon64128ctr
12.0012.0612.12tango642
12.0612.1212.38T:cryptmtv3
12.7512.8112.94T:aes128estream
12.8812.9413.00T:simon128128ctr
13.0013.0613.19xsalsa20
13.0613.1913.31T:lexv2
13.9414.1214.19T:nlsv2
14.5614.6214.75T:simon128256ctr
21.0021.1221.19T:aes256estream
22.6222.8123.00T:aes192ctr
34.3134.4434.62T:sosemanuk
46.5646.9447.38T:tpy6
64.4464.8165.00T:panama
94.8195.7597.06T:ocelot1
96.1997.7598.81T:ocelot2
101.50102.75103.75T:tpy
108.00108.19109.44T:tpypy
124.12126.38128.12T:amastrid
203.94204.19204.38T:hc128
553.38554.12554.69T: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
35.0036.0038.00salsa208
36.0036.5037.00chacha8
37.5038.0038.00aes256ctr
45.0045.5046.00T:simon6496ctr
47.5047.5048.00chacha12
49.0050.0051.50T:trivium
50.0051.0053.50T:rabbit
50.5051.0051.50salsa2012
55.5055.5056.00T:aes128estream
57.5057.5058.00T:simon64128ctr
69.5070.0070.00chacha20
73.0073.5074.50T:simon128128ctr
73.0074.5075.50T:snow20
73.5074.5076.50T:cryptmtv3
75.0076.0077.00T:nlsv2
76.0076.5077.50T:lexv2
82.5082.5083.50T:aes256estream
85.0085.5087.00T:simon128256ctr
91.0092.0093.50tango642
96.0096.0096.50salsa20
147.00147.50149.00xsalsa20
180.50182.00183.00T:aes192ctr
275.00277.00278.50T:sosemanuk
347.00358.00365.50T:tpy6
503.50508.50510.50T:panama
619.00626.50634.00T:ocelot1
622.00635.00647.00T:ocelot2
788.50794.00798.50T:tpy
812.00820.00826.50T:amastrid
819.00845.00848.00T:tpypy
1635.001638.001639.50T:hc128
4427.004437.004443.50T:hc256