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; Crestmont (a06a4-20); 2023 Intel Core Ultra 5 125H, E cores; 8 x 700MHz; meteor,little, supercop-20260330

[Page version: 20260413 04:19:53]

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.470.470.48T:aes128ctr
0.570.570.57aes256ctr
0.690.700.71tango642
0.65?0.73?0.81?T:aes192ctr
0.910.920.93chacha8
1.111.121.14salsa208
1.20?1.22?1.54?T:hc128
1.261.281.30chacha12
1.29?1.36?1.44?T:tpy
1.581.591.62salsa2012
1.44?1.66?1.77?T:hc256
1.681.761.82T:tpy6
1.71?1.86?1.95?T:nlsv2
1.971.981.98T:speck6496ctr
1.961.992.01chacha20
1.931.992.10T:tpypy
1.992.012.03T:snow20
2.042.042.05T:speck64128ctr
2.162.172.18T:cryptmtv3
2.242.292.30T:sosemanuk
2.402.412.42T:speck128128ctr
2.472.482.49T:speck128192ctr
2.542.552.56T:speck128256ctr
2.532.552.56salsa20
2.542.562.58xsalsa20
2.762.772.78T:simon6496ctr
2.672.782.82T:rabbit
2.862.882.89T:simon64128ctr
3.573.593.60T:lexv2
3.603.633.79T:panama
7.387.407.42T:aes128estream
7.517.547.56T:simon128128ctr
8.208.248.75T:simon128256ctr
10.8611.0611.09T:aes256estream
23.27?23.87?26.33?T:ocelot1
24.7224.8324.96T:trivium
26.1726.4128.13T:ocelot2
40.6342.7543.34T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.500.500.50T:aes128ctr
0.590.590.59aes256ctr
0.840.850.85tango642
0.920.920.93chacha8
1.131.141.14salsa208
1.281.291.30chacha12
1.411.431.48T:aes192ctr
1.601.601.62salsa2012
1.851.951.99T:nlsv2
1.982.002.01chacha20
2.002.012.01T:speck6496ctr
2.072.082.08T:speck64128ctr
2.062.082.09T:snow20
2.232.272.30T:tpy6
2.442.452.46T:speck128128ctr
2.472.502.51T:sosemanuk
2.522.522.53T:speck128192ctr
2.562.572.57salsa20
2.592.602.60T:speck128256ctr
2.612.642.66T:tpy
2.662.662.67xsalsa20
2.672.682.68T:cryptmtv3
2.782.852.86T:rabbit
2.892.892.90T:simon6496ctr
3.063.063.07T:simon64128ctr
3.063.083.10T:tpypy
3.703.703.71T:lexv2
3.853.863.86T:hc128
4.704.714.83T:panama
7.447.457.46T:aes128estream
7.647.697.75T:hc256
8.178.188.20T:simon128128ctr
9.179.189.56T:simon128256ctr
10.9611.1011.12T:aes256estream
25.4225.6427.36T:ocelot1
25.6525.7225.79T:trivium
27.8127.9229.14T:ocelot2
43.7645.0045.25T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.530.530.54T:aes128ctr
0.610.610.62aes256ctr
0.930.940.95chacha8
1.071.071.08tango642
1.151.161.18salsa208
1.291.301.31chacha12
1.611.621.64salsa2012
2.002.012.02chacha20
2.052.052.05T:speck6496ctr
2.122.132.13T:speck64128ctr
2.022.132.22T:nlsv2
2.142.192.22T:snow20
2.522.522.53T:speck128128ctr
2.562.592.60salsa20
2.572.602.70T:aes192ctr
2.602.602.61T:speck128192ctr
2.682.682.68T:speck128256ctr
2.822.842.87xsalsa20
2.912.922.93T:sosemanuk
2.872.932.95T:rabbit
3.093.103.12T:simon6496ctr
3.113.173.37T:tpy6
3.383.413.45T:simon64128ctr
3.903.913.93T:lexv2
3.953.953.96T:cryptmtv3
4.714.774.82T:tpy
4.764.875.07T:tpypy
6.486.506.53T:panama
7.517.537.55T:aes128estream
8.328.428.46T:hc128
9.239.259.27T:simon128128ctr
10.7410.7610.80T:simon128256ctr
11.0911.1011.13T:aes256estream
17.8218.1118.28T:hc256
27.2227.3027.39T:trivium
27.9828.1329.94T:ocelot1
30.1530.2930.47T:ocelot2
47.2648.2348.84T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.61?0.65?0.72?T:aes128ctr
0.860.860.87aes256ctr
1.051.061.07chacha8
1.301.311.34salsa208
1.471.491.51chacha12
1.751.771.79tango642
1.841.851.89salsa2012
2.242.252.26T:speck6496ctr
2.302.312.32T:speck64128ctr
2.312.332.34chacha20
2.392.412.44T:snow20
2.772.782.80T:speck128128ctr
2.712.852.89T:nlsv2
2.852.862.86T:speck128192ctr
2.952.962.96T:speck128256ctr
2.952.983.01salsa20
3.203.223.32T:rabbit
3.623.643.67xsalsa20
4.064.084.10T:sosemanuk
4.224.234.25T:simon6496ctr
4.394.404.43T:lexv2
4.614.624.64T:cryptmtv3
4.824.844.88T:simon64128ctr
5.455.515.59T:tpy6
5.615.845.99T:aes192ctr
7.717.747.77T:aes128estream
10.1410.2210.41T:tpy
9.7110.4410.57T:tpypy
11.2811.3811.77T:panama
11.5211.5411.58T:aes256estream
14.6914.7314.81T:simon128128ctr
16.1516.2216.31T:simon128256ctr
18.39?20.41?20.46?T:hc128
31.3431.3631.41T:trivium
34.9335.4437.29T:ocelot1
37.4937.8538.30T:ocelot2
44.2444.5945.46T:hc256
57.1057.3457.73T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
1.88?2.12?2.15?T:aes128ctr
2.342.392.43chacha8
2.912.973.01salsa208
3.303.303.41aes256ctr
3.253.323.37chacha12
3.793.914.01T:speck6496ctr
3.823.954.05T:speck64128ctr
4.064.074.11salsa2012
5.095.175.24chacha20
5.715.815.97T:speck128128ctr
5.785.855.92T:snow20
6.076.086.13T:speck128192ctr
6.366.416.41salsa20
6.366.436.47T:speck128256ctr
6.997.097.20T:rabbit
8.038.128.25T:simon6496ctr
9.029.169.32T:simon64128ctr
10.4410.5510.67T:aes128estream
10.5310.7010.99tango642
10.6610.9911.16T:lexv2
11.5811.7511.80T:cryptmtv3
12.0112.0812.21xsalsa20
12.41?14.09?14.93?T:nlsv2
16.0116.1216.20T:sosemanuk
17.4117.6017.73T:aes256estream
24.1224.6425.13T:simon128128ctr
28.7629.3429.90T:simon128256ctr
34.4434.9535.56T:tpy6
44.6646.0148.88T:aes192ctr
73.4774.0976.00T:panama
76.38?76.95?85.38?T:tpypy
80.6880.8881.28T:tpy
82.2382.4582.65T:trivium
127.43128.92130.92T:ocelot1
124.86130.26133.09T:ocelot2
152.46?154.22?171.41?T:hc128
167.70169.35172.75T:amastrid
387.57389.90392.01T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
13.44?13.78?15.33?T:aes128ctr
16.5916.8017.21T:speck6496ctr
16.6417.1417.78T:speck64128ctr
20.5920.8821.20chacha8
22.2222.6623.09T:speck128192ctr
23.1223.7925.57T:speck128256ctr
23.56?24.02?26.42?T:speck128128ctr
25.9226.2427.54aes256ctr
27.3827.8028.57salsa208
29.0529.8031.03chacha12
37.2538.0038.72T:simon6496ctr
41.6642.3043.25T:rabbit
42.8343.2943.74chacha20
43.7944.0744.39T:aes128estream
44.5545.1446.35T:simon64128ctr
45.2246.1448.83T:snow20
56.0957.1757.71salsa2012
63.6065.3966.41salsa20
63.4467.2368.66T:lexv2
73.2673.7074.21T:cryptmtv3
75.3576.2377.29T:aes256estream
66.30?76.93?77.81?T:nlsv2
80.6581.3582.64tango642
107.86109.02111.44T:simon128128ctr
109.15109.77111.36xsalsa20
128.24128.93130.71T:sosemanuk
134.43137.48143.44T:simon128256ctr
268.86271.97275.12T:tpy6
352.90365.25380.07T:aes192ctr
475.45481.33484.60T:trivium
564.99570.31574.62T:panama
580.42?584.61?668.10?T:tpypy
575.65632.39636.95T:tpy
796.16814.20831.69T:ocelot1
862.56889.86925.79T:ocelot2
1153.841164.151180.05T:amastrid
1205.25?1236.17?1373.53?T:hc128
3058.503075.683085.57T:hc256