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; Ivy Bridge+AES (306a9); 2012 Intel Xeon E3-1275 V2; 4 x 3500MHz; hydra8, supercop-20240909

[Page version: 20241011 15:42:15]

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.920.940.97T:aes128ctr
0.950.960.97tango642
1.041.041.05chacha8
1.201.211.22salsa208
1.201.221.24aes256ctr
1.461.471.48chacha12
1.39?1.51?1.62?T:aes192ctr
1.691.701.71T:trivium
1.711.721.73salsa2012
2.072.072.07T:speck6496ctr
2.062.072.08T:hc128
2.142.152.15T:speck64128ctr
2.302.312.33chacha20
2.632.632.67T:speck128128ctr
2.632.652.66T:cryptmtv3
2.502.652.75T:tpy
2.722.732.74T:speck128192ctr
2.762.772.78salsa20
2.772.782.78xsalsa20
2.802.812.81T:speck128256ctr
2.862.872.88T:sosemanuk
2.902.922.92T:simon6496ctr
2.903.023.07T:tpy6
3.043.053.06T:simon64128ctr
3.133.193.22T:nlsv2
3.243.263.27T:hc256
3.483.503.52T:panama
3.503.523.53T:rabbit
3.573.583.59T:snow20
4.374.414.47T:tpypy
4.474.484.52T:simon128128ctr
4.914.924.93T:lexv2
5.825.825.84T:simon128256ctr
9.749.769.79T:aes128estream
16.0916.1216.16T:aes256estream
21.0121.1421.23T:ocelot2
21.1821.2721.34T:ocelot1
36.6637.3437.80T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.970.981.00T:aes128ctr
1.061.071.07chacha8
1.151.151.16tango642
1.241.241.24salsa208
1.271.271.28aes256ctr
1.491.491.50chacha12
1.751.751.76salsa2012
1.801.811.81T:trivium
1.901.972.00T:aes192ctr
2.112.122.12T:speck6496ctr
2.192.192.20T:speck64128ctr
2.332.342.34chacha20
2.682.682.70T:speck128128ctr
2.772.772.78T:speck128192ctr
2.792.802.81salsa20
2.852.852.85T:speck128256ctr
2.922.922.92xsalsa20
3.103.103.10T:simon6496ctr
3.113.123.12T:cryptmtv3
3.153.153.16T:sosemanuk
3.333.353.36T:nlsv2
3.363.363.37T:simon64128ctr
3.613.623.63T:rabbit
3.683.693.70T:snow20
3.683.723.75T:tpy6
4.214.254.32T:tpy
4.584.594.60T:panama
4.744.754.77T:simon128128ctr
5.075.075.08T:lexv2
5.455.455.45T:hc128
6.006.016.04T:tpypy
6.226.226.22T:simon128256ctr
9.819.829.84T:aes128estream
12.6512.6612.66T:hc256
16.2116.2316.25T:aes256estream
22.4022.4622.50T:ocelot2
22.5822.6222.66T:ocelot1
38.4838.9439.26T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.041.051.06T:aes128ctr
1.101.101.12chacha8
1.281.291.30salsa208
1.341.351.36aes256ctr
1.461.471.47tango642
1.521.531.53chacha12
1.811.811.82salsa2012
1.971.981.99T:trivium
2.192.202.20T:speck6496ctr
2.272.272.27T:speck64128ctr
2.352.362.38chacha20
2.592.712.87T:aes192ctr
2.772.772.78T:speck128128ctr
2.832.842.85T:speck128192ctr
2.852.862.88salsa20
2.912.922.92T:speck128256ctr
3.143.153.17xsalsa20
3.423.433.44T:simon6496ctr
3.653.673.75T:nlsv2
3.693.693.71T:sosemanuk
3.783.793.80T:rabbit
3.873.883.89T:snow20
3.893.903.91T:simon64128ctr
4.414.424.43T:cryptmtv3
4.935.035.14T:tpy6
5.195.205.21T:simon128128ctr
5.335.335.73T:lexv2
6.396.406.42T:panama
6.866.937.02T:tpy
6.986.997.00T:simon128256ctr
8.478.598.65T:tpypy
9.899.929.93T:aes128estream
11.0711.0811.10T:hc128
16.3616.3816.41T:aes256estream
24.5524.6224.74T:ocelot2
24.9625.0425.11T:ocelot1
28.3228.3328.36T:hc256
41.7641.8642.15T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.301.311.33chacha8
1.311.341.36T:aes128ctr
1.521.531.53salsa208
1.681.711.74aes256ctr
1.781.821.82chacha12
2.092.102.11salsa2012
2.332.352.38tango642
2.362.382.43T:trivium
2.412.412.43T:speck6496ctr
2.482.512.51T:speck64128ctr
2.762.802.80chacha20
3.013.013.04T:speck128128ctr
3.083.093.10T:speck128192ctr
3.163.163.19T:speck128256ctr
3.313.323.34salsa20
4.094.104.14xsalsa20
4.244.264.28T:rabbit
4.354.374.40T:snow20
4.424.474.75T:nlsv2
4.564.914.99T:aes192ctr
4.934.954.97T:cryptmtv3
4.954.974.97T:simon6496ctr
5.165.175.19T:sosemanuk
6.036.066.07T:lexv2
6.276.286.29T:simon64128ctr
7.817.837.96T:simon128128ctr
8.038.148.21T:tpy6
9.949.959.98T:simon128256ctr
10.1910.2210.25T:aes128estream
11.2211.2411.29T:panama
13.7113.8114.19T:tpy
15.5715.7115.79T:tpypy
16.8216.8516.88T:aes256estream
26.0926.1226.14T:hc128
30.4930.7231.00T:ocelot2
30.6330.8731.17T:ocelot1
48.7848.9149.27T:amastrid
70.1070.1570.20T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.273.303.33chacha8
4.004.064.22salsa208
4.274.314.39chacha12
4.564.784.89T:aes128ctr
5.005.055.23salsa2012
5.115.145.31T:speck6496ctr
5.195.255.45T:speck64128ctr
5.625.806.05aes256ctr
5.835.895.91T:speck128128ctr
5.986.036.05T:speck128192ctr
6.126.166.17T:speck128256ctr
6.306.366.42chacha20
7.087.177.27salsa20
7.647.808.36T:trivium
9.759.8610.00T:rabbit
10.1110.3310.33T:simon6496ctr
10.5210.5910.72T:snow20
11.6611.8411.84T:simon64128ctr
12.4512.5212.73T:cryptmtv3
13.3113.4813.72tango642
14.2314.2514.38T:aes128estream
14.4414.4814.55xsalsa20
15.2015.4415.62T:lexv2
15.8316.0216.52T:nlsv2
16.1616.1616.16T:simon128128ctr
16.2716.3116.39T:simon128256ctr
21.8621.9722.11T:sosemanuk
22.6122.6922.78T:aes256estream
27.41?30.50?31.84?T:aes192ctr
47.8349.4750.17T:tpy6
72.7372.9873.44T:panama
103.12103.78104.12T:tpy
104.69106.14108.12T:ocelot2
105.23106.94108.86T:ocelot1
106.42107.48108.23T:tpypy
138.52139.02140.06T:amastrid
217.38217.62217.73T:hc128
604.69605.16605.75T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.1222.3822.62T:speck6496ctr
22.5023.0024.25T:speck64128ctr
27.0027.0027.38T:speck128256ctr
26.5027.1227.12T:speck128192ctr
26.88?27.50?30.38?T:speck128128ctr
27.8828.0028.25chacha8
35.7536.1236.62chacha12
36.7538.3839.25T:aes128ctr
38.5039.7541.38salsa208
46.6247.6248.62aes256ctr
48.7549.3849.75T:trivium
50.0050.8853.38salsa2012
52.3852.6252.88chacha20
54.6254.8855.00T:simon6496ctr
58.8860.0061.50T:rabbit
64.2564.8865.62T:aes128estream
65.1265.7567.25T:simon64128ctr
70.3871.2572.25salsa20
80.0081.2582.38T:cryptmtv3
82.3883.0083.75T:snow20
85.5085.8886.38T:aes256estream
86.3887.0087.88T:nlsv2
86.3888.7588.75T:simon128128ctr
91.7593.2594.75T:lexv2
100.62101.50102.62T:simon128256ctr
100.75103.88106.50tango642
129.25130.38131.00xsalsa20
175.00176.25177.62T:sosemanuk
215.75?234.88?252.25?T:aes192ctr
371.25373.75383.88T:tpy6
571.88573.00577.62T:panama
676.50693.75708.62T:ocelot2
687.25708.12726.38T:ocelot1
821.50826.62855.88T:tpy
796.12828.50834.00T:tpypy
914.88922.38930.38T:amastrid
1741.121742.751744.00T:hc128
4834.754837.884841.25T:hc256