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; Redwood Cove (a06a4-40); 2023 Intel Core Ultra 5 125H, P cores; 4 x 1200MHz; meteor,big, supercop-20260330

[Page version: 20260415 05:37:17]

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 (or StQ1 starting with supercop-20260214), the median of many speed measurements (or StQ2 starting with supercop-20260214), the third quartile of many speed measurements (or StQ3 starting with supercop-20260214), and the name of the primitive. Measurements with large interquartile range (or stabilized interquartile range) 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.23?0.28?0.31?aes256ctr
0.340.350.36T:aes128ctr
0.41?0.46?0.49?T:aes192ctr
0.480.500.53tango642
0.530.540.55chacha8
0.610.620.64salsa208
0.750.760.78chacha12
0.890.900.92salsa2012
1.011.021.04T:speck6496ctr
1.051.071.10T:speck64128ctr
1.171.191.21chacha20
1.161.221.26T:tpy
1.241.251.26T:speck128128ctr
1.281.291.30T:speck128192ctr
1.261.321.40T:hc128
1.321.321.34T:speck128256ctr
1.391.411.43xsalsa20
1.401.421.44salsa20
1.411.421.44T:simon6496ctr
1.31?1.47?1.64?T:tpy6
1.471.491.51T:simon64128ctr
1.561.601.61T:nlsv2
1.46?1.63?1.76?T:hc256
1.781.841.90T:tpypy
1.881.881.89T:trivium
1.952.022.07T:snow20
2.012.032.04T:rabbit
1.89?2.08?2.13?T:panama
2.082.112.15T:sosemanuk
2.322.332.35T:cryptmtv3
2.792.812.83T:simon128128ctr
2.852.882.91T:simon128256ctr
3.643.673.70T:lexv2
7.337.367.39T:aes128estream
11.0511.0811.11T:aes256estream
13.9814.2814.58T:ocelot1
15.34?16.77?17.68?T:ocelot2
26.0326.8427.47T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.30?0.33?0.35?aes256ctr
0.380.380.38T:aes128ctr
0.540.550.55chacha8
0.620.630.65tango642
0.620.630.64salsa208
0.620.640.65T:aes192ctr
0.760.770.78chacha12
0.900.910.92salsa2012
1.041.051.06T:speck6496ctr
1.091.101.11T:speck64128ctr
1.191.201.21chacha20
1.271.281.28T:speck128128ctr
1.321.321.33T:speck128192ctr
1.351.361.36T:speck128256ctr
1.421.431.44salsa20
1.501.511.52xsalsa20
1.611.621.63T:simon6496ctr
1.711.741.74T:nlsv2
1.771.781.79T:simon64128ctr
1.961.971.97T:trivium
2.092.102.10T:rabbit
2.112.122.13T:snow20
2.042.142.24T:tpy6
2.302.312.32T:sosemanuk
2.592.612.63T:tpy
2.692.702.72T:panama
2.872.872.88T:cryptmtv3
3.053.053.06T:simon128128ctr
3.123.153.17T:tpypy
3.293.313.32T:simon128256ctr
3.743.753.77T:lexv2
3.753.783.82T:hc128
7.397.407.41T:aes128estream
8.318.398.42T:hc256
11.1411.1611.17T:aes256estream
15.6015.7415.88T:ocelot1
16.6217.5018.01T:ocelot2
27.1827.6027.88T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.38?0.41?0.43?aes256ctr
0.410.420.44T:aes128ctr
0.550.560.56chacha8
0.630.640.66salsa208
0.770.780.80chacha12
0.840.850.87tango642
0.900.910.92salsa2012
0.920.950.99T:aes192ctr
1.081.091.10T:speck6496ctr
1.121.141.17T:speck64128ctr
1.211.221.23chacha20
1.321.331.37T:speck128128ctr
1.361.371.38T:speck128192ctr
1.401.411.43T:speck128256ctr
1.431.451.46salsa20
1.661.681.71xsalsa20
1.921.941.96T:simon6496ctr
2.042.052.07T:nlsv2
2.112.112.12T:trivium
2.222.242.33T:snow20
2.252.262.27T:simon64128ctr
2.252.332.35T:rabbit
2.682.712.74T:sosemanuk
3.183.263.33T:tpy6
3.413.443.46T:simon128128ctr
3.653.683.72T:panama
3.873.903.93T:lexv2
4.014.044.09T:simon128256ctr
4.084.084.10T:cryptmtv3
4.935.085.18T:tpy
5.395.455.54T:tpypy
7.447.457.47T:aes128estream
7.837.867.91T:hc128
11.2711.2911.35T:aes256estream
17.8518.0818.33T:ocelot1
17.8218.1218.66T:ocelot2
19.4519.7019.89T:hc256
27.9928.3428.87T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.57?0.58?0.67?T:aes128ctr
0.660.670.68chacha8
0.67?0.70?0.78?aes256ctr
0.800.810.83salsa208
0.970.980.99chacha12
1.171.181.20salsa2012
1.231.241.26T:speck6496ctr
1.281.301.37T:speck64128ctr
1.411.431.51tango642
1.511.521.55T:speck128128ctr
1.551.561.57T:speck128192ctr
1.581.601.61chacha20
1.601.611.62T:speck128256ctr
1.771.831.93T:aes192ctr
1.901.931.95salsa20
2.472.482.48T:trivium
2.492.512.57T:rabbit
2.492.532.56xsalsa20
2.482.542.75T:snow20
2.832.883.05T:nlsv2
3.153.163.20T:simon64128ctr
3.313.363.43T:simon6496ctr
3.543.653.72T:sosemanuk
4.274.304.38T:lexv2
4.704.734.77T:cryptmtv3
4.814.824.84T:simon128128ctr
5.155.165.19T:simon128256ctr
6.036.096.18T:tpy6
6.236.316.44T:panama
7.607.627.64T:aes128estream
10.3510.6711.10T:tpypy
11.6211.6711.81T:aes256estream
11.5511.7711.95T:tpy
18.6618.7618.92T:hc128
21.9822.6223.69T:ocelot2
24.0324.4624.82T:ocelot1
32.6333.3534.08T:amastrid
49.2749.6649.78T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.502.532.62T:speck6496ctr
2.622.662.70chacha8
2.632.692.90T:speck64128ctr
2.86?2.97?3.33?T:aes128ctr
3.043.103.18salsa208
3.263.333.44T:speck128128ctr
3.303.383.45T:speck128192ctr
3.413.463.56T:speck128256ctr
3.643.703.77chacha12
4.294.364.43salsa2012
4.05?4.50?4.93?aes256ctr
5.645.705.75chacha20
5.695.916.26T:rabbit
6.516.586.64salsa20
6.456.606.81T:snow20
6.506.717.21T:simon6496ctr
7.277.337.40T:trivium
7.527.617.84T:simon64128ctr
8.148.328.71tango642
8.808.969.04T:cryptmtv3
9.099.189.27T:lexv2
9.589.709.91T:aes128estream
11.6911.7912.40xsalsa20
11.7811.8812.05T:simon128128ctr
12.38?12.59?13.79?T:aes192ctr
12.8712.9713.13T:simon128256ctr
14.7314.8414.99T:nlsv2
15.0615.2215.34T:sosemanuk
16.1616.3516.61T:aes256estream
39.0539.9241.14T:tpy6
39.0440.0241.02T:panama
69.63?73.50?77.41?T:ocelot2
78.22?80.38?88.20?T:tpypy
90.5892.9496.50T:tpy
101.26105.54109.27T:ocelot1
101.17105.85110.69T:amastrid
158.29159.04160.02T:hc128
428.84434.38435.48T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.9514.2414.92T:speck6496ctr
16.3016.9317.57T:speck128192ctr
16.71?17.41?18.58?T:speck128256ctr
16.8117.6518.47T:speck128128ctr
19.5920.1521.05T:speck64128ctr
24.8125.6026.81salsa208
30.7531.1531.58chacha8
33.3434.4135.71salsa2012
34.9335.5936.48T:aes128estream
34.85?36.81?39.08?T:rabbit
35.19?38.06?99.67?aes256ctr
38.4839.2240.21T:simon6496ctr
41.8842.6943.74chacha12
43.4344.1045.76T:trivium
46.6847.0147.50T:simon64128ctr
50.0150.6851.27T:cryptmtv3
50.1950.7651.40T:lexv2
50.5351.4252.83T:snow20
60.7061.7666.88tango642
61.1761.8462.96chacha20
63.7464.3165.06T:aes256estream
30.98?66.56?68.11?T:aes128ctr
69.7470.4671.88T:simon128128ctr
75.5976.3477.27salsa20
78.1678.7979.57T:simon128256ctr
78.9080.7284.95T:nlsv2
103.20106.31111.54T:aes192ctr
114.99115.66116.55xsalsa20
120.71122.40124.41T:sosemanuk
308.82313.82320.94T:panama
303.97314.60322.01T:tpy6
427.67?453.03?486.83?T:ocelot2
660.15673.34681.62T:tpypy
670.75706.34731.11T:amastrid
709.45727.14738.99T:tpy
702.03739.68770.82T:ocelot1
1262.951269.801276.67T:hc128
3437.983473.773481.49T:hc256