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; Sandy Bridge+AES (206a7); 2011 Intel Xeon E3-1225; 4 x 3100MHz; hydra7, supercop-20260330

[Page version: 20260408 07:14:54]

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
1.011.021.04tango642
1.031.041.08chacha8
1.211.221.24salsa208
1.221.231.24aes256ctr
1.451.471.49chacha12
1.461.501.54T:aes192ctr
1.731.741.76salsa2012
2.072.072.08T:speck6496ctr
2.082.092.10T:trivium
2.142.152.16T:speck64128ctr
2.302.322.33chacha20
2.452.472.48T:hc128
2.622.652.66T:cryptmtv3
2.642.652.66T:speck128128ctr
2.742.742.76T:speck128192ctr
2.782.792.81xsalsa20
2.782.792.80salsa20
2.812.822.83T:speck128256ctr
2.752.832.91T:tpy
2.922.963.06T:simon6496ctr
2.983.043.20T:tpy6
3.073.093.13T:simon64128ctr
3.273.283.31T:sosemanuk
3.623.683.75T:nlsv2
3.673.703.73T:hc256
3.743.763.77T:snow20
3.823.833.85T:rabbit
3.833.863.89T:panama
4.454.594.66T:tpypy
4.574.604.62T:simon128128ctr
4.78?5.37?5.93?T:simon128256ctr
5.805.825.84T:lexv2
11.3711.3911.42T:aes128estream
17.8818.3418.47T:aes256estream
21.6622.0723.28T:ocelot1
23.3924.5025.26T:ocelot2
39.1239.6640.08T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.980.980.98T:aes128ctr
1.071.071.10chacha8
1.221.221.23tango642
1.251.261.26salsa208
1.281.281.28aes256ctr
1.491.491.50chacha12
1.771.771.78salsa2012
1.921.941.96T:aes192ctr
2.112.122.12T:speck6496ctr
2.182.192.19T:trivium
2.192.202.20T:speck64128ctr
2.332.342.35chacha20
2.702.702.70T:speck128128ctr
2.792.792.80T:speck128192ctr
2.812.822.82salsa20
2.862.872.87T:speck128256ctr
2.932.942.94xsalsa20
3.103.113.12T:cryptmtv3
3.143.153.22T:simon6496ctr
3.403.413.44T:simon64128ctr
3.593.603.61T:sosemanuk
3.783.813.91T:tpy6
3.863.873.88T:snow20
3.883.903.92T:nlsv2
3.943.953.96T:rabbit
4.534.564.59T:tpy
4.874.884.89T:simon128128ctr
5.095.105.11T:panama
5.785.916.26T:simon128256ctr
5.985.996.00T:lexv2
6.296.296.29T:hc128
6.246.306.34T:tpypy
11.4511.4711.48T:aes128estream
14.3814.3914.40T:hc256
18.1118.4418.46T:aes256estream
23.4323.5124.37T:ocelot1
25.1725.9226.29T:ocelot2
40.8641.1841.36T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.041.051.05T:aes128ctr
1.111.121.14chacha8
1.301.301.31salsa208
1.351.361.37aes256ctr
1.521.531.54chacha12
1.541.551.57tango642
1.811.811.82salsa2012
2.192.192.21T:speck6496ctr
2.272.272.28T:speck64128ctr
2.362.372.37T:trivium
2.372.392.40chacha20
2.652.672.70T:aes192ctr
2.772.782.78T:speck128128ctr
2.852.862.86salsa20
2.862.872.88T:speck128192ctr
2.942.952.97T:speck128256ctr
3.163.173.18xsalsa20
3.463.493.54T:simon6496ctr
3.933.943.97T:simon64128ctr
4.064.074.07T:snow20
4.124.134.15T:rabbit
4.204.214.22T:sosemanuk
4.244.304.35T:nlsv2
4.394.414.43T:cryptmtv3
5.115.195.26T:tpy6
5.335.355.38T:simon128128ctr
6.276.286.30T:lexv2
6.60?6.82?7.80?T:simon128256ctr
7.127.157.20T:panama
7.377.437.47T:tpy
9.099.189.23T:tpypy
11.5911.6011.62T:aes128estream
12.6212.6412.65T:hc128
18.3218.6218.66T:aes256estream
25.7525.9826.88T:ocelot1
27.5228.2628.60T:ocelot2
32.2032.2232.24T:hc256
44.2044.7045.77T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.301.311.32chacha8
1.311.331.36T:aes128ctr
1.531.551.56salsa208
1.701.731.74aes256ctr
1.771.781.81chacha12
2.112.122.13salsa2012
2.422.432.44T:speck6496ctr
2.472.482.51tango642
2.502.512.53T:speck64128ctr
2.752.772.80chacha20
2.792.812.84T:trivium
3.033.043.05T:speck128128ctr
3.103.113.14T:speck128192ctr
3.183.203.23T:speck128256ctr
3.273.293.31salsa20
4.144.154.18xsalsa20
4.574.584.61T:snow20
4.544.624.69T:aes192ctr
4.634.644.66T:rabbit
4.854.874.88T:cryptmtv3
5.105.135.19T:simon6496ctr
5.045.175.41T:nlsv2
5.815.845.89T:sosemanuk
6.59?6.89?7.64?T:simon64128ctr
7.077.097.11T:lexv2
8.178.238.90T:simon128128ctr
8.478.548.62T:tpy6
10.1210.1410.17T:simon128256ctr
11.9311.9712.08T:aes128estream
12.5312.5712.64T:panama
14.9315.2115.44T:tpy
16.7717.0717.29T:tpypy
18.7619.0819.14T:aes256estream
29.6129.6429.69T:hc128
32.0832.4633.24T:ocelot1
33.7734.3834.61T:ocelot2
51.7952.1152.41T:amastrid
79.6779.7679.86T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.223.223.23chacha8
3.994.054.07salsa208
4.304.324.37chacha12
4.46?4.64?4.98?T:aes128ctr
5.025.055.12salsa2012
5.205.275.38T:speck6496ctr
5.345.455.59T:speck64128ctr
5.756.016.14aes256ctr
6.026.136.28T:speck128192ctr
6.066.156.27T:speck128128ctr
6.326.376.40chacha20
6.276.426.56T:speck128256ctr
7.177.227.24salsa20
8.588.638.73T:trivium
10.5610.7110.86T:rabbit
10.9311.0111.12T:simon6496ctr
11.1811.2311.35T:snow20
12.3612.4212.52T:cryptmtv3
12.5712.7012.80T:simon64128ctr
14.0914.1714.28tango642
14.7714.8915.02xsalsa20
16.0916.2516.45T:aes128estream
16.8317.0217.35T:lexv2
17.2017.2617.49T:nlsv2
17.3917.4417.65T:simon128256ctr
17.4617.5517.74T:simon128128ctr
24.1524.2924.53T:sosemanuk
24.4224.7124.81T:aes256estream
29.2729.4330.37T:aes192ctr
51.1853.1853.58T:tpy6
81.2081.5581.84T:panama
110.36111.68113.58T:ocelot1
113.72114.27115.14T:tpypy
112.95114.75117.23T:ocelot2
113.57115.06115.67T:tpy
147.92149.92152.33T:amastrid
246.74247.13247.49T:hc128
687.71688.40689.17T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
26.49?26.84?29.77?T:speck6496ctr
26.9527.3128.31T:speck64128ctr
27.2327.5829.04chacha8
28.0328.7830.21T:speck128256ctr
28.6628.9329.82T:speck128192ctr
35.7236.1736.60chacha12
35.9936.3837.27T:speck128128ctr
37.4038.8340.90T:aes128ctr
45.2647.0949.32salsa208
45.2447.3949.12aes256ctr
52.0452.5753.28chacha20
54.9455.4156.47T:trivium
63.4264.1064.94T:rabbit
66.2866.6167.09salsa2012
71.8072.7574.12T:simon6496ctr
75.3375.9776.55salsa20
80.0480.8282.26T:cryptmtv3
80.2781.2383.51T:aes128estream
84.5685.6787.03T:simon64128ctr
89.8191.8694.55T:snow20
92.5993.2994.26T:nlsv2
93.0293.7594.62T:aes256estream
99.57100.19101.00T:lexv2
107.31107.85110.24tango642
115.41116.42117.67T:simon128128ctr
120.67122.41125.07T:simon128256ctr
135.80136.81138.12xsalsa20
193.28194.23197.02T:sosemanuk
234.91238.83244.28T:aes192ctr
401.76405.60407.74T:tpy6
639.66646.60658.10T:panama
728.56742.30759.45T:ocelot2
727.11749.62768.32T:ocelot1
883.96894.86920.49T:tpy
902.10906.99919.61T:tpypy
978.27992.511008.14T:amastrid
1970.711973.171976.80T:hc128
5498.695502.445508.50T:hc256