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-20241022

[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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.940.950.96T:aes128ctr
0.991.001.01tango642
1.041.041.05chacha8
1.221.221.24aes256ctr
1.221.231.24salsa208
1.461.471.49chacha12
1.421.481.50T:aes192ctr
1.731.761.80salsa2012
2.072.072.07T:speck6496ctr
2.122.132.14T:trivium
2.142.152.16T:speck64128ctr
2.292.312.32chacha20
2.462.472.49T:hc128
2.642.652.67T:cryptmtv3
2.662.672.69T:speck128128ctr
2.732.732.74T:speck128192ctr
2.712.752.91T:tpy
2.782.792.81xsalsa20
2.792.802.81salsa20
2.802.812.82T:speck128256ctr
2.932.962.97T:simon6496ctr
3.083.093.11T:simon64128ctr
3.033.163.25T:tpy6
3.273.283.29T:sosemanuk
3.653.683.72T:hc256
3.653.713.75T:nlsv2
3.743.753.76T:snow20
3.823.833.84T:rabbit
3.863.893.91T:panama
4.404.464.53T:tpypy
4.504.534.55T:simon128128ctr
4.82?5.19?5.73?T:simon128256ctr
5.805.825.83T:lexv2
11.3611.3911.40T:aes128estream
18.1418.2418.60T:aes256estream
21.9622.3022.83T:ocelot1
23.1923.5124.57T:ocelot2
40.0641.5443.33T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.990.990.99T:aes128ctr
1.071.071.08chacha8
1.201.201.21tango642
1.251.251.26salsa208
1.271.281.28aes256ctr
1.491.501.51chacha12
1.771.791.81salsa2012
1.982.012.02T:aes192ctr
2.112.122.12T:speck6496ctr
2.202.202.20T:speck64128ctr
2.232.242.24T:trivium
2.332.342.34chacha20
2.722.722.73T:speck128128ctr
2.782.782.79T:speck128192ctr
2.822.822.83salsa20
2.862.862.86T:speck128256ctr
2.942.942.95xsalsa20
3.123.123.13T:cryptmtv3
3.143.153.15T:simon6496ctr
3.403.413.42T:simon64128ctr
3.593.603.60T:sosemanuk
3.863.873.88T:snow20
3.853.883.90T:nlsv2
3.883.954.00T:tpy6
3.953.953.96T:rabbit
4.494.514.56T:tpy
4.814.824.83T:simon128128ctr
5.105.115.12T:panama
5.685.706.08T:simon128256ctr
5.985.996.00T:lexv2
6.236.266.30T:tpypy
6.286.296.30T:hc128
11.4511.4611.47T:aes128estream
14.3514.3614.38T:hc256
18.3318.3618.61T:aes256estream
23.5423.7424.10T:ocelot1
24.8524.9525.69T:ocelot2
42.2343.0144.22T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.051.051.07T:aes128ctr
1.111.121.13chacha8
1.291.291.30salsa208
1.351.361.37aes256ctr
1.521.531.55chacha12
1.531.541.55tango642
1.821.821.85salsa2012
2.192.202.20T:speck6496ctr
2.272.282.28T:speck64128ctr
2.392.402.41chacha20
2.412.422.43T:trivium
2.792.802.81T:speck128128ctr
2.782.822.87T:aes192ctr
2.852.862.86T:speck128192ctr
2.852.862.88salsa20
2.932.942.94T:speck128256ctr
3.183.193.19xsalsa20
3.463.473.48T:simon6496ctr
3.943.953.97T:simon64128ctr
4.074.074.08T:snow20
4.144.154.16T:rabbit
4.204.204.22T:sosemanuk
4.204.224.26T:nlsv2
4.414.424.43T:cryptmtv3
5.295.315.32T:simon128128ctr
5.135.325.40T:tpy6
6.286.296.30T:lexv2
6.50?6.71?7.32?T:simon128256ctr
7.137.157.18T:panama
7.317.397.49T:tpy
9.109.159.18T:tpypy
11.5611.5711.59T:aes128estream
12.6412.6412.65T:hc128
18.5218.5718.80T:aes256estream
25.9126.2126.44T:ocelot1
27.2327.4028.09T:ocelot2
32.1532.1932.22T:hc256
45.1145.2046.94T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.311.331.37chacha8
1.321.331.36T:aes128ctr
1.541.551.56salsa208
1.701.741.79aes256ctr
1.801.821.84chacha12
2.132.142.17salsa2012
2.432.442.45T:speck6496ctr
2.442.462.50tango642
2.512.522.53T:speck64128ctr
2.762.782.82chacha20
2.862.882.89T:trivium
3.043.053.07T:speck128128ctr
3.103.133.14T:speck128192ctr
3.183.193.21T:speck128256ctr
3.273.283.30salsa20
4.144.154.18xsalsa20
4.584.594.63T:snow20
4.664.674.71T:rabbit
4.904.914.92T:cryptmtv3
4.89?5.00?5.51?T:aes192ctr
5.015.075.14T:nlsv2
5.105.125.16T:simon6496ctr
5.825.855.87T:sosemanuk
6.55?6.59?7.57?T:simon64128ctr
7.087.097.13T:lexv2
8.188.348.85T:simon128128ctr
8.638.688.94T:tpy6
10.1410.1510.17T:simon128256ctr
11.8911.9311.99T:aes128estream
12.5412.5812.63T:panama
15.0415.0815.49T:tpy
16.3916.6117.01T:tpypy
18.9519.0219.25T:aes256estream
29.5329.5429.58T:hc128
32.1432.3832.56T:ocelot1
33.3633.7434.18T:ocelot2
52.7453.0455.53T:amastrid
79.6379.6979.73T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.313.333.34chacha8
4.024.054.08salsa208
4.334.414.47chacha12
4.454.624.92T:aes128ctr
5.065.125.20salsa2012
5.225.315.39T:speck6496ctr
5.315.415.50T:speck64128ctr
6.056.166.33aes256ctr
6.086.196.30T:speck128128ctr
6.146.196.34T:speck128192ctr
6.236.336.36T:speck128256ctr
6.426.426.44chacha20
7.197.237.30salsa20
8.808.898.95T:trivium
10.7310.8911.02T:rabbit
11.0311.1111.22T:simon6496ctr
11.2711.3311.41T:snow20
12.5212.5912.66T:cryptmtv3
12.6912.7512.86T:simon64128ctr
13.9814.1114.25tango642
14.8614.9815.02xsalsa20
16.2016.3016.39T:aes128estream
16.9117.0217.16T:lexv2
17.2817.3818.00T:nlsv2
17.4817.5617.70T:simon128256ctr
17.5817.6217.78T:simon128128ctr
24.3124.4824.72T:sosemanuk
25.2825.5225.83T:aes256estream
31.7732.8334.28T:aes192ctr
52.1452.7253.98T:tpy6
81.4781.6781.91T:panama
110.02111.70114.55T:ocelot1
111.53112.27113.03T:tpy
112.72114.28115.23T:ocelot2
113.81117.31118.09T:tpypy
149.94151.92153.69T:amastrid
246.25246.48246.72T:hc128
686.83687.44688.11T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
26.7527.1227.50T:speck6496ctr
27.7528.2528.50T:speck64128ctr
28.3828.6229.25chacha8
31.3832.0033.00T:speck128128ctr
32.0032.3832.75T:speck128192ctr
32.5033.1233.38T:speck128256ctr
36.3836.7537.88chacha12
37.12?38.50?41.62?T:aes128ctr
46.1248.7550.00aes256ctr
54.0054.6255.50salsa208
53.0055.0057.38chacha20
56.3856.8857.12T:trivium
65.1266.1269.38T:rabbit
66.3866.7567.38salsa2012
72.6273.7574.50T:simon6496ctr
81.5082.7583.75salsa20
82.0082.7583.38T:aes128estream
83.1284.0086.38T:cryptmtv3
85.6286.8887.62T:simon64128ctr
89.7591.1293.50T:snow20
93.1294.1295.25T:aes256estream
94.0094.7599.88T:nlsv2
100.88101.75102.62T:lexv2
106.38106.88107.88tango642
114.38116.38117.50T:simon128128ctr
119.50120.38122.00T:simon128256ctr
142.62144.12144.62xsalsa20
194.50196.25199.12T:sosemanuk
258.38265.50269.50T:aes192ctr
398.62402.62434.62T:tpy6
639.38641.50644.50T:panama
732.12744.00763.62T:ocelot2
743.62760.12771.00T:ocelot1
884.25890.88896.12T:tpy
886.88895.12905.00T:tpypy
991.00998.621016.62T:amastrid
1968.251970.001972.75T:hc128
5493.755499.885502.88T:hc256