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 (800f11); 2017 AMD Ryzen 3 1200; 4 x 3100MHz; rumba3, supercop-20221122

[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: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.440.450.46T:aes128ctr
0.550.570.58T:aes192ctr
0.580.590.60aes256ctr
0.930.930.94chacha8
1.051.061.07tango642
1.221.221.23salsa208
1.271.281.29chacha12
1.761.761.76salsa2012
1.811.811.82T:hc128
1.801.811.82T:speck6496ctr
1.861.881.90T:speck64128ctr
1.971.992.00chacha20
2.092.102.11T:cryptmtv3
2.192.202.21T:speck128128ctr
2.152.222.25T:tpy
2.252.252.26T:speck128192ctr
2.272.292.33T:tpy6
2.312.312.31T:trivium
2.322.332.34T:speck128256ctr
2.462.472.48T:sosemanuk
2.44?2.56?3.06?T:hc256
2.652.652.66T:nlsv2
2.692.712.73T:simon6496ctr
2.822.822.83salsa20
2.822.832.83xsalsa20
2.962.972.99T:simon64128ctr
2.932.993.06T:panama
2.993.003.01T:rabbit
3.333.333.34T:snow20
3.693.873.91T:tpypy
4.014.034.05T:simon128256ctr
4.034.064.08T:simon128128ctr
4.214.244.25T:lexv2
9.159.169.20T:aes128estream
13.1013.1713.40T:aes256estream
Cycles/byte for 4096 bytes
25%50%75%stream
0.480.480.49T:aes128ctr
0.610.620.62aes256ctr
0.940.940.95T:aes192ctr
0.950.950.96chacha8
1.191.191.20tango642
1.251.251.25salsa208
1.301.301.31chacha12
1.781.781.78salsa2012
1.851.851.86T:speck6496ctr
1.921.931.93T:speck64128ctr
1.992.002.01chacha20
2.252.252.26T:speck128128ctr
2.312.312.31T:speck128192ctr
2.382.392.39T:speck128256ctr
2.422.422.42T:trivium
2.642.642.65T:cryptmtv3
2.732.732.74T:sosemanuk
2.802.812.81T:nlsv2
2.842.842.84salsa20
2.912.912.92T:simon6496ctr
2.942.952.95xsalsa20
2.993.003.01T:tpy6
3.093.093.09T:rabbit
3.273.273.29T:simon64128ctr
3.423.433.44T:snow20
3.753.803.82T:tpy
3.963.964.01T:panama
4.324.334.34T:simon128128ctr
4.364.384.39T:lexv2
4.584.584.60T:simon128256ctr
4.894.894.90T:hc128
5.325.435.44T:tpypy
9.239.249.27T:aes128estream
10.9911.0011.37T:hc256
13.2713.2813.44T:aes256estream
Cycles/byte for 1536 bytes
25%50%75%stream
0.520.530.54T:aes128ctr
0.660.670.68aes256ctr
0.980.980.99chacha8
1.281.281.28salsa208
1.331.331.34chacha12
1.411.421.42tango642
1.541.591.65T:aes192ctr
1.811.811.82salsa2012
1.921.931.93T:speck6496ctr
1.991.992.00T:speck64128ctr
2.012.022.03chacha20
2.332.332.35T:speck128128ctr
2.402.412.42T:speck128192ctr
2.472.492.50T:speck128256ctr
2.602.602.60T:trivium
2.872.882.88salsa20
3.113.143.17T:nlsv2
3.143.143.15xsalsa20
3.223.223.23T:sosemanuk
3.223.243.24T:rabbit
3.243.253.29T:simon6496ctr
3.583.593.59T:snow20
3.773.783.80T:simon64128ctr
4.004.014.01T:cryptmtv3
4.124.154.16T:tpy6
4.614.624.64T:lexv2
4.774.784.82T:simon128128ctr
5.505.505.50T:simon128256ctr
5.585.585.60T:panama
6.376.396.41T:tpy
8.008.078.12T:tpypy
9.339.419.41T:aes128estream
10.0210.0310.03T:hc128
13.4413.4813.53T:aes256estream
25.0425.0425.42T:hc256
Cycles/byte for 576 bytes
25%50%75%stream
0.690.700.72T:aes128ctr
0.870.870.90aes256ctr
1.121.131.14chacha8
1.441.481.50salsa208
1.531.551.55chacha12
1.951.951.96tango642
2.032.032.04salsa2012
2.162.162.25T:speck6496ctr
2.232.242.32T:speck64128ctr
2.362.372.38chacha20
2.602.602.67T:speck128128ctr
2.722.732.74T:speck128192ctr
2.772.782.81T:speck128256ctr
3.053.053.09T:trivium
3.203.213.21salsa20
3.293.313.62T:aes192ctr
3.613.613.63T:rabbit
3.883.923.95T:nlsv2
3.943.943.95xsalsa20
3.973.984.01T:snow20
4.484.494.50T:sosemanuk
4.644.654.65T:cryptmtv3
4.754.784.87T:simon6496ctr
5.265.295.32T:lexv2
5.685.695.71T:simon64128ctr
6.967.027.07T:simon128128ctr
7.087.237.30T:tpy6
9.709.709.73T:aes128estream
9.879.889.89T:panama
10.3110.3410.36T:simon128256ctr
13.5113.5613.63T:tpy
13.9013.9114.04T:aes256estream
14.9315.2415.38T:tpypy
23.7423.7823.80T:hc128
62.4662.5562.91T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.362.422.61T:aes128ctr
2.662.662.69chacha8
2.722.732.97aes256ctr
3.03?3.30?3.48?salsa208
3.623.643.66chacha12
4.174.204.20salsa2012
4.914.924.92T:speck6496ctr
4.974.985.08T:speck64128ctr
5.445.445.47T:speck128192ctr
5.615.625.83T:speck128256ctr
5.625.645.66chacha20
5.815.845.86T:speck128128ctr
6.206.226.27salsa20
8.338.648.98T:rabbit
8.698.839.09T:simon6496ctr
8.888.919.28tango642
8.979.039.03T:trivium
9.059.069.06T:simon64128ctr
9.059.089.16T:snow20
11.5011.5811.70T:cryptmtv3
12.3812.5212.67xsalsa20
13.5213.5313.69T:aes128estream
13.6613.6913.97T:lexv2
14.3014.3014.69T:simon128128ctr
15.6415.8415.97T:nlsv2
16.5216.5617.03T:simon128256ctr
19.2819.4719.52T:aes256estream
19.6219.6219.69T:sosemanuk
24.6424.9425.58T:aes192ctr
45.7745.8946.25T:tpy6
64.5364.9265.16T:panama
103.73104.52105.03T:tpy
108.17108.55109.48T:tpypy
199.17199.20199.22T:hc128
541.20541.59542.11T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.50?17.75?20.50?T:aes128ctr
19.8819.8819.88T:speck64128ctr
19.88?19.88?22.75?T:speck6496ctr
21.8822.1223.62chacha8
22.1223.2523.88aes256ctr
23.50?26.00?28.25?T:speck128128ctr
28.12?30.75?31.62?T:speck128192ctr
28.12?30.75?33.50?T:speck128256ctr
30.7531.1231.75chacha12
43.6243.6243.62T:simon6496ctr
43.1243.7544.25salsa208
46.5047.0048.12chacha20
48.1248.8849.25T:simon64128ctr
50.6252.7553.62T:rabbit
55.2555.2555.25T:trivium
55.7555.8856.00salsa2012
60.1260.1260.38T:aes128estream
62.7564.1264.12tango642
70.7572.2573.12T:simon128128ctr
72.3874.7576.50T:snow20
74.8875.0075.50T:aes256estream
78.3879.6280.50T:cryptmtv3
80.8881.0081.75salsa20
79.6281.3882.00T:lexv2
83.0084.6286.38T:nlsv2
86.5086.5086.50T:simon128256ctr
131.75134.00134.62xsalsa20
155.38155.38155.62T:sosemanuk
200.38205.75206.62T:aes192ctr
352.75354.12356.50T:tpy6
511.38530.12530.12T:panama
817.12820.38822.75T:tpy
845.38851.00851.12T:tpypy
1589.751590.381591.50T:hc128
4328.624332.004336.38T:hc256