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; Tremont (906c0); 2021 Intel Pentium Silver N6000; 4 x 1100MHz; jasper, supercop-20240625

[Page version: 20240726 23:46:00]

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.


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.450.460.48T:aes192ctr
0.610.630.64T:aes128ctr
0.730.750.77aes256ctr
1.031.051.06tango642
1.311.321.34chacha8
1.851.871.88chacha12
2.012.022.03salsa208
2.282.302.32T:hc128
2.362.392.40T:sosemanuk
2.582.622.62T:cryptmtv3
2.902.912.93salsa2012
2.972.982.98chacha20
2.973.033.19T:hc256
3.033.053.06T:speck6496ctr
3.083.103.14T:nlsv2
3.153.153.17T:speck64128ctr
3.193.243.29T:snow20
3.143.253.29T:tpy
3.323.403.42T:tpy6
3.493.513.54T:panama
3.823.873.88T:trivium
4.154.164.18T:rabbit
4.374.374.38T:simon6496ctr
4.534.564.56T:speck128128ctr
4.604.614.65T:simon64128ctr
4.674.684.69T:speck128192ctr
4.704.714.73xsalsa20
4.704.724.74salsa20
4.814.834.84T:speck128256ctr
4.934.944.96T:lexv2
5.075.125.18T:tpypy
6.656.666.66T:simon128128ctr
8.038.188.27T:simon128256ctr
9.649.659.67T:aes128estream
14.4714.5014.53T:aes256estream
20.2720.4221.13T:ocelot1
20.45?21.47?23.98?T:ocelot2
35.1235.3636.75T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.620.620.63T:aes192ctr
0.640.650.65T:aes128ctr
0.770.780.79aes256ctr
1.281.291.29tango642
1.341.341.36chacha8
1.881.881.89chacha12
2.042.042.04salsa208
2.932.932.94salsa2012
2.982.993.00T:sosemanuk
3.003.003.00chacha20
3.083.083.09T:speck6496ctr
3.183.183.20T:speck64128ctr
3.173.203.20T:cryptmtv3
3.263.283.30T:nlsv2
3.343.373.39T:snow20
3.933.943.95T:tpy6
3.984.024.03T:trivium
4.294.304.31T:rabbit
4.584.594.59T:speck128128ctr
4.594.604.62T:panama
4.624.624.62T:simon6496ctr
4.564.634.65T:tpy
4.704.714.71T:speck128192ctr
4.744.744.75salsa20
4.864.874.87T:speck128256ctr
4.884.894.90xsalsa20
4.994.995.03T:simon64128ctr
5.085.085.09T:lexv2
6.506.516.53T:tpypy
6.916.926.93T:hc128
7.027.027.03T:simon128128ctr
8.638.708.76T:simon128256ctr
9.719.729.72T:aes128estream
14.5714.5914.60T:aes256estream
14.8614.8814.94T:hc256
22.1022.1722.49T:ocelot1
22.6322.8024.65T:ocelot2
37.0737.1638.00T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.670.670.70T:aes128ctr
0.820.820.84aes256ctr
0.890.900.94T:aes192ctr
1.381.381.38chacha8
1.671.681.69tango642
1.911.911.91chacha12
2.062.072.07salsa208
2.952.962.97salsa2012
3.023.023.04chacha20
3.143.153.19T:speck6496ctr
3.243.243.27T:speck64128ctr
3.523.543.57T:snow20
3.583.603.62T:nlsv2
4.044.074.08T:sosemanuk
4.294.294.29T:trivium
4.524.544.55T:rabbit
4.624.624.64T:speck128128ctr
4.604.634.66T:cryptmtv3
4.754.764.80T:speck128192ctr
4.784.794.82salsa20
4.724.894.94T:tpy6
4.904.914.93T:speck128256ctr
5.035.045.04T:simon6496ctr
5.185.195.21xsalsa20
5.325.335.35T:lexv2
5.645.645.64T:simon64128ctr
6.406.426.44T:panama
6.856.876.97T:tpy
7.637.647.65T:simon128128ctr
8.808.838.87T:tpypy
9.509.609.66T:simon128256ctr
9.779.809.82T:aes128estream
14.6114.6214.63T:hc128
14.6914.7114.73T:aes256estream
24.7825.0025.32T:ocelot1
24.7525.0826.97T:ocelot2
34.4534.5334.62T:hc256
38.8240.1540.73T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.840.860.87T:aes128ctr
1.021.031.06aes256ctr
1.501.511.53chacha8
1.651.651.68T:aes192ctr
2.112.142.15chacha12
2.282.292.31salsa208
2.752.782.82tango642
3.233.253.26salsa2012
3.263.263.26T:speck6496ctr
3.323.353.35chacha20
3.373.383.39T:speck64128ctr
4.014.054.07T:snow20
4.394.434.46T:nlsv2
4.824.824.86T:speck128128ctr
4.944.955.00T:speck128192ctr
4.954.964.99T:trivium
5.095.115.16T:rabbit
5.105.115.14T:speck128256ctr
5.125.205.22salsa20
5.375.395.40T:cryptmtv3
5.955.996.01T:lexv2
6.206.216.25xsalsa20
6.906.946.98T:sosemanuk
7.077.087.09T:simon6496ctr
7.457.587.64T:tpy6
9.579.599.78T:simon64128ctr
10.0810.1210.15T:aes128estream
11.2111.2611.30T:panama
12.2412.4412.57T:simon128128ctr
13.0213.1313.22T:tpy
14.8914.9815.08T:tpypy
15.1215.1615.20T:aes256estream
17.3817.4717.56T:simon128256ctr
31.2432.0834.13T:ocelot2
31.4432.5632.62T:ocelot1
35.1935.2235.26T:hc128
47.4147.5347.62T:amastrid
86.9987.4087.54T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.67?2.73?3.00?T:aes128ctr
2.702.732.75chacha8
3.14?3.14?3.97?aes256ctr
3.693.703.72chacha12
4.454.454.45salsa208
4.864.985.00T:speck6496ctr
5.065.095.17T:speck64128ctr
5.725.735.78chacha20
5.845.845.84salsa2012
7.277.347.45T:speck128192ctr
7.197.417.42T:speck128128ctr
7.477.557.56T:speck128256ctr
8.708.728.78salsa20
10.2510.2710.38T:snow20
11.0511.1611.38T:aes192ctr
12.6412.7212.81T:rabbit
13.2213.2813.36T:simon6496ctr
13.2513.3413.53T:cryptmtv3
13.6613.7313.80T:trivium
13.9514.0614.23T:aes128estream
14.2014.2814.50T:lexv2
14.8114.8615.03T:simon64128ctr
16.1116.1416.30tango642
16.7817.0517.28T:nlsv2
17.9818.1118.22xsalsa20
19.6919.8319.92T:aes256estream
21.4821.5921.91T:simon128128ctr
25.6726.1426.48T:simon128256ctr
39.3139.5039.69T:sosemanuk
41.3041.4741.78T:tpy6
72.6773.1473.39T:panama
92.1792.7093.19T:tpy
92.8894.6495.14T:tpypy
117.34119.50119.94T:ocelot1
114.22122.02125.70T:ocelot2
133.55135.02135.72T:amastrid
298.03298.39298.77T:hc128
757.53758.73760.59T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.8821.0022.88T:aes128ctr
24.6224.7525.12aes256ctr
28.50?29.00?34.12?T:speck128192ctr
28.62?29.00?32.25?T:speck128128ctr
29.0029.1229.88T:speck64128ctr
28.75?29.25?32.25?T:speck128256ctr
26.00?29.38?30.75?chacha8
27.88?30.50?32.00?T:speck6496ctr
31.6231.6234.62chacha12
43.0043.5044.12salsa208
47.5047.7552.38chacha20
57.6257.7560.38salsa2012
61.6262.2562.50T:simon6496ctr
64.6264.8865.50T:aes128estream
71.3872.2573.38T:aes256estream
71.7572.2572.88T:simon64128ctr
77.5077.7578.12T:rabbit
81.1281.3882.00T:snow20
81.6282.0082.12T:trivium
82.8883.5086.00T:lexv2
84.2584.6284.88T:cryptmtv3
86.8887.5089.12salsa20
85.7588.2595.00T:aes192ctr
93.8895.1295.12T:nlsv2
110.50113.00118.88T:simon128128ctr
123.50126.62126.88tango642
129.88130.88132.75T:simon128256ctr
163.88164.25164.88xsalsa20
309.12311.75312.75T:tpy6
312.88314.50317.12T:sosemanuk
569.75572.75574.00T:panama
716.75721.50726.62T:tpy
711.00722.62732.38T:tpypy
730.50730.62738.38T:ocelot2
791.38794.12813.50T:ocelot1
893.00898.62903.88T:amastrid
2380.752385.122389.00T:hc128
6071.126101.506136.88T:hc256