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; Skylake (506e3); 2015 Intel Xeon E3-1220 v5; 4 x 3000MHz; samba, 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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.50?0.53?0.60?chacha8
0.600.610.62salsa208
0.620.630.63T:aes128ctr
0.690.700.71tango642
0.720.730.74chacha12
0.740.790.80T:aes192ctr
0.840.860.88salsa2012
0.870.880.88aes256ctr
0.991.001.01T:speck6496ctr
1.031.041.05T:speck64128ctr
1.131.141.15chacha20
1.211.221.22T:speck128128ctr
1.251.261.27T:speck128192ctr
1.291.291.30T:speck128256ctr
1.361.371.38salsa20
1.351.381.41xsalsa20
1.471.481.48T:simon6496ctr
1.521.541.56T:simon64128ctr
1.661.711.76T:tpy
1.751.771.82T:hc128
1.801.821.84T:sosemanuk
1.911.921.92T:trivium
1.931.992.06T:tpy6
2.002.012.02T:nlsv2
2.152.162.21T:simon128128ctr
2.292.322.34T:simon128256ctr
2.402.422.51T:hc256
2.472.482.49T:cryptmtv3
2.742.762.78T:snow20
2.712.762.81T:tpypy
2.762.772.79T:rabbit
2.832.852.88T:panama
4.114.134.15T:lexv2
8.328.348.36T:aes128estream
12.9613.0213.09T:aes256estream
15.6815.9116.53T:ocelot1
18.5018.5718.64T:ocelot2
32.3032.7032.89T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.540.550.60chacha8
0.620.630.63salsa208
0.680.680.68T:aes128ctr
0.750.750.76chacha12
0.850.860.86tango642
0.870.880.89salsa2012
0.940.940.94aes256ctr
1.041.041.04T:speck6496ctr
1.071.071.08T:speck64128ctr
1.121.141.14T:aes192ctr
1.161.171.17chacha20
1.271.271.28T:speck128128ctr
1.301.311.32T:speck128192ctr
1.341.341.35T:speck128256ctr
1.391.391.40salsa20
1.491.501.51xsalsa20
1.701.711.71T:simon6496ctr
1.891.901.91T:simon64128ctr
2.012.012.02T:trivium
2.142.142.15T:nlsv2
2.322.332.34T:sosemanuk
2.492.492.50T:simon128128ctr
2.552.582.61T:tpy6
2.752.762.77T:simon128256ctr
2.852.862.87T:snow20
2.872.872.88T:rabbit
2.962.962.97T:cryptmtv3
3.033.053.08T:tpy
3.793.803.81T:panama
4.064.094.11T:tpypy
4.244.254.26T:lexv2
4.574.574.58T:hc128
8.408.428.43T:aes128estream
9.709.709.73T:hc256
13.1013.1313.17T:aes256estream
17.2717.3117.75T:ocelot1
19.4619.5019.54T:ocelot2
33.7934.0534.14T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.580.590.64chacha8
0.650.660.67salsa208
0.770.780.78T:aes128ctr
0.790.790.80chacha12
0.910.920.94salsa2012
1.061.061.06aes256ctr
1.101.101.11T:speck6496ctr
1.111.121.13tango642
1.131.141.14T:speck64128ctr
1.201.211.22chacha20
1.361.361.37T:speck128128ctr
1.381.381.39T:speck128192ctr
1.411.411.42T:speck128256ctr
1.431.441.46salsa20
1.681.681.70T:aes192ctr
1.681.701.73xsalsa20
2.082.082.09T:simon6496ctr
2.182.182.19T:trivium
2.402.412.43T:nlsv2
2.492.502.51T:simon64128ctr
2.943.003.01T:simon128128ctr
3.023.033.05T:rabbit
3.023.033.05T:snow20
3.223.233.26T:sosemanuk
3.413.463.52T:tpy6
3.463.473.50T:simon128256ctr
4.264.274.28T:cryptmtv3
4.474.484.50T:lexv2
5.265.315.34T:tpy
5.355.375.40T:panama
6.216.266.30T:tpypy
8.518.528.55T:aes128estream
9.169.179.24T:hc128
13.2313.2813.34T:aes256estream
19.6419.7120.28T:ocelot1
20.9721.0421.11T:ocelot2
21.6921.7321.86T:hc256
36.8337.0637.35T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.820.850.89chacha8
0.930.940.95salsa208
1.061.061.08T:aes128ctr
1.091.101.11chacha12
1.281.301.31salsa2012
1.341.341.35T:speck6496ctr
1.381.391.39T:speck64128ctr
1.441.441.44aes256ctr
1.691.701.71T:speck128128ctr
1.681.701.72chacha20
1.691.701.72T:speck128192ctr
1.711.721.72T:speck128256ctr
1.821.831.85tango642
1.961.982.00salsa20
2.602.612.62T:trivium
2.692.722.76xsalsa20
3.133.153.17T:nlsv2
3.233.243.27T:aes192ctr
3.373.373.40T:simon64128ctr
3.423.453.49T:snow20
3.453.473.50T:rabbit
3.723.733.74T:simon6496ctr
4.714.724.74T:cryptmtv3
4.944.975.00T:simon128128ctr
5.055.075.09T:lexv2
5.345.355.38T:simon128256ctr
5.615.635.65T:sosemanuk
5.966.026.35T:tpy6
8.808.828.87T:aes128estream
9.509.579.67T:panama
11.2811.3411.40T:tpy
12.1612.2412.32T:tpypy
13.7413.8113.85T:aes256estream
21.5521.6921.79T:hc128
25.0325.1025.25T:ocelot2
25.8526.0626.76T:ocelot1
41.6142.1942.63T:amastrid
53.7953.9854.23T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.213.233.25chacha8
3.733.763.79salsa208
3.753.793.84T:speck6496ctr
3.923.923.97T:speck64128ctr
4.114.154.20chacha12
4.554.594.62T:aes128ctr
4.794.834.88salsa2012
4.834.864.92T:speck128192ctr
4.854.945.10T:speck128256ctr
5.245.265.32T:speck128128ctr
5.905.925.94aes256ctr
5.956.026.06chacha20
6.936.977.04salsa20
7.968.048.27T:simon6496ctr
8.118.138.17T:trivium
8.438.478.67T:rabbit
8.798.919.06T:snow20
9.359.419.52T:simon64128ctr
10.1110.1710.26T:cryptmtv3
10.7810.8911.17tango642
12.5412.6712.75T:aes128estream
12.6012.7112.88T:lexv2
12.9513.0513.26T:simon128128ctr
13.5013.5913.70xsalsa20
14.4114.5114.63T:nlsv2
14.6714.6914.98T:simon128256ctr
18.3218.4318.53T:aes256estream
23.1323.2023.31T:aes192ctr
33.0633.3133.45T:sosemanuk
38.5738.8939.16T:tpy6
61.8762.1462.66T:panama
77.3477.7578.08T:ocelot2
86.9987.7088.83T:tpy
88.3288.6389.31T:tpypy
101.42103.08104.23T:ocelot1
115.03115.72116.78T:amastrid
179.91180.01180.34T:hc128
464.35464.77466.79T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.6220.7521.44T:speck64128ctr
20.4620.9122.65T:speck6496ctr
25.0725.5527.34T:speck128192ctr
25.2525.6526.74T:speck128256ctr
25.6126.6727.36T:speck128128ctr
33.7533.8634.01chacha8
34.2634.7035.19salsa208
35.8135.9736.36T:aes128ctr
43.3643.7144.09salsa2012
45.9546.1046.53aes256ctr
50.8051.1952.50T:simon6496ctr
51.5251.7352.17T:rabbit
51.8652.1652.80chacha12
52.4152.5952.94T:trivium
58.7759.1959.58T:aes128estream
59.0359.3459.96T:cryptmtv3
60.8461.5262.16salsa20
61.4161.7662.11T:simon64128ctr
69.1069.5470.38T:aes256estream
69.2070.0071.52T:snow20
71.0671.5272.05chacha20
76.2176.8078.22T:lexv2
77.0077.4778.76T:simon128128ctr
79.1879.9980.97T:nlsv2
81.8382.6185.00tango642
90.6191.3592.16T:simon128256ctr
113.31114.05114.73xsalsa20
184.56185.35187.10T:aes192ctr
264.71265.72266.96T:sosemanuk
297.88300.90304.01T:tpy6
486.21488.50492.94T:panama
487.02494.02503.23T:ocelot2
692.88695.18698.41T:tpypy
695.03699.81702.68T:tpy
705.44716.93734.78T:ocelot1
752.55756.11762.14T:amastrid
1438.821441.591449.44T:hc128
3721.273734.513750.32T:hc256