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-20241022

[Page version: 20241215 22:59:29]

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, the median of many speed measurements, the third quartile of many speed measurements, and the name of the primitive. Measurements with large variance 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.530.530.54chacha8
0.590.600.61salsa208
0.630.630.63T:aes128ctr
0.740.750.76chacha12
0.740.770.80T:aes192ctr
0.780.790.81tango642
0.830.840.85salsa2012
0.870.880.88aes256ctr
1.001.001.01T:speck6496ctr
1.031.041.05T:speck64128ctr
1.161.171.18chacha20
1.231.241.25T:speck128128ctr
1.261.261.27T:speck128192ctr
1.301.301.30T:speck128256ctr
1.321.331.34xsalsa20
1.321.341.35salsa20
1.431.441.45T:simon6496ctr
1.491.501.50T:simon64128ctr
1.611.641.65T:hc128
1.851.871.88T:sosemanuk
1.931.941.95T:trivium
2.002.042.11T:tpy
2.192.232.29T:simon128128ctr
2.282.332.36T:hc256
2.372.392.44T:simon128256ctr
2.362.422.48T:tpy6
2.512.542.57T:cryptmtv3
2.492.572.61T:nlsv2
2.702.722.74T:rabbit
2.762.782.81T:snow20
2.882.902.92T:panama
3.273.353.45T:tpypy
4.104.114.13T:lexv2
8.348.368.37T:aes128estream
13.1213.1513.18T:aes256estream
18.2318.2718.34T:ocelot1
18.6218.6718.73T:ocelot2
31.1031.7931.98T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.550.560.56chacha8
0.620.620.62salsa208
0.680.680.68T:aes128ctr
0.770.770.77chacha12
0.860.870.87salsa2012
0.940.940.94aes256ctr
0.940.940.96tango642
1.041.041.04T:speck6496ctr
1.071.081.08T:speck64128ctr
1.121.131.14T:aes192ctr
1.191.201.20chacha20
1.281.281.29T:speck128128ctr
1.311.311.32T:speck128192ctr
1.351.351.35T:speck128256ctr
1.351.361.36salsa20
1.451.451.46xsalsa20
1.641.651.65T:simon6496ctr
1.831.831.83T:simon64128ctr
2.042.042.04T:trivium
2.342.352.36T:sosemanuk
2.502.512.54T:simon128128ctr
2.692.702.72T:nlsv2
2.812.822.83T:rabbit
2.822.832.87T:simon128256ctr
2.882.892.90T:snow20
2.952.983.00T:tpy6
3.033.033.05T:cryptmtv3
3.403.423.46T:tpy
3.833.843.85T:panama
4.244.244.25T:lexv2
4.644.644.65T:hc128
4.724.734.76T:tpypy
8.418.428.43T:aes128estream
10.0610.0810.09T:hc256
13.2313.2413.25T:aes256estream
19.3119.3319.36T:ocelot1
19.6819.7019.72T:ocelot2
32.8433.3233.42T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.590.590.60chacha8
0.650.660.66salsa208
0.770.780.78T:aes128ctr
0.800.800.81chacha12
0.900.900.91salsa2012
1.051.051.06aes256ctr
1.101.101.11T:speck6496ctr
1.141.141.14T:speck64128ctr
1.201.201.23tango642
1.231.231.24chacha20
1.351.361.36T:speck128128ctr
1.391.391.41T:speck128192ctr
1.391.401.41salsa20
1.421.421.43T:speck128256ctr
1.651.661.66xsalsa20
1.671.681.72T:aes192ctr
1.981.991.99T:simon6496ctr
2.212.212.22T:trivium
2.372.382.38T:simon64128ctr
2.932.953.03T:simon128128ctr
2.962.973.06T:nlsv2
2.982.993.00T:rabbit
3.043.053.07T:snow20
3.193.203.21T:sosemanuk
3.563.573.59T:simon128256ctr
3.773.823.85T:tpy6
4.394.404.44T:cryptmtv3
4.474.484.50T:lexv2
5.395.405.43T:panama
5.655.695.72T:tpy
7.097.117.15T:tpypy
8.518.538.54T:aes128estream
9.729.739.74T:hc128
13.3513.3713.39T:aes256estream
21.0421.0921.16T:ocelot1
21.3521.4221.53T:ocelot2
22.9823.0023.02T:hc256
36.0136.1236.36T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.820.820.83chacha8
0.920.930.96salsa208
1.081.081.11T:aes128ctr
1.111.111.13chacha12
1.261.271.29salsa2012
1.351.351.37T:speck6496ctr
1.381.391.39T:speck64128ctr
1.441.441.45aes256ctr
1.641.641.65T:speck128128ctr
1.701.711.71T:speck128192ctr
1.711.721.74chacha20
1.731.741.75T:speck128256ctr
1.911.911.93tango642
1.921.941.96salsa20
2.652.662.68xsalsa20
2.652.672.69T:trivium
3.203.253.42T:aes192ctr
3.343.353.36T:simon64128ctr
3.423.433.45T:rabbit
3.483.503.53T:snow20
3.553.553.58T:simon6496ctr
3.653.694.00T:nlsv2
4.794.814.94T:cryptmtv3
4.864.874.88T:simon128128ctr
5.075.095.11T:lexv2
5.245.255.27T:simon128256ctr
5.455.475.51T:sosemanuk
6.586.706.83T:tpy6
8.828.878.91T:aes128estream
9.529.599.77T:panama
11.5211.6011.68T:tpy
12.8812.9713.04T:tpypy
13.8013.8313.86T:aes256estream
22.8923.0023.02T:hc128
25.7025.7925.90T:ocelot1
25.8625.9126.06T:ocelot2
41.9942.2742.63T:amastrid
57.2657.4257.49T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.313.313.31chacha8
3.803.803.81T:speck6496ctr
3.813.843.92salsa208
3.913.974.03T:speck64128ctr
4.234.254.30chacha12
4.484.564.58T:speck128128ctr
4.734.754.77T:aes128ctr
4.704.804.94T:speck128192ctr
4.884.914.94salsa2012
4.924.985.03T:speck128256ctr
5.986.006.02aes256ctr
6.056.096.17chacha20
6.987.057.11salsa20
8.318.368.45T:simon6496ctr
8.288.528.67T:trivium
8.758.809.00T:rabbit
9.029.229.41T:snow20
9.449.539.70T:simon64128ctr
10.64?10.73?12.02?T:cryptmtv3
10.8311.0011.53tango642
12.3812.4512.64T:simon128128ctr
12.6112.7312.84T:aes128estream
12.6612.8413.08T:lexv2
13.3913.5013.58xsalsa20
13.9113.9714.17T:simon128256ctr
14.5514.7214.86T:nlsv2
18.8418.9719.16T:aes256estream
22.7723.0523.30T:aes192ctr
31.2031.2831.44T:sosemanuk
39.9140.0840.41T:tpy6
61.9562.0862.78T:panama
84.0384.6485.42T:ocelot1
84.2785.2086.53T:ocelot2
87.5688.3088.73T:tpy
90.7591.1691.66T:tpypy
118.28119.23119.94T:amastrid
191.95192.12193.11T:hc128
494.72495.03495.72T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.7521.2521.50T:speck6496ctr
21.2521.7521.88T:speck64128ctr
25.0025.5027.75T:speck128128ctr
26.3826.6227.12T:speck128192ctr
26.7527.1227.62T:speck128256ctr
36.8837.0037.00T:aes128ctr
39.0039.5039.62chacha8
43.6244.2545.62salsa208
46.2546.5046.88aes256ctr
47.7548.1248.38chacha12
53.0053.6255.25T:simon6496ctr
53.7554.2554.62T:rabbit
53.2554.8856.25T:trivium
55.0055.2556.12salsa2012
58.8859.6260.38T:aes128estream
59.3859.7560.50salsa20
62.2562.6263.12T:simon64128ctr
64.3864.7565.12chacha20
64.62?65.12?76.25?T:cryptmtv3
71.8873.2575.25T:snow20
73.1273.7575.38T:aes256estream
76.2576.8878.38T:lexv2
77.5077.8878.00T:simon128128ctr
80.2581.1281.75T:nlsv2
81.8882.3883.75tango642
89.0089.3889.50T:simon128256ctr
110.25111.12112.50xsalsa20
184.00185.75187.00T:aes192ctr
248.88250.00252.62T:sosemanuk
306.00307.50310.50T:tpy6
488.00490.12494.62T:panama
544.62550.75563.75T:ocelot1
543.75555.75566.62T:ocelot2
692.00700.25704.88T:tpy
696.62700.75706.38T:tpypy
790.50791.75798.12T:amastrid
1535.381535.881537.62T:hc128
3960.253963.503965.88T:hc256