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; Ivy Bridge+AES (306a9); 2012 Intel Core i5-3427U; 2 x 1800MHz; hunsnivy, supercop-20250307

[Page version: 20250328 20:58:06]

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.35?0.89?0.91?T:aes192ctr
0.900.910.92T:aes128ctr
0.920.930.94tango642
1.031.041.05chacha8
1.191.201.21aes256ctr
1.201.211.22salsa208
1.461.471.48chacha12
1.731.731.74salsa2012
1.711.741.75T:trivium
2.072.072.08T:speck6496ctr
2.072.092.12T:hc128
2.142.152.15T:speck64128ctr
2.282.302.32chacha20
2.642.652.65T:speck128128ctr
2.672.682.70T:cryptmtv3
2.722.732.74T:speck128192ctr
2.762.772.78xsalsa20
2.772.782.79salsa20
2.802.802.81T:speck128256ctr
2.832.852.87T:simon6496ctr
2.922.932.94T:sosemanuk
3.013.023.05T:hc256
3.083.093.10T:simon64128ctr
2.91?3.13?3.40?T:nlsv2
3.413.443.49T:tpy
3.493.503.52T:rabbit
3.513.523.54T:snow20
3.513.533.54T:panama
3.593.663.81T:tpy6
4.564.574.58T:simon128128ctr
4.814.824.83T:simon128256ctr
4.914.924.93T:lexv2
5.025.085.14T:tpypy
9.739.749.76T:aes128estream
15.5215.5315.57T:aes256estream
20.2020.4120.62T:ocelot1
21.3321.6021.73T:ocelot2
36.8637.0337.95T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.950.950.96T:aes128ctr
1.071.071.08chacha8
1.081.091.10T:aes192ctr
1.121.121.13tango642
1.231.241.24salsa208
1.251.251.25aes256ctr
1.491.491.50chacha12
1.751.761.76salsa2012
1.821.831.84T:trivium
2.122.122.12T:speck6496ctr
2.192.192.20T:speck64128ctr
2.322.322.33chacha20
2.692.692.69T:speck128128ctr
2.762.772.77T:speck128192ctr
2.802.802.81salsa20
2.842.852.85T:speck128256ctr
2.922.922.93xsalsa20
3.033.043.05T:simon6496ctr
3.143.153.16T:cryptmtv3
3.223.223.22T:sosemanuk
3.333.353.53T:nlsv2
3.383.383.38T:simon64128ctr
3.613.623.63T:rabbit
3.623.623.63T:snow20
4.384.414.49T:tpy6
4.624.634.64T:panama
4.844.844.85T:simon128128ctr
5.015.025.04T:tpy
5.075.085.08T:lexv2
5.265.275.27T:simon128256ctr
5.485.495.51T:hc128
6.616.646.68T:tpypy
9.819.829.83T:aes128estream
11.6811.6911.70T:hc256
15.6315.6315.65T:aes256estream
21.8121.9122.01T:ocelot1
23.0523.1823.24T:ocelot2
38.7038.7839.37T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.001.011.02T:aes128ctr
1.101.111.11chacha8
1.271.281.28salsa208
1.321.331.35aes256ctr
1.411.421.44T:aes192ctr
1.431.441.44tango642
1.521.521.54chacha12
1.791.801.81salsa2012
1.991.992.00T:trivium
2.192.192.19T:speck6496ctr
2.272.272.27T:speck64128ctr
2.352.362.37chacha20
2.752.762.76T:speck128128ctr
2.832.832.84T:speck128192ctr
2.832.842.84salsa20
2.912.922.94T:speck128256ctr
3.163.173.18xsalsa20
3.353.363.37T:simon6496ctr
3.773.783.79T:sosemanuk
3.773.793.80T:snow20
3.78?3.81?4.52?T:nlsv2
3.823.833.83T:rabbit
3.853.863.87T:simon64128ctr
4.444.454.46T:cryptmtv3
5.305.305.31T:simon128128ctr
5.345.355.36T:lexv2
5.625.675.74T:tpy6
6.016.026.03T:simon128256ctr
6.456.476.48T:panama
7.607.677.78T:tpy
9.179.279.55T:tpypy
9.939.949.97T:aes128estream
11.1311.1411.18T:hc128
15.7715.7815.80T:aes256estream
24.2624.3724.50T:ocelot1
25.6125.7025.82T:ocelot2
26.1026.1326.15T:hc256
40.8441.3943.05T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.301.311.33T:aes128ctr
1.321.331.33chacha8
1.521.521.53salsa208
1.681.691.76aes256ctr
1.781.801.81chacha12
2.102.112.11salsa2012
2.292.312.33tango642
2.322.352.41T:aes192ctr
2.402.412.41T:speck6496ctr
2.382.412.42T:trivium
2.472.502.50T:speck64128ctr
2.732.772.79chacha20
2.993.003.01T:speck128128ctr
3.043.063.07T:speck128192ctr
3.153.173.17T:speck128256ctr
3.253.263.28salsa20
4.104.124.14xsalsa20
4.254.264.28T:snow20
4.324.334.37T:rabbit
4.86?4.92?6.69?T:nlsv2
4.904.924.94T:simon6496ctr
4.964.974.99T:cryptmtv3
5.255.275.29T:sosemanuk
5.825.845.85T:simon64128ctr
6.066.086.09T:lexv2
7.707.757.89T:simon128128ctr
8.728.798.89T:tpy6
9.899.909.92T:simon128256ctr
10.2110.2410.31T:aes128estream
11.3611.3911.43T:panama
14.6214.8114.91T:tpy
16.0116.1216.40T:tpypy
16.1616.1916.23T:aes256estream
26.2426.2626.33T:hc128
30.8831.0531.38T:ocelot1
32.0232.3432.62T:ocelot2
47.3948.3948.68T:amastrid
64.5864.6564.73T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.283.303.33chacha8
3.954.004.05salsa208
4.394.394.44chacha12
4.474.584.81T:aes128ctr
5.025.055.09salsa2012
5.095.115.12T:speck6496ctr
5.165.165.17T:speck64128ctr
5.565.675.81aes256ctr
5.865.915.92T:speck128192ctr
5.806.086.08T:speck128128ctr
6.166.166.16T:speck128256ctr
6.306.346.42chacha20
7.167.197.25salsa20
7.667.697.86T:trivium
9.9510.0310.11T:snow20
10.0310.0510.09T:simon6496ctr
10.2810.3810.52T:rabbit
10.5010.5010.56T:simon64128ctr
12.9212.9413.00T:cryptmtv3
13.2213.3413.67tango642
13.4413.4713.58T:aes192ctr
14.1414.1714.27T:aes128estream
14.4514.6214.67T:simon128128ctr
14.7514.8414.95xsalsa20
15.0615.2815.45T:lexv2
16.2216.2216.55T:simon128256ctr
21.7821.8621.97T:aes256estream
22.03?22.17?44.94?T:nlsv2
22.2722.3322.45T:sosemanuk
47.0048.2849.81T:tpy6
73.7073.8174.00T:panama
105.62106.38106.44T:tpy
106.45106.66106.88T:tpypy
114.17117.08124.91T:ocelot1
118.38119.33123.16T:ocelot2
133.70136.44138.91T:amastrid
218.27219.31219.55T:hc128
557.05557.78558.12T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.6222.8823.25T:speck64128ctr
22.75?23.38?25.75?T:speck6496ctr
26.2526.6227.12T:speck128192ctr
26.7526.8828.00T:speck128128ctr
26.5027.0027.12T:speck128256ctr
27.6227.8828.75chacha8
35.7536.1236.75chacha12
36.6237.8838.75T:aes128ctr
42.0042.5044.75salsa208
45.5046.5048.62aes256ctr
49.0049.7552.00T:trivium
51.8852.1253.50salsa2012
52.0052.2553.12chacha20
54.0054.8854.88T:simon6496ctr
64.7564.7565.12T:simon64128ctr
63.6264.8867.38T:rabbit
65.0065.3865.75T:aes128estream
73.8874.6274.62salsa20
78.7579.1280.75T:snow20
83.6284.1284.38T:aes256estream
84.3884.8885.50T:cryptmtv3
91.2593.0095.88T:lexv2
93.0094.0095.00T:simon128128ctr
100.00100.50102.75tango642
103.62104.25105.62T:simon128256ctr
104.75105.25106.25T:aes192ctr
113.00?114.50?205.50?T:nlsv2
135.62137.50139.75xsalsa20
177.75178.75180.00T:sosemanuk
364.88372.38375.62T:tpy6
577.62578.88580.75T:panama
777.62788.50831.12T:ocelot2
803.50810.50817.00T:tpypy
800.38814.50844.12T:ocelot1
808.00819.50847.00T:tpy
879.88891.12906.75T:amastrid
1746.751749.121754.75T:hc128
4455.504461.624466.25T:hc256