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-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.920.930.94T:aes128ctr
0.950.960.96tango642
1.031.041.05chacha8
1.201.211.22aes256ctr
1.231.231.24salsa208
1.471.491.50chacha12
1.501.531.57T:aes192ctr
1.631.631.64T:trivium
1.741.751.75salsa2012
1.891.972.01T:tpy
2.072.072.08T:speck6496ctr
2.072.092.13T:hc128
2.142.142.15T:speck64128ctr
2.282.302.32T:sosemanuk
2.322.332.34T:nlsv2
2.322.342.36chacha20
2.312.422.52T:tpy6
2.452.472.48T:cryptmtv3
2.632.652.66T:speck128128ctr
2.722.722.73T:speck128192ctr
2.792.802.81T:speck128256ctr
2.812.822.83salsa20
2.812.822.83xsalsa20
2.982.982.99T:simon6496ctr
3.063.083.11T:hc256
2.953.093.15T:tpypy
3.093.103.11T:simon64128ctr
3.503.513.52T:snow20
3.483.533.57T:panama
3.603.623.63T:rabbit
4.524.544.55T:simon128128ctr
4.904.914.92T:lexv2
5.405.465.47T:simon128256ctr
9.719.749.77T:aes128estream
15.4515.4715.50T:aes256estream
21.0521.1221.24T:ocelot1
21.9922.0822.21T:ocelot2
36.4638.2238.88T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.960.970.97T:aes128ctr
1.061.071.07chacha8
1.131.131.13tango642
1.261.261.26aes256ctr
1.261.261.26salsa208
1.501.511.52chacha12
1.721.721.72T:trivium
1.771.771.78salsa2012
1.931.941.96T:aes192ctr
2.112.112.12T:speck6496ctr
2.192.192.19T:speck64128ctr
2.352.362.37chacha20
2.482.482.49T:nlsv2
2.692.692.70T:speck128128ctr
2.772.772.77T:speck128192ctr
2.842.852.85salsa20
2.842.852.85T:speck128256ctr
2.872.882.89T:sosemanuk
2.942.942.95T:cryptmtv3
2.972.972.98xsalsa20
3.103.123.16T:tpy6
3.193.203.20T:simon6496ctr
3.443.453.45T:simon64128ctr
3.623.623.63T:snow20
3.643.653.66T:tpy
3.713.723.72T:rabbit
4.614.644.65T:panama
4.634.654.68T:tpypy
4.844.854.86T:simon128128ctr
5.065.075.07T:lexv2
5.455.455.48T:hc128
5.885.885.89T:simon128256ctr
9.809.819.82T:aes128estream
12.2512.2512.26T:hc256
15.5615.5715.58T:aes256estream
22.5822.6222.67T:ocelot1
23.2123.2523.32T:ocelot2
38.2839.3539.82T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.071.071.08T:aes128ctr
1.101.111.13chacha8
1.291.301.31salsa208
1.371.381.40aes256ctr
1.411.421.43tango642
1.531.541.55chacha12
1.811.821.82salsa2012
1.871.871.88T:trivium
2.192.192.22T:speck6496ctr
2.262.262.28T:speck64128ctr
2.392.402.41chacha20
2.592.632.71T:aes192ctr
2.762.772.78T:speck128128ctr
2.812.822.83T:nlsv2
2.822.842.85T:speck128192ctr
2.892.892.90salsa20
2.912.922.93T:speck128256ctr
3.213.223.23xsalsa20
3.553.553.56T:simon6496ctr
3.793.803.81T:snow20
3.873.883.89T:rabbit
3.893.913.92T:sosemanuk
4.034.044.07T:simon64128ctr
4.254.274.35T:tpy6
4.274.284.29T:cryptmtv3
5.335.355.36T:lexv2
5.365.375.38T:simon128128ctr
6.406.446.47T:tpy
6.456.486.51T:panama
6.596.606.61T:simon128256ctr
7.227.247.30T:tpypy
9.919.929.94T:aes128estream
11.0711.0811.12T:hc128
15.7015.7215.76T:aes256estream
24.9425.0125.07T:ocelot1
25.1225.2225.37T:ocelot2
27.5127.5427.58T:hc256
40.4740.7741.05T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.301.321.39T:aes128ctr
1.311.321.34chacha8
1.571.581.59salsa208
1.701.721.75aes256ctr
1.781.791.81chacha12
2.142.152.16salsa2012
2.202.212.24tango642
2.242.242.29T:trivium
2.402.412.42T:speck6496ctr
2.492.492.51T:speck64128ctr
2.762.782.81chacha20
2.983.003.04T:speck128128ctr
3.063.073.13T:speck128192ctr
3.163.173.19T:speck128256ctr
3.343.353.37salsa20
3.623.643.65T:nlsv2
4.174.204.24xsalsa20
4.224.244.26T:snow20
4.314.334.35T:rabbit
4.364.414.68T:aes192ctr
4.784.804.83T:cryptmtv3
5.205.215.23T:simon6496ctr
6.046.066.08T:lexv2
6.636.656.68T:sosemanuk
7.24?7.31?8.61?T:simon64128ctr
7.247.347.44T:tpy6
9.399.409.59T:simon128256ctr
9.28?9.51?10.74?T:simon128128ctr
10.1910.2210.26T:aes128estream
11.3011.3911.46T:panama
13.5613.6213.69T:tpy
14.1314.3214.38T:tpypy
16.0816.1316.17T:aes256estream
26.0826.1226.21T:hc128
30.1530.3430.52T:ocelot2
31.2031.3531.51T:ocelot1
47.5547.7648.10T:amastrid
68.1368.2268.34T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.173.203.23chacha8
3.984.014.07salsa208
4.224.234.26chacha12
4.474.654.80T:aes128ctr
5.055.125.27T:speck64128ctr
5.165.195.21salsa2012
5.035.215.31T:speck6496ctr
5.515.735.90aes256ctr
5.755.835.91T:speck128128ctr
5.926.016.04T:speck128192ctr
6.056.096.09T:speck128256ctr
6.236.266.34chacha20
7.127.167.25T:trivium
7.407.467.53salsa20
9.369.489.67T:rabbit
9.879.9510.04T:snow20
10.0910.2710.38T:simon6496ctr
11.6211.7911.88T:simon64128ctr
12.1412.1712.26T:cryptmtv3
12.2512.3612.59tango642
14.2914.3114.37T:aes128estream
14.7614.9815.21xsalsa20
15.0515.2015.64T:lexv2
16.0816.1716.31T:nlsv2
16.1316.2316.25T:simon128128ctr
16.5516.5516.55T:simon128256ctr
21.4421.5821.66T:aes256estream
27.1727.4428.02T:aes192ctr
37.8637.9838.23T:sosemanuk
45.9046.6847.98T:tpy6
73.1273.7274.20T:panama
93.9996.0797.82T:ocelot2
102.64103.64104.51T:tpypy
107.94108.52109.12T:tpy
113.83114.93115.51T:ocelot1
135.31135.91137.20T:amastrid
217.36217.58218.38T:hc128
589.41589.80590.23T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.8321.9523.78T:speck6496ctr
22.8823.0523.29T:speck64128ctr
26.2526.4626.75T:speck128256ctr
25.5726.4727.93T:speck128192ctr
26.8427.1027.61chacha8
31.2031.2732.17T:speck128128ctr
34.9535.1735.47chacha12
36.1137.3539.41T:aes128ctr
44.7545.0445.81T:trivium
44.5146.2247.96aes256ctr
49.6049.8250.19salsa208
51.2551.5452.48chacha20
54.0054.6656.08T:simon6496ctr
55.1556.5458.33T:rabbit
59.6860.3861.18salsa2012
64.4264.7165.23T:aes128estream
64.6665.0065.62T:simon64128ctr
77.0177.3278.27T:snow20
77.4277.8278.24T:aes256estream
78.0278.5579.28T:cryptmtv3
80.8281.6482.02salsa20
84.9585.5886.18T:nlsv2
85.0586.7286.97T:simon128128ctr
90.7491.5192.98T:lexv2
91.6892.8395.49tango642
105.05105.46107.29T:simon128256ctr
139.98141.55143.16xsalsa20
213.38214.77219.45T:aes192ctr
302.77304.09305.83T:sosemanuk
351.44363.52366.70T:tpy6
574.55578.71583.28T:panama
605.07611.72617.42T:ocelot2
735.65757.05769.58T:ocelot1
788.62816.11821.88T:tpypy
852.93861.23869.65T:tpy
882.17886.99894.47T:amastrid
1736.681738.601744.70T:hc128
4712.094717.974727.11T:hc256