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; Zen 2 (860f01); 2022 AMD Ryzen 5 4500U; 6 x 3600MHz; renoir, supercop-20260217

[Page version: 20260315 18:26:26]

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.440.450.45T:aes128ctr
0.520.530.53chacha8
0.52?0.58?0.60?T:aes192ctr
0.590.600.60aes256ctr
0.640.640.64salsa208
0.660.670.67tango642
0.720.720.73chacha12
0.900.910.93T:speck6496ctr
0.910.910.92salsa2012
0.940.940.96T:speck64128ctr
1.101.111.11chacha20
1.091.111.12T:speck128128ctr
1.111.131.14T:speck128192ctr
1.151.171.18T:speck128256ctr
1.441.451.45xsalsa20
1.441.451.46salsa20
1.461.461.46T:simon6496ctr
1.511.521.52T:simon64128ctr
1.551.561.56T:hc128
1.961.982.00T:simon128128ctr
1.972.042.14T:tpy
2.042.082.10T:cryptmtv3
2.092.112.13T:simon128256ctr
2.162.172.17T:sosemanuk
2.242.252.28T:hc256
2.232.282.32T:tpy6
2.312.322.34T:trivium
2.492.502.52T:nlsv2
2.572.582.58T:panama
2.692.702.71T:snow20
2.832.852.85T:rabbit
3.363.423.54T:tpypy
4.164.174.18T:lexv2
8.999.029.11T:aes128estream
12.7412.7612.80T:aes256estream
17.3417.5217.65T:ocelot1
18.7618.8818.97T:ocelot2
29.4730.4531.17T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.460.460.46T:aes128ctr
0.540.540.54chacha8
0.620.620.62aes256ctr
0.650.650.65salsa208
0.730.730.74chacha12
0.810.810.81tango642
0.930.930.94salsa2012
0.950.950.96T:speck6496ctr
0.950.960.96T:aes192ctr
0.990.991.00T:speck64128ctr
1.121.121.13chacha20
1.151.151.17T:speck128128ctr
1.181.181.19T:speck128192ctr
1.221.221.23T:speck128256ctr
1.461.461.47salsa20
1.561.571.57xsalsa20
1.721.721.72T:simon6496ctr
1.951.951.95T:simon64128ctr
2.272.282.28T:simon128128ctr
2.422.422.43T:trivium
2.432.442.44T:sosemanuk
2.562.572.58T:simon128256ctr
2.572.592.59T:cryptmtv3
2.662.662.67T:nlsv2
2.792.792.80T:snow20
2.922.922.93T:rabbit
2.922.932.95T:tpy6
3.393.393.39T:panama
3.563.603.67T:tpy
4.304.304.31T:lexv2
4.534.534.53T:hc128
4.964.995.06T:tpypy
9.079.079.14T:aes128estream
10.3910.3910.40T:hc256
12.8412.8512.87T:aes256estream
18.4118.5218.58T:ocelot1
19.8519.9119.95T:ocelot2
31.4432.0232.49T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.490.490.49T:aes128ctr
0.560.560.56chacha8
0.650.660.66aes256ctr
0.670.680.68salsa208
0.750.750.75chacha12
0.950.950.96salsa2012
1.011.011.04T:speck6496ctr
1.041.041.08T:speck64128ctr
1.051.051.06tango642
1.141.151.15chacha20
1.231.231.24T:speck128128ctr
1.271.271.28T:speck128192ctr
1.291.301.31T:speck128256ctr
1.481.491.49salsa20
1.531.551.57T:aes192ctr
1.751.761.77xsalsa20
2.152.152.16T:simon6496ctr
2.602.602.63T:trivium
2.662.672.68T:simon64128ctr
2.772.772.78T:simon128128ctr
2.932.942.94T:sosemanuk
2.952.952.96T:snow20
3.003.023.03T:nlsv2
3.053.053.06T:rabbit
3.333.353.36T:simon128256ctr
3.853.863.92T:cryptmtv3
4.024.064.08T:tpy6
4.524.534.53T:lexv2
4.744.754.76T:panama
6.046.126.18T:tpy
7.577.647.71T:tpypy
9.009.049.10T:aes128estream
9.479.489.49T:hc128
12.9712.9913.01T:aes256estream
20.2020.2720.38T:ocelot1
21.5421.6921.87T:ocelot2
23.9223.9623.97T:hc256
35.0935.2735.57T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.610.620.65T:aes128ctr
0.770.770.77chacha8
0.820.830.88aes256ctr
0.880.890.90salsa208
1.041.041.05chacha12
1.231.231.25T:speck6496ctr
1.241.251.25salsa2012
1.261.271.29T:speck64128ctr
1.531.531.55T:speck128128ctr
1.561.561.61T:speck128192ctr
1.571.601.63T:speck128256ctr
1.631.631.64chacha20
1.721.721.76tango642
1.941.951.95salsa20
2.642.652.67xsalsa20
3.033.033.08T:trivium
3.183.223.28T:aes192ctr
3.343.373.38T:snow20
3.403.403.42T:rabbit
3.473.473.48T:simon64128ctr
3.803.823.84T:nlsv2
3.903.903.92T:simon6496ctr
4.244.264.27T:sosemanuk
4.384.384.48T:cryptmtv3
5.155.175.20T:lexv2
5.195.205.24T:simon128128ctr
5.595.595.59T:simon128256ctr
6.766.957.12T:tpy6
8.358.378.39T:panama
9.319.329.35T:aes128estream
12.9813.0013.10T:tpy
13.3113.3413.37T:aes256estream
14.4014.4414.63T:tpypy
22.6922.7122.73T:hc128
24.7824.9025.05T:ocelot1
26.2226.3526.51T:ocelot2
40.8841.1141.49T:amastrid
60.0760.1060.13T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.992.022.05T:aes128ctr
2.722.722.75chacha8
2.752.792.93aes256ctr
3.113.143.16salsa208
3.303.303.37T:speck6496ctr
3.483.483.48T:speck64128ctr
3.643.703.73chacha12
4.124.134.24T:speck128192ctr
4.104.134.17salsa2012
4.194.194.19T:speck128128ctr
4.264.294.39T:speck128256ctr
5.745.805.86chacha20
6.136.146.14salsa20
7.507.517.68T:simon6496ctr
7.667.667.79T:rabbit
7.948.018.16T:snow20
8.678.698.74T:simon64128ctr
8.808.829.55T:trivium
9.219.2510.19T:cryptmtv3
10.2810.2810.36tango642
12.5412.6012.74xsalsa20
12.6712.6812.84T:simon128128ctr
12.7312.9113.17T:lexv2
13.0313.1313.16T:aes128estream
14.2414.2514.27T:simon128256ctr
16.7316.9017.08T:nlsv2
18.0718.1818.40T:aes256estream
18.6118.6318.73T:sosemanuk
24.1724.4424.69T:aes192ctr
44.1444.3945.18T:tpy6
53.8454.0154.20T:panama
82.9583.4284.29T:ocelot1
84.8085.9086.97T:ocelot2
100.29100.58100.97T:tpy
103.88104.22105.19T:tpypy
116.59117.98119.95T:amastrid
191.80191.96192.17T:hc128
521.95522.30522.52T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
16.39?16.98?18.89?T:aes128ctr
19.62?19.62?22.58?T:speck6496ctr
20.2520.2521.24T:speck64128ctr
22.38?22.38?24.88?aes256ctr
22.5022.7323.36chacha8
23.3823.3825.03T:speck128128ctr
27.35?28.85?30.48?T:speck128256ctr
28.02?30.44?31.77?T:speck128192ctr
30.2230.5030.90chacha12
38.9640.1440.38salsa208
42.9943.6243.91T:simon6496ctr
46.0046.0048.23T:rabbit
46.0046.0647.32salsa2012
46.7947.2547.92chacha20
50.8051.7052.12T:simon64128ctr
57.52?58.10?65.88?T:cryptmtv3
54.08?58.14?61.95?T:trivium
58.6258.9759.32T:aes128estream
63.2563.7065.33T:snow20
67.6667.7567.80T:aes256estream
70.2572.8873.74T:simon128128ctr
73.8874.3875.59salsa20
77.0077.0078.92T:simon128256ctr
78.6278.6279.62tango642
78.3678.9779.50T:lexv2
87.5288.2389.05T:nlsv2
125.96128.05130.62xsalsa20
151.88152.88152.88T:sosemanuk
194.95196.34197.60T:aes192ctr
346.99350.38357.80T:tpy6
425.66427.25429.58T:panama
535.17539.97549.09T:ocelot2
535.59542.41549.92T:ocelot1
771.07788.16801.38T:amastrid
788.44791.88794.53T:tpy
811.96813.46815.70T:tpypy
1535.701536.511537.03T:hc128
4172.364174.414177.18T:hc256