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; Zen (800f11); 2017 AMD Ryzen 7 1700; 8 x 3000MHz; rumba7, supercop-20240909

[Page version: 20241006 02:11:59]

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.440.450.45T:aes128ctr
0.50?0.51?0.57?T:aes192ctr
0.580.580.59aes256ctr
0.730.740.75tango642
0.930.940.96chacha8
1.221.231.24salsa208
1.261.271.30chacha12
1.761.761.77salsa2012
1.801.811.82T:speck6496ctr
1.821.821.83T:hc128
1.861.891.90T:speck64128ctr
1.951.982.00chacha20
2.092.102.11T:cryptmtv3
2.172.192.21T:speck128128ctr
2.102.222.27T:tpy
2.242.272.28T:speck128192ctr
2.312.312.31T:trivium
2.312.332.36T:tpy6
2.332.362.38T:speck128256ctr
2.422.492.54T:sosemanuk
2.532.552.58T:hc256
2.632.652.65T:nlsv2
2.672.702.72T:simon6496ctr
2.822.832.83salsa20
2.822.832.83xsalsa20
2.872.882.89T:simon64128ctr
2.982.993.00T:panama
2.992.993.01T:rabbit
3.333.343.35T:snow20
3.813.883.92T:tpypy
4.034.054.06T:simon128256ctr
4.054.064.06T:simon128128ctr
4.214.234.23T:lexv2
9.169.179.20T:aes128estream
13.3213.3613.38T:aes256estream
18.4718.5518.82T:ocelot1
20.3820.5020.75T:ocelot2
33.6335.0535.84T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.480.480.48T:aes128ctr
0.620.620.62aes256ctr
0.900.900.90tango642
0.940.950.96T:aes192ctr
0.950.960.97chacha8
1.251.251.25salsa208
1.291.291.32chacha12
1.781.781.78salsa2012
1.851.861.86T:speck6496ctr
1.921.931.94T:speck64128ctr
1.982.002.01chacha20
2.242.252.26T:speck128128ctr
2.312.332.33T:speck128192ctr
2.392.412.42T:speck128256ctr
2.422.422.42T:trivium
2.642.652.65T:cryptmtv3
2.742.742.78T:sosemanuk
2.792.802.80T:nlsv2
2.842.842.85salsa20
2.892.912.92T:simon6496ctr
2.942.942.95xsalsa20
2.993.003.01T:tpy6
3.083.093.09T:rabbit
3.223.223.23T:simon64128ctr
3.433.433.43T:snow20
3.713.793.82T:tpy
3.953.953.96T:panama
4.324.324.33T:simon128128ctr
4.374.374.37T:lexv2
4.594.604.60T:simon128256ctr
4.904.904.91T:hc128
5.425.455.47T:tpypy
9.249.249.27T:aes128estream
10.9810.9911.00T:hc256
13.4413.4513.47T:aes256estream
19.6519.6819.86T:ocelot1
22.2522.3022.44T:ocelot2
35.5636.4936.76T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.520.530.54T:aes128ctr
0.660.670.68aes256ctr
0.980.981.00chacha8
1.171.181.19tango642
1.281.281.28salsa208
1.341.351.36chacha12
1.601.621.66T:aes192ctr
1.811.811.83salsa2012
1.931.931.95T:speck6496ctr
1.992.002.00T:speck64128ctr
2.002.022.03chacha20
2.342.352.35T:speck128128ctr
2.422.432.45T:speck128192ctr
2.492.502.51T:speck128256ctr
2.602.602.61T:trivium
2.872.882.88salsa20
3.123.133.14T:nlsv2
3.143.143.15xsalsa20
3.223.233.33T:sosemanuk
3.233.243.25T:rabbit
3.243.243.25T:simon6496ctr
3.583.593.59T:snow20
3.783.793.79T:simon64128ctr
3.984.004.00T:cryptmtv3
4.134.164.18T:tpy6
4.614.624.63T:lexv2
4.764.774.77T:simon128128ctr
5.485.505.51T:simon128256ctr
5.565.575.68T:panama
6.306.366.47T:tpy
7.978.098.17T:tpypy
9.359.369.38T:aes128estream
10.0410.0410.05T:hc128
13.6313.6713.71T:aes256estream
21.5821.6621.74T:ocelot1
25.0225.0525.07T:hc256
25.2525.3125.47T:ocelot2
37.2137.7939.05T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.690.700.74T:aes128ctr
0.870.880.92aes256ctr
1.111.121.13chacha8
1.441.471.50salsa208
1.541.551.56chacha12
1.871.891.91tango642
2.032.072.08salsa2012
2.162.162.20T:speck6496ctr
2.242.242.31T:speck64128ctr
2.372.382.39chacha20
2.672.682.71T:speck128128ctr
2.722.722.73T:speck128192ctr
2.782.792.82T:speck128256ctr
3.053.083.11T:trivium
3.203.213.21salsa20
3.373.403.42T:aes192ctr
3.603.613.65T:rabbit
3.873.893.90T:nlsv2
3.923.933.93xsalsa20
3.963.994.00T:snow20
4.474.484.63T:sosemanuk
4.644.654.65T:cryptmtv3
4.724.734.76T:simon6496ctr
5.245.295.31T:lexv2
5.935.966.02T:simon64128ctr
6.966.977.01T:simon128128ctr
7.127.147.18T:tpy6
9.679.689.70T:aes128estream
9.829.849.90T:panama
10.3110.3210.34T:simon128256ctr
13.3513.5514.19T:tpy
14.0414.1214.14T:aes256estream
15.0915.2615.49T:tpypy
23.7223.7523.77T:hc128
26.6426.7426.76T:ocelot1
32.9033.2433.86T:ocelot2
44.9145.0245.55T:amastrid
62.4762.5062.53T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.31?2.41?2.67?T:aes128ctr
2.622.642.70chacha8
2.73?2.73?3.36?aes256ctr
3.03?3.12?3.41?salsa208
3.523.673.80chacha12
4.144.204.41salsa2012
4.894.924.92T:speck6496ctr
4.97?5.11?5.53?T:speck64128ctr
5.455.585.86T:speck128192ctr
5.565.615.91T:speck128128ctr
5.625.645.70chacha20
6.146.206.23salsa20
6.256.256.27T:speck128256ctr
8.288.649.08T:rabbit
8.848.949.09T:simon6496ctr
8.978.989.03T:trivium
9.069.129.44T:snow20
10.0510.3010.31T:simon64128ctr
10.6210.7510.81tango642
11.7511.7511.89T:cryptmtv3
12.3312.5012.69xsalsa20
13.6213.6413.91T:lexv2
13.6213.7013.86T:aes128estream
14.3014.4514.45T:simon128128ctr
15.5015.6215.89T:nlsv2
16.5316.6916.98T:simon128256ctr
19.1619.3319.86T:aes256estream
19.6219.6219.62T:sosemanuk
25.4525.9826.23T:aes192ctr
46.2546.5847.09T:tpy6
64.3164.5665.27T:panama
90.3690.8891.50T:ocelot1
103.92104.38104.94T:tpy
109.09109.88110.70T:tpypy
119.91124.64129.20T:ocelot2
126.34127.12128.06T:amastrid
199.00199.27199.36T:hc128
541.69541.94542.12T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.88?17.88?20.62?T:aes128ctr
19.88?19.88?23.00?T:speck6496ctr
19.88?20.38?22.38?T:speck64128ctr
21.50?21.88?25.75?chacha8
22.2523.5024.25aes256ctr
24.0024.1226.50T:speck128256ctr
24.50?28.12?31.00?T:speck128128ctr
28.88?30.12?33.00?T:speck128192ctr
32.25?34.50?36.25?chacha12
43.6243.6245.62T:simon6496ctr
43.6244.1244.50salsa208
45.6246.1247.62chacha20
50.6252.8855.12T:rabbit
53.0053.0057.12T:simon64128ctr
55.2555.2555.38T:trivium
56.1256.1256.75salsa2012
59.8860.3861.62T:aes128estream
71.2571.5071.88T:aes256estream
70.7572.2572.25T:simon128128ctr
71.5074.2576.38T:snow20
78.2578.3878.75T:cryptmtv3
80.3880.5083.25T:lexv2
80.8881.0081.00salsa20
80.7581.8881.88tango642
81.1282.2584.12T:nlsv2
86.5086.5087.62T:simon128256ctr
131.12132.50133.62xsalsa20
155.38155.62155.88T:sosemanuk
206.62206.75208.88T:aes192ctr
352.50354.00356.12T:tpy6
507.38511.88522.50T:panama
591.62600.50605.00T:ocelot1
816.38818.38823.12T:tpy
814.38830.38858.75T:ocelot2
836.88844.75855.62T:amastrid
848.62853.75860.88T:tpypy
1588.621589.121591.25T:hc128
4329.004332.254335.38T:hc256