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; Broadwell+AES (406f1); 2016 Intel Xeon E5-2609 v4; 8 x 1700MHz; bolero, 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.15?0.54?2.10?chacha8
0.630.650.70salsa208
0.56?0.73?1.16?tango642
0.66?0.75?0.77?chacha12
0.750.760.76T:aes128ctr
0.910.920.94salsa2012
0.930.960.99T:aes192ctr
1.001.011.01aes256ctr
1.031.041.05T:speck6496ctr
0.981.071.08T:speck64128ctr
1.151.171.18chacha20
1.08?1.27?1.47?T:speck128128ctr
1.281.291.30T:speck128192ctr
1.321.331.34T:speck128256ctr
1.28?1.43?1.61?salsa20
1.441.451.45xsalsa20
1.511.521.53T:simon6496ctr
1.571.581.59T:simon64128ctr
1.751.791.84T:hc128
1.67?1.81?3.26?T:tpy
1.881.882.02T:trivium
1.921.941.95T:sosemanuk
1.90?2.12?3.58?T:nlsv2
2.02?2.15?2.27?T:tpy6
2.22?2.24?3.46?T:simon128128ctr
2.34?2.36?3.68?T:cryptmtv3
2.342.382.46T:hc256
2.322.422.48T:simon128256ctr
2.672.752.87T:tpypy
2.902.912.93T:rabbit
2.962.983.02T:panama
3.063.083.09T:snow20
3.914.204.22T:lexv2
8.508.528.54T:aes128estream
13.1113.1913.35T:aes256estream
14.64?17.27?18.38?T:ocelot1
19.1419.2820.45T:ocelot2
33.11?35.90?51.31?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.55?0.56?1.72?chacha8
0.660.660.70salsa208
0.770.770.78chacha12
0.790.790.79T:aes128ctr
0.88?0.89?1.21?tango642
0.930.940.95salsa2012
1.051.061.06aes256ctr
1.071.071.08T:speck6496ctr
1.101.101.11T:speck64128ctr
1.171.181.18chacha20
1.30?1.31?1.46?T:speck128128ctr
1.331.331.34T:speck128192ctr
1.321.341.35T:aes192ctr
1.371.371.37T:speck128256ctr
1.471.491.60salsa20
1.551.561.56xsalsa20
1.741.741.75T:simon6496ctr
1.931.941.94T:simon64128ctr
1.981.982.08T:trivium
2.25?2.26?3.35?T:nlsv2
2.452.452.46T:sosemanuk
2.51?2.52?3.43?T:simon128128ctr
2.752.812.87T:tpy6
2.86?2.87?3.86?T:cryptmtv3
2.832.882.91T:simon128256ctr
3.003.003.01T:rabbit
3.163.173.18T:snow20
3.17?3.26?4.32?T:tpy
3.943.953.97T:panama
4.124.164.21T:tpypy
4.334.344.35T:lexv2
5.205.215.23T:hc128
8.578.588.59T:aes128estream
10.5410.5510.60T:hc256
13.2313.2813.39T:aes256estream
18.4818.5619.26T:ocelot1
20.4420.4821.32T:ocelot2
36.11?37.44?48.48?T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.58?0.59?1.74?chacha8
0.680.690.72salsa208
0.780.790.80chacha12
0.850.850.86T:aes128ctr
0.970.970.98salsa2012
1.121.131.13T:speck6496ctr
1.141.151.16tango642
1.14?1.15?1.53?aes256ctr
1.151.151.16T:speck64128ctr
1.191.201.20chacha20
1.391.401.40T:speck128192ctr
1.431.431.43T:speck128256ctr
1.42?1.56?1.90?T:speck128128ctr
1.54?1.66?2.06?salsa20
1.741.751.75xsalsa20
1.921.952.06T:aes192ctr
2.102.112.12T:simon6496ctr
2.142.142.14T:trivium
2.522.522.53T:simon64128ctr
2.54?2.55?3.28?T:nlsv2
2.952.962.98T:simon128128ctr
3.153.163.18T:rabbit
3.323.333.34T:snow20
3.353.363.38T:sosemanuk
3.563.653.69T:simon128256ctr
3.904.064.14T:tpy6
4.264.284.29T:cryptmtv3
4.574.584.60T:lexv2
5.525.545.57T:panama
5.625.695.76T:tpy
6.356.426.48T:tpypy
8.658.689.11T:aes128estream
10.8210.8510.88T:hc128
13.4013.5114.14T:aes256estream
20.2920.4521.11T:ocelot1
22.4422.5322.95T:ocelot2
24.1424.1724.20T:hc256
38.13?38.37?53.39?T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.80?0.82?1.77?chacha8
0.950.960.97salsa208
1.061.071.11T:aes128ctr
1.081.111.12chacha12
1.331.341.35T:speck6496ctr
1.331.351.41salsa2012
1.391.411.47aes256ctr
1.651.661.68T:speck128192ctr
1.45?1.68?1.92?T:speck64128ctr
1.67?1.69?2.14?T:speck128128ctr
1.67?1.70?1.87?chacha20
1.691.701.71T:speck128256ctr
1.841.851.89tango642
2.082.112.22salsa20
2.562.572.58T:trivium
2.772.792.81xsalsa20
3.20?3.24?6.70?T:nlsv2
3.543.563.60T:rabbit
3.563.573.59T:simon64128ctr
3.583.653.86T:aes192ctr
3.723.743.79T:snow20
3.743.753.78T:simon6496ctr
4.834.854.88T:cryptmtv3
5.015.045.07T:simon128128ctr
5.185.205.24T:lexv2
5.405.415.43T:simon128256ctr
5.77?5.83?6.44?T:sosemanuk
7.047.137.29T:tpy6
8.938.968.99T:aes128estream
9.769.789.86T:panama
11.80?12.36?16.24?T:tpy
12.59?12.76?17.08?T:tpypy
13.7013.7513.86T:aes256estream
24.8825.1125.47T:ocelot1
26.00?26.08?36.08?T:hc128
27.2327.5327.71T:ocelot2
43.9144.2044.50T:amastrid
60.4160.4860.56T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.942.943.00chacha8
3.513.563.70T:aes128ctr
3.523.583.76salsa208
3.49?3.68?5.04?T:speck6496ctr
3.64?3.79?5.13?T:speck64128ctr
3.97?4.06?5.43?chacha12
4.284.314.40T:speck128192ctr
4.41?4.67?5.80?T:speck128256ctr
4.50?4.72?5.01?aes256ctr
4.814.895.20salsa2012
4.78?5.00?6.20?T:speck128128ctr
6.056.136.35chacha20
7.097.127.18salsa20
7.617.667.74T:trivium
7.84?8.33?11.05?T:simon6496ctr
8.288.478.76T:rabbit
8.598.799.03T:snow20
9.20?9.56?13.03?T:simon64128ctr
10.88?11.17?14.90?tango642
11.88?11.96?15.52?T:cryptmtv3
12.1312.2112.31T:aes128estream
12.58?12.95?17.74?T:simon128128ctr
12.9613.2313.42T:lexv2
13.7013.7613.88xsalsa20
13.52?14.05?35.68?T:nlsv2
14.2814.3414.55T:simon128256ctr
18.42?18.68?24.89?T:aes256estream
24.3524.4824.78T:aes192ctr
33.5233.6833.93T:sosemanuk
43.6644.1944.57T:tpy6
63.6663.8364.66T:panama
84.4985.5886.38T:ocelot1
90.4190.9791.14T:tpypy
91.2192.3295.55T:ocelot2
90.4793.7994.88T:tpy
119.98121.38122.64T:amastrid
213.96214.26214.82T:hc128
523.55524.17524.76T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
16.46?18.29?23.23?T:speck64128ctr
15.54?18.46?22.31?T:speck6496ctr
20.50?20.92?22.79?T:speck128192ctr
21.33?22.62?27.99?T:speck128256ctr
21.17?23.75?27.60?T:speck128128ctr
29.3329.6230.08T:aes128ctr
36.0036.0436.50chacha8
36.62?38.88?41.00?aes256ctr
43.7944.7145.17salsa2012
44.92?49.17?63.64?T:simon6496ctr
49.5850.2951.62T:trivium
49.5850.5053.04T:rabbit
53.5053.8854.38T:aes128estream
53.8354.2757.23salsa208
55.58?57.92?78.19?T:simon64128ctr
62.8364.0065.29salsa20
49.92?65.75?66.20?chacha12
68.0469.5372.99chacha20
68.0869.9272.25T:snow20
67.42?70.46?91.15?T:aes256estream
73.08?74.38?158.00?T:nlsv2
76.12?78.67?98.21?T:cryptmtv3
79.0479.9280.79T:lexv2
85.4685.9686.75T:simon128256ctr
83.50?86.04?117.48?tango642
81.01?103.36?105.82?T:simon128128ctr
114.17114.83115.42xsalsa20
195.62196.96200.17T:aes192ctr
268.88270.12273.54T:sosemanuk
334.29341.33359.21T:tpy6
500.00501.50506.67T:panama
542.62?555.75?625.17?T:ocelot1
590.08?603.25?701.98?T:ocelot2
709.71711.62713.62T:tpypy
791.25795.33804.38T:amastrid
787.35?1042.42?1080.56?T:tpy
1713.961715.881720.17T:hc128
4194.17?4203.38?4809.83?T:hc256