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; Gracemont (b06a2-20); 2024 Intel Core 5 210H, E cores; 4 x 1600MHz; freshwrap,little, supercop-20260330

[Page version: 20260503 04:13: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 (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.59?0.65?0.76?T:aes128ctr
0.750.800.82T:aes192ctr
0.800.810.81aes256ctr
0.960.970.99tango642
1.271.291.31chacha8
1.571.581.60salsa208
1.771.791.83chacha12
1.75?2.03?2.09?T:tpy
2.252.272.29salsa2012
1.78?2.30?2.46?T:hc128
2.152.312.38T:tpy6
2.392.442.52T:nlsv2
2.17?2.53?2.88?T:hc256
2.742.762.82T:speck6496ctr
2.772.782.81chacha20
2.792.812.95T:snow20
2.852.872.89T:speck64128ctr
2.942.973.25T:panama
2.832.993.14T:tpypy
3.053.073.09T:cryptmtv3
3.183.203.22T:sosemanuk
3.333.343.36T:speck128128ctr
3.433.443.47T:speck128192ctr
3.533.543.57T:speck128256ctr
3.573.623.65xsalsa20
3.583.633.66salsa20
3.743.773.85T:rabbit
3.953.973.99T:simon6496ctr
4.134.154.17T:simon64128ctr
5.045.075.09T:lexv2
5.925.945.96T:simon128128ctr
6.246.266.29T:simon128256ctr
10.3010.3210.35T:aes128estream
15.3015.8415.88T:aes256estream
21.4221.8522.15T:ocelot1
25.2225.4825.68T:ocelot2
31.4231.6931.77T:trivium
37.1637.6138.68T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.65?0.68?0.75?T:aes128ctr
0.830.830.84aes256ctr
1.131.141.15T:aes192ctr
1.171.171.18tango642
1.301.311.32chacha8
1.601.611.62salsa208
1.801.811.83chacha12
2.282.292.30salsa2012
2.542.562.62T:nlsv2
2.792.802.82chacha20
2.792.802.85T:speck6496ctr
2.912.912.93T:speck64128ctr
2.912.923.00T:snow20
2.983.033.07T:tpy6
3.403.413.42T:speck128128ctr
3.493.503.51T:sosemanuk
3.503.513.53T:speck128192ctr
3.493.523.54T:tpy
3.613.623.64T:speck128256ctr
3.623.643.66salsa20
3.733.763.78xsalsa20
3.823.833.84T:cryptmtv3
3.853.873.93T:rabbit
3.883.904.10T:panama
4.174.174.18T:simon6496ctr
4.404.414.42T:simon64128ctr
4.484.554.64T:tpypy
5.215.225.23T:lexv2
5.215.595.63T:hc128
6.206.216.22T:simon128128ctr
6.676.686.69T:simon128256ctr
10.3810.3910.40T:aes128estream
10.9811.1311.14T:hc256
15.4215.8115.84T:aes256estream
22.8623.1623.36T:ocelot1
27.0127.1527.24T:ocelot2
32.8032.9032.93T:trivium
39.0439.3239.98T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.68?0.71?0.78?T:aes128ctr
0.870.870.89aes256ctr
1.311.321.34chacha8
1.461.471.50tango642
1.621.651.66salsa208
1.691.711.74T:aes192ctr
1.821.831.85chacha12
2.312.332.36salsa2012
2.762.782.79T:nlsv2
2.812.832.83chacha20
2.872.872.89T:speck6496ctr
2.982.993.02T:speck64128ctr
3.013.093.17T:snow20
3.523.523.54T:speck128128ctr
3.613.623.62T:speck128192ctr
3.683.693.71salsa20
3.733.733.76T:speck128256ctr
3.994.014.05xsalsa20
4.014.044.06T:rabbit
3.83?4.07?4.30?T:tpy6
4.054.084.09T:sosemanuk
4.484.494.52T:simon6496ctr
4.834.854.86T:simon64128ctr
5.435.455.47T:panama
5.485.495.51T:lexv2
5.795.805.82T:cryptmtv3
5.886.026.38T:tpy
6.676.686.70T:simon128128ctr
7.247.327.40T:tpypy
7.367.387.40T:simon128256ctr
10.5110.5210.54T:aes128estream
10.6410.8310.86T:hc128
15.4915.5315.98T:aes256estream
24.7525.0425.57T:ocelot1
25.0225.6725.75T:hc256
29.7729.8830.03T:ocelot2
34.7435.1035.20T:trivium
40.2040.3942.24T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.86?0.89?0.97?T:aes128ctr
1.251.251.32aes256ctr
1.481.501.53chacha8
1.941.952.00salsa208
2.082.102.11chacha12
2.472.492.53tango642
2.722.762.78salsa2012
3.133.153.17T:speck6496ctr
3.183.203.25T:aes192ctr
3.243.263.30T:speck64128ctr
3.253.263.29chacha20
3.413.473.55T:snow20
3.583.653.76T:nlsv2
3.853.873.90T:speck128128ctr
3.963.984.01T:speck128192ctr
4.084.104.16T:speck128256ctr
4.274.294.31salsa20
4.454.494.54T:rabbit
5.075.115.17xsalsa20
5.535.575.59T:sosemanuk
6.076.106.15T:simon6496ctr
6.196.216.24T:lexv2
6.676.686.69T:cryptmtv3
6.906.916.94T:simon64128ctr
7.347.767.97T:tpy6
9.189.219.32T:simon128128ctr
9.549.579.62T:panama
10.8110.8410.88T:aes128estream
12.8312.8612.91T:simon128256ctr
12.6212.9113.01T:tpy
14.3514.4714.72T:tpypy
16.0416.0916.14T:aes256estream
25.7026.1626.25T:hc128
31.4931.7332.13T:ocelot1
36.7737.0637.52T:ocelot2
39.9140.1440.23T:trivium
48.1349.2650.18T:amastrid
61.9763.6964.34T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.822.852.95T:aes128ctr
3.323.373.44chacha8
4.224.274.32salsa208
4.594.644.72chacha12
4.884.915.29aes256ctr
5.495.605.78T:speck6496ctr
5.625.726.13T:speck64128ctr
5.855.966.15salsa2012
7.157.217.28chacha20
8.098.278.47T:speck128128ctr
8.408.538.72T:speck128192ctr
8.598.658.68T:snow20
8.598.748.95salsa20
8.908.979.09T:speck128256ctr
9.8210.0210.41T:rabbit
11.5411.6511.98T:simon6496ctr
12.8212.8813.15T:simon64128ctr
14.9015.0015.18tango642
14.8915.0215.10T:aes128estream
15.7115.8015.92T:lexv2
16.50?16.64?19.00?T:nlsv2
16.6916.7616.88xsalsa20
16.9317.0017.07T:cryptmtv3
19.0019.1319.45T:simon128128ctr
21.0621.2021.43T:simon128256ctr
22.4122.5222.62T:sosemanuk
22.3322.5623.60T:aes192ctr
22.6923.0123.45T:aes256estream
47.2547.7448.76T:tpy6
62.0262.1662.38T:panama
99.76100.44102.30T:tpy
104.19105.42110.15T:tpypy
105.26105.49105.79T:trivium
127.36129.64130.90T:ocelot1
134.62135.54136.41T:ocelot2
140.39142.26144.84T:amastrid
215.62216.38217.23T:hc128
534.13535.78537.65T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.9023.1523.47T:aes128ctr
24.73?25.35?28.61?T:speck6496ctr
29.4629.8130.27chacha8
29.76?32.74?34.21?T:speck64128ctr
33.0033.5034.02T:speck128192ctr
34.3634.9337.35T:speck128256ctr
34.89?35.36?39.42?T:speck128128ctr
39.4139.8540.18chacha12
39.67?40.01?46.08?aes256ctr
53.3654.0255.90T:simon6496ctr
57.5858.2458.80salsa208
59.2660.3462.10T:rabbit
59.6160.4061.20chacha20
62.9263.7264.80T:simon64128ctr
63.4563.7764.40T:aes128estream
67.2467.5568.07T:snow20
68.0369.7072.15salsa2012
89.7990.7294.51T:lexv2
88.26?92.45?106.17?T:nlsv2
91.7193.0697.70T:aes256estream
93.0393.9395.64salsa20
94.90100.36102.61T:simon128128ctr
107.02107.54108.55T:simon128256ctr
108.53108.97109.59T:cryptmtv3
114.22114.88116.16tango642
154.79155.80156.52xsalsa20
179.26181.02184.50T:sosemanuk
180.68185.33188.26T:aes192ctr
368.73372.16375.61T:tpy6
482.54484.30487.17T:panama
612.43617.40623.35T:trivium
777.06?782.98?891.08?T:tpy
822.77829.66849.71T:tpypy
871.02889.19913.46T:ocelot2
872.84900.83915.29T:ocelot1
922.79931.97982.24T:amastrid
1726.111730.521735.66T:hc128
4264.584274.504280.72T:hc256