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 (820f01); 2020 AMD Athlon Silver 3050e; 2 x 1400MHz; dali, supercop-20260217

[Page version: 20260405 18:03: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 (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.46T:aes128ctr
0.550.570.59T:aes192ctr
0.570.580.59aes256ctr
0.730.750.75tango642
0.930.940.96chacha8
1.231.231.24salsa208
1.271.301.31chacha12
1.761.771.77salsa2012
1.791.811.82T:speck6496ctr
1.801.811.82T:hc128
1.861.871.88T:speck64128ctr
1.981.992.00T:sosemanuk
1.981.992.00chacha20
2.082.092.10T:cryptmtv3
2.192.202.21T:speck128128ctr
2.252.262.27T:speck128192ctr
2.192.292.34T:tpy
2.312.312.31T:trivium
2.322.332.34T:speck128256ctr
2.302.352.36T:tpy6
2.522.532.54T:nlsv2
2.552.552.56T:simon6496ctr
2.542.562.57T:hc256
2.65?2.66?3.17?T:simon64128ctr
2.822.832.83salsa20
2.822.832.83xsalsa20
3.003.013.02T:rabbit
3.013.013.04T:panama
3.333.343.34T:snow20
3.543.693.78T:tpypy
3.833.843.85T:simon128128ctr
4.234.244.26T:lexv2
4.514.514.52T:simon128256ctr
9.129.189.42T:aes128estream
13.3313.3613.49T:aes256estream
18.5418.7018.93T:ocelot1
20.1920.3420.42T:ocelot2
32.26?33.24?35.90?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.470.470.48T:aes128ctr
0.610.610.62aes256ctr
0.900.900.90tango642
0.950.960.97chacha8
0.960.960.97T:aes192ctr
1.251.251.25salsa208
1.301.311.31chacha12
1.791.791.79salsa2012
1.851.851.86T:speck6496ctr
1.911.921.92T:speck64128ctr
2.002.002.01chacha20
2.252.252.26T:speck128128ctr
2.312.322.32T:speck128192ctr
2.382.392.39T:speck128256ctr
2.422.422.42T:trivium
2.592.592.60T:sosemanuk
2.632.642.64T:cryptmtv3
2.692.702.70T:nlsv2
2.792.792.80T:simon6496ctr
2.842.842.85salsa20
2.942.952.95xsalsa20
2.983.003.01T:tpy6
3.05?3.05?3.43?T:simon64128ctr
3.103.103.11T:rabbit
3.433.433.43T:snow20
3.783.833.85T:tpy
3.973.973.98T:panama
4.164.164.16T:simon128128ctr
4.384.384.39T:lexv2
4.894.894.90T:hc128
4.974.974.97T:simon128256ctr
5.185.275.31T:tpypy
9.259.259.43T:aes128estream
10.8810.8910.89T:hc256
13.4813.4813.57T:aes256estream
19.8419.8920.01T:ocelot1
21.4821.5221.54T:ocelot2
34.5634.6936.65T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.510.520.53T:aes128ctr
0.660.670.68aes256ctr
0.980.991.00chacha8
1.171.171.18tango642
1.281.291.29salsa208
1.331.341.44chacha12
1.611.631.66T:aes192ctr
1.811.821.83salsa2012
1.931.931.95T:speck6496ctr
1.981.992.01T:speck64128ctr
2.012.022.02chacha20
2.332.332.34T:speck128128ctr
2.402.412.42T:speck128192ctr
2.472.492.50T:speck128256ctr
2.602.602.61T:trivium
2.872.872.88salsa20
3.043.053.05T:nlsv2
3.143.143.15xsalsa20
3.183.193.21T:simon6496ctr
3.253.253.26T:rabbit
3.593.593.60T:snow20
3.623.633.64T:sosemanuk
3.713.713.72T:simon64128ctr
3.994.004.01T:cryptmtv3
4.104.114.12T:tpy6
4.604.614.63T:lexv2
4.684.694.70T:simon128128ctr
5.555.565.57T:panama
5.735.745.74T:simon128256ctr
6.306.366.44T:tpy
7.787.797.91T:tpypy
9.389.389.52T:aes128estream
10.0110.0110.02T:hc128
13.6813.7213.86T:aes256estream
21.7621.8822.35T:ocelot1
23.3223.4323.54T:ocelot2
24.7424.7424.76T:hc256
36.8837.2237.36T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.680.690.73T:aes128ctr
0.840.860.89aes256ctr
1.121.131.14chacha8
1.461.461.49salsa208
1.531.541.55chacha12
1.861.871.92tango642
2.042.042.04salsa2012
2.152.162.20T:speck6496ctr
2.232.232.25T:speck64128ctr
2.372.372.38chacha20
2.602.612.64T:speck128128ctr
2.712.722.73T:speck128192ctr
2.782.792.80T:speck128256ctr
3.053.053.10T:trivium
3.213.213.21salsa20
3.373.443.61T:aes192ctr
3.663.673.67T:rabbit
3.903.913.91xsalsa20
3.913.944.11T:nlsv2
3.974.004.02T:snow20
4.634.644.64T:cryptmtv3
4.824.854.91T:simon6496ctr
5.255.285.31T:lexv2
6.136.166.19T:simon64128ctr
6.366.386.40T:sosemanuk
7.147.157.18T:simon128128ctr
7.097.157.22T:tpy6
9.699.759.82T:aes128estream
9.789.809.82T:panama
10.3210.3310.34T:simon128256ctr
13.3313.4313.45T:tpy
14.1714.1914.21T:aes256estream
14.8014.8414.89T:tpypy
23.6823.7023.74T:hc128
26.8327.0027.59T:ocelot1
28.4828.6628.90T:ocelot2
44.1244.5044.72T:amastrid
61.7761.8061.86T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.18?2.34?2.51?T:aes128ctr
2.622.652.82chacha8
2.77?2.91?3.13?aes256ctr
3.26?3.49?3.88?salsa208
3.623.643.65chacha12
4.174.224.25salsa2012
4.834.855.24T:speck6496ctr
4.924.965.13T:speck64128ctr
5.395.395.42T:speck128192ctr
5.575.605.64T:speck128256ctr
5.635.645.67chacha20
5.855.885.93T:speck128128ctr
6.206.216.23salsa20
8.508.779.23T:rabbit
8.928.929.58T:trivium
9.029.039.06T:snow20
8.959.089.21T:simon6496ctr
9.8310.0710.36T:simon64128ctr
10.7810.7810.99tango642
11.6011.6811.69T:cryptmtv3
12.3012.3812.60xsalsa20
13.5913.6613.87T:aes128estream
13.7813.8313.86T:lexv2
13.8514.0014.47T:simon128128ctr
14.9415.0915.24T:simon128256ctr
16.5416.5816.97T:nlsv2
20.2720.6021.08T:aes256estream
25.5225.9026.35T:aes192ctr
36.8137.0637.33T:sosemanuk
46.0946.5347.23T:tpy6
63.3163.6563.97T:panama
91.9893.1394.14T:ocelot1
93.7694.5595.36T:ocelot2
103.10103.83104.25T:tpy
105.54105.73106.33T:tpypy
128.82131.57133.01T:amastrid
198.72198.75199.01T:hc128
534.99535.43535.72T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
16.1216.4417.07T:aes128ctr
19.75?19.86?22.19?T:speck64128ctr
20.6220.6222.18T:speck6496ctr
21.1221.1221.18aes256ctr
21.88?23.34?29.72?chacha8
23.67?24.95?27.07?T:speck128128ctr
29.9230.1131.35chacha12
30.23?32.66?35.28?T:speck128256ctr
29.91?33.04?35.91?T:speck128192ctr
40.4241.0842.90salsa208
44.2644.7545.35T:simon6496ctr
45.7145.9846.83chacha20
49.7051.4553.38salsa2012
52.2552.2553.35T:simon64128ctr
54.8855.0155.86T:trivium
54.1456.2859.09T:rabbit
59.5760.7561.38T:aes128estream
69.7569.7569.75T:simon128128ctr
71.0671.7074.24T:snow20
79.9180.4780.82T:aes256estream
80.7580.7581.39tango642
79.4981.5082.46T:cryptmtv3
81.3881.6783.53T:simon128256ctr
82.4584.0587.00T:lexv2
84.7985.1285.44salsa20
90.4090.9494.15T:nlsv2
136.36136.81137.49xsalsa20
211.73216.10222.46T:aes192ctr
297.30299.16302.77T:sosemanuk
354.61355.53357.81T:tpy6
500.43501.98505.65T:panama
602.04608.21613.06T:ocelot1
604.84608.26617.81T:ocelot2
812.68815.53820.47T:tpy
823.86826.78829.30T:tpypy
835.26847.70876.01T:amastrid
1587.861588.921589.44T:hc128
4280.234282.074283.79T:hc256