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 2 (830f10); 2019 AMD EPYC 7742; 64 x 2250MHz; rome0, supercop-20240716

[Page version: 20240726 23:46:00]

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.


Implementation notes

Graphs: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.390.390.40T:aes192ctr
0.430.440.44T:aes128ctr
0.520.520.53chacha8
0.590.590.61aes256ctr
0.640.640.64salsa208
0.700.710.72tango642
0.720.720.72chacha12
0.910.910.95T:speck6496ctr
0.910.920.92salsa2012
0.91?0.95?1.02?T:speck64128ctr
1.081.101.15T:speck128128ctr
1.101.111.12chacha20
1.121.141.15T:speck128192ctr
1.181.181.21T:speck128256ctr
1.361.371.37T:simon6496ctr
1.441.441.44T:simon64128ctr
1.461.461.46xsalsa20
1.461.461.46salsa20
1.581.601.60T:hc128
1.931.941.95T:simon128128ctr
2.012.042.06T:simon128256ctr
2.112.142.18T:cryptmtv3
2.182.192.20T:hc256
2.232.232.23T:sosemanuk
2.342.352.37T:trivium
2.432.512.58T:tpy
2.512.532.54T:nlsv2
2.512.532.54T:panama
2.502.562.61T:tpy6
2.64?2.71?2.95?T:snow20
2.832.832.84T:rabbit
3.843.913.99T:tpypy
4.154.154.17T:lexv2
9.049.079.08T:aes128estream
13.0313.0513.06T:aes256estream
17.1417.2417.41T:ocelot1
18.5118.7118.82T:ocelot2
30.1331.2332.09T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.450.460.46T:aes128ctr
0.540.540.54chacha8
0.580.580.59T:aes192ctr
0.630.630.64aes256ctr
0.650.650.65salsa208
0.730.730.73chacha12
0.850.860.86tango642
0.920.920.93salsa2012
0.950.950.97T:speck6496ctr
0.980.991.04T:speck64128ctr
1.121.121.13chacha20
1.151.151.18T:speck128128ctr
1.181.181.19T:speck128192ctr
1.231.231.25T:speck128256ctr
1.471.471.47salsa20
1.561.561.56xsalsa20
1.591.591.59T:simon6496ctr
1.751.751.76T:simon64128ctr
2.222.222.23T:simon128128ctr
2.452.452.47T:trivium
2.482.482.49T:sosemanuk
2.482.492.49T:simon128256ctr
2.612.632.65T:cryptmtv3
2.672.682.69T:nlsv2
2.792.802.98T:snow20
2.912.912.92T:rabbit
3.213.233.26T:tpy6
3.373.383.38T:panama
3.974.024.05T:tpy
4.304.304.31T:lexv2
4.814.824.82T:hc128
5.435.475.52T:tpypy
9.099.099.10T:aes128estream
10.5710.5810.58T:hc256
13.1113.1213.12T:aes256estream
18.8918.9218.98T:ocelot1
20.3720.4120.45T:ocelot2
32.1832.6233.19T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.480.490.50T:aes128ctr
0.550.560.56chacha8
0.670.670.67salsa208
0.680.680.70aes256ctr
0.750.750.76chacha12
0.900.910.91T:aes192ctr
0.940.940.95salsa2012
1.001.011.01T:speck6496ctr
1.051.051.07T:speck64128ctr
1.091.101.11tango642
1.141.151.16chacha20
1.221.221.24T:speck128128ctr
1.251.261.28T:speck128192ctr
1.311.311.33T:speck128256ctr
1.481.491.49salsa20
1.731.741.74xsalsa20
1.961.961.96T:simon6496ctr
2.282.282.28T:simon64128ctr
2.632.632.63T:trivium
2.682.712.71T:simon128128ctr
2.942.943.14T:snow20
2.962.982.99T:sosemanuk
3.033.043.06T:rabbit
3.063.073.08T:nlsv2
3.203.203.26T:simon128256ctr
3.973.973.99T:cryptmtv3
4.384.454.51T:tpy6
4.534.544.55T:lexv2
4.784.784.79T:panama
6.476.516.57T:tpy
7.958.058.06T:tpypy
9.009.059.21T:aes128estream
10.1810.1810.19T:hc128
13.2213.2613.27T:aes256estream
21.5921.6121.89T:ocelot1
23.2523.6023.65T:ocelot2
24.5424.5724.62T:hc256
34.1734.4835.64T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.610.650.65T:aes128ctr
0.750.750.77chacha8
0.880.900.90salsa208
1.041.041.04chacha12
1.061.091.12aes256ctr
1.211.211.22T:speck6496ctr
1.231.241.25salsa2012
1.261.261.28T:speck64128ctr
1.541.541.55T:speck128128ctr
1.591.591.64T:speck128192ctr
1.591.591.63T:speck128256ctr
1.621.621.62chacha20
1.761.771.77tango642
1.771.781.80T:aes192ctr
1.931.931.93salsa20
2.582.592.59xsalsa20
3.063.063.06T:trivium
3.313.343.53T:snow20
3.433.433.44T:rabbit
3.533.533.55T:simon6496ctr
3.893.923.93T:nlsv2
4.074.074.07T:simon64128ctr
4.244.274.28T:sosemanuk
4.354.394.41T:cryptmtv3
5.185.195.22T:lexv2
5.225.235.28T:simon128128ctr
5.595.605.71T:simon128256ctr
7.457.607.68T:tpy6
8.518.548.60T:panama
9.289.369.38T:aes128estream
13.1413.1813.33T:tpy
13.5913.6213.68T:aes256estream
15.0615.1315.16T:tpypy
24.5724.5724.59T:hc128
29.0029.1629.26T:ocelot1
30.5130.6430.75T:ocelot2
40.4940.6641.08T:amastrid
61.7661.8061.91T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
1.951.982.09T:aes128ctr
2.582.612.64chacha8
3.143.163.19salsa208
3.223.223.22T:speck6496ctr
3.413.413.41T:speck64128ctr
3.613.643.72chacha12
4.034.064.06T:speck128256ctr
4.054.064.08salsa2012
4.054.094.09T:speck128192ctr
4.114.114.11T:speck128128ctr
5.315.425.88aes256ctr
5.645.805.80chacha20
6.066.096.16salsa20
7.597.597.67T:rabbit
7.947.958.14T:simon6496ctr
8.318.318.64T:snow20
8.738.738.73T:simon64128ctr
8.77?8.78?9.75?T:trivium
9.489.759.86T:cryptmtv3
10.1110.1910.23tango642
11.9712.1412.41xsalsa20
12.4112.5512.70T:simon128128ctr
12.4812.7512.98T:aes192ctr
12.9213.0513.14T:aes128estream
13.3613.3913.39T:lexv2
13.8113.9214.16T:simon128256ctr
18.2018.3018.44T:aes256estream
18.3618.5918.70T:sosemanuk
18.4418.6218.86T:nlsv2
46.2546.5047.50T:tpy6
55.9756.3456.77T:panama
98.75100.06100.30T:tpy
103.70105.03105.95T:tpypy
115.33115.70116.94T:amastrid
121.59122.75124.64T:ocelot1
122.56125.62126.91T:ocelot2
208.53208.64209.06T:hc128
539.22539.25539.45T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
17.12?17.25?19.50?T:aes128ctr
19.25?19.25?22.25?T:speck6496ctr
20.62?21.50?23.12?T:speck64128ctr
22.2522.5022.62chacha8
22.6222.6224.25T:speck128192ctr
23.1223.1223.25T:speck128256ctr
24.0024.0024.00T:speck128128ctr
25.7525.7527.75aes256ctr
31.3831.3831.38chacha12
41.8841.8842.88salsa208
43.7544.6245.88T:simon6496ctr
45.7545.7545.75T:rabbit
47.5047.6247.62chacha20
48.8849.1250.12T:simon64128ctr
52.7553.0053.00salsa2012
54.0054.0056.88T:trivium
58.6259.3860.50T:aes128estream
61.1261.5063.62T:cryptmtv3
65.0066.1266.25T:snow20
68.0068.0068.50T:aes256estream
72.1272.2574.50T:simon128128ctr
74.7575.0075.00salsa20
77.0077.1278.00tango642
78.0078.6279.38T:lexv2
83.5086.6287.62T:simon128256ctr
86.2586.8887.75T:nlsv2
104.25104.88107.38T:aes192ctr
122.50122.50125.00xsalsa20
146.50147.75147.75T:sosemanuk
351.50356.88370.12T:tpy6
445.12447.25449.62T:panama
745.50756.88767.12T:amastrid
781.50784.00784.50T:tpy
806.88810.62815.00T:tpypy
851.50867.25902.38T:ocelot2
856.38876.38885.88T:ocelot1
1667.381667.751669.12T:hc128
4314.504315.624318.12T:hc256