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

[Page version: 20260208 14:18:02]

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.290.300.31aes256ctr
0.330.350.36T:aes128ctr
0.39?0.41?0.46?T:aes192ctr
0.470.490.52tango642
0.530.540.55chacha8
0.610.630.64salsa208
0.750.770.78chacha12
0.870.890.91salsa2012
1.021.021.04T:speck6496ctr
1.051.061.07T:speck64128ctr
1.181.201.22chacha20
1.131.201.25T:tpy
1.241.251.26T:speck128128ctr
1.281.291.30T:speck128192ctr
1.321.321.33T:speck128256ctr
1.401.421.44salsa20
1.421.431.45xsalsa20
1.421.471.54T:hc128
1.38?1.54?1.60?T:nlsv2
1.55?1.63?1.74?T:tpy6
1.691.711.73T:simon6496ctr
1.731.751.78T:simon64128ctr
1.741.831.93T:tpypy
1.881.881.89T:trivium
1.811.952.01T:hc256
1.962.042.09T:snow20
2.042.092.12T:panama
2.062.142.19T:sosemanuk
2.022.152.20T:rabbit
2.322.342.36T:cryptmtv3
2.802.822.84T:simon128128ctr
2.872.902.96T:simon128256ctr
3.66?3.70?4.20?T:lexv2
7.337.357.37T:aes128estream
11.0511.0811.10T:aes256estream
14.1714.4314.73T:ocelot1
15.6815.8916.14T:ocelot2
26.3926.7727.89T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.340.340.35aes256ctr
0.380.380.38T:aes128ctr
0.550.550.56chacha8
0.620.620.63T:aes192ctr
0.620.630.65tango642
0.620.640.64salsa208
0.770.770.78chacha12
0.890.900.91salsa2012
1.041.051.05T:speck6496ctr
1.081.091.09T:speck64128ctr
1.201.211.21chacha20
1.281.281.29T:speck128128ctr
1.321.321.32T:speck128192ctr
1.351.361.36T:speck128256ctr
1.421.431.44salsa20
1.521.521.53xsalsa20
1.701.711.74T:nlsv2
1.911.911.92T:simon6496ctr
1.971.971.97T:trivium
2.062.072.08T:simon64128ctr
2.112.132.14T:snow20
2.122.212.23T:rabbit
2.202.252.29T:tpy6
2.272.302.32T:sosemanuk
2.642.662.67T:tpy
2.682.692.71T:panama
2.872.882.89T:cryptmtv3
3.053.053.06T:simon128128ctr
3.113.163.22T:tpypy
3.303.313.36T:simon128256ctr
3.773.804.17T:lexv2
4.144.164.20T:hc128
7.387.397.40T:aes128estream
8.608.628.64T:hc256
11.1511.1711.18T:aes256estream
15.8315.9416.05T:ocelot1
17.2517.3317.42T:ocelot2
27.5827.7827.93T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.40?0.41?0.45?aes256ctr
0.420.430.45T:aes128ctr
0.560.560.58chacha8
0.640.650.66salsa208
0.770.790.79chacha12
0.840.850.87tango642
0.900.910.93salsa2012
0.940.950.99T:aes192ctr
1.091.091.10T:speck6496ctr
1.121.131.14T:speck64128ctr
1.211.221.24chacha20
1.321.331.34T:speck128128ctr
1.361.371.38T:speck128192ctr
1.411.421.42T:speck128256ctr
1.431.441.46salsa20
1.661.671.69xsalsa20
2.052.062.15T:nlsv2
2.112.112.12T:trivium
2.212.212.23T:rabbit
2.242.252.26T:simon6496ctr
2.23?2.32?2.93?T:snow20
2.492.522.54T:sosemanuk
2.592.602.62T:simon64128ctr
3.163.223.30T:tpy6
3.403.443.47T:simon128128ctr
3.663.713.73T:panama
3.933.943.96T:lexv2
3.984.004.02T:simon128256ctr
4.094.114.13T:cryptmtv3
4.954.995.05T:tpy
5.405.425.45T:tpypy
7.437.457.47T:aes128estream
8.598.628.69T:hc128
11.2811.3011.33T:aes256estream
17.7118.2018.41T:ocelot1
18.3019.3519.77T:ocelot2
19.7719.8819.95T:hc256
27.0327.2227.53T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.570.590.61T:aes128ctr
0.670.680.69chacha8
0.70?0.71?0.78?aes256ctr
0.810.820.84salsa208
0.980.991.00chacha12
1.181.191.21salsa2012
1.231.241.25T:speck6496ctr
1.281.291.30T:speck64128ctr
1.431.461.55tango642
1.511.521.53T:speck128128ctr
1.561.571.58T:speck128192ctr
1.581.601.61chacha20
1.611.621.63T:speck128256ctr
1.811.881.94T:aes192ctr
1.911.921.94salsa20
2.492.502.51T:trivium
2.502.522.56xsalsa20
2.482.532.62T:rabbit
2.512.542.58T:snow20
2.822.903.06T:nlsv2
3.173.183.19T:simon64128ctr
3.593.643.78T:sosemanuk
3.683.703.72T:simon6496ctr
4.334.394.43T:lexv2
4.714.724.74T:cryptmtv3
4.824.844.85T:simon128128ctr
5.155.165.18T:simon128256ctr
5.876.056.14T:tpy6
6.296.386.43T:panama
7.617.647.68T:aes128estream
11.0311.2711.45T:tpy
11.1811.3711.64T:tpypy
11.6411.6711.73T:aes256estream
20.5020.6220.74T:hc128
24.0424.7025.18T:ocelot1
25.4725.6826.44T:ocelot2
32.99?35.24?36.75?T:amastrid
49.6650.2850.46T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.582.622.67T:speck6496ctr
2.622.772.89chacha8
2.732.802.94T:speck64128ctr
2.88?2.92?3.23?T:aes128ctr
3.113.193.30salsa208
3.313.393.52T:speck128128ctr
3.383.453.53T:speck128192ctr
3.503.593.66T:speck128256ctr
3.693.733.78chacha12
3.77?3.84?4.48?aes256ctr
4.254.334.56salsa2012
5.625.695.72chacha20
5.84?6.00?6.52?T:rabbit
6.556.626.73salsa20
6.566.727.28T:snow20
6.616.726.84T:simon6496ctr
7.287.347.41T:trivium
7.597.697.83T:simon64128ctr
8.038.208.78tango642
8.849.039.28T:cryptmtv3
9.489.589.70T:lexv2
9.759.819.91T:aes128estream
11.7011.7711.89xsalsa20
11.8311.9512.08T:simon128128ctr
13.0013.1413.25T:simon128256ctr
12.5213.3013.59T:aes192ctr
14.8014.9215.08T:nlsv2
15.0215.1415.23T:sosemanuk
16.3016.4416.70T:aes256estream
38.62?39.03?54.41?T:tpy6
39.9240.7241.52T:panama
84.7784.9885.36T:tpypy
88.9490.4292.22T:tpy
101.70106.45109.14T:amastrid
104.55107.94110.36T:ocelot2
105.72108.55112.23T:ocelot1
173.30173.70174.69T:hc128
428.36429.64435.36T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.7514.1214.75T:speck6496ctr
13.8814.3815.12T:speck64128ctr
17.2517.6218.12T:speck128192ctr
17.6218.0018.50T:speck128256ctr
19.5020.2520.88T:speck128128ctr
23.7524.1224.75T:aes128ctr
25.5026.3827.38salsa208
30.8831.6232.25aes256ctr
32.2532.7533.62chacha8
32.6233.3834.25salsa2012
35.25?36.75?39.38?T:rabbit
38.1238.6239.25T:aes128estream
39.3839.8840.50T:simon6496ctr
41.5042.1242.50chacha12
44.8845.5046.12T:trivium
46.8847.5048.25T:simon64128ctr
50.6251.3852.75T:cryptmtv3
51.3852.6255.25T:snow20
51.8852.6253.25T:lexv2
61.6262.3862.88chacha20
64.6265.2566.00T:aes256estream
62.12?67.88?71.50?tango642
70.3871.2572.25T:simon128128ctr
75.3876.0076.88salsa20
78.2578.8879.62T:simon128256ctr
79.1281.1282.88T:nlsv2
105.75107.88112.00T:aes192ctr
115.12116.50117.12xsalsa20
120.62121.38122.25T:sosemanuk
305.00308.50314.88T:tpy6
310.88315.62321.25T:panama
682.50686.38699.75T:tpypy
697.50722.88749.25T:amastrid
720.12726.25737.62T:tpy
720.62741.62773.62T:ocelot1
737.62762.50781.88T:ocelot2
1382.251385.881393.50T:hc128
3432.003440.003484.25T:hc256