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; Haswell+AES (306c3); 2013 Intel Xeon E3-1220 v3; 4 x 3100MHz; hiphop, supercop-20231107

[Page version: 20240719 07:49: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: old (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.550.560.56chacha8
0.620.620.63salsa208
0.730.740.75T:aes128ctr
0.770.780.79chacha12
0.770.780.79tango642
0.870.880.89salsa2012
0.980.991.01aes256ctr
0.981.001.02T:aes192ctr
1.031.041.05T:speck6496ctr
1.061.061.07T:speck64128ctr
1.201.211.21chacha20
1.251.261.27T:speck128128ctr
1.291.291.30T:speck128192ctr
1.331.341.34T:speck128256ctr
1.351.371.46salsa20
1.371.381.39xsalsa20
1.541.541.55T:simon6496ctr
1.591.591.60T:simon64128ctr
1.911.921.92T:trivium
2.102.152.17T:hc128
2.272.292.30T:simon128128ctr
2.262.332.36T:tpy
2.432.442.45T:cryptmtv3
2.462.482.51T:hc256
2.482.492.51T:simon128256ctr
2.582.602.61T:sosemanuk
2.612.672.84T:tpy6
2.732.772.79T:nlsv2
3.033.053.07T:panama
3.063.093.11T:rabbit
3.323.353.37T:snow20
3.643.803.92T:tpypy
4.464.484.50T:lexv2
9.079.109.11T:aes128estream
14.1914.2214.28T:aes256estream
18.8418.9619.06T:ocelot1
19.1919.4520.39T:ocelot2
32.0532.3432.42T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.580.580.58chacha8
0.640.640.64salsa208
0.790.790.80T:aes128ctr
0.800.800.80chacha12
0.890.900.90salsa2012
0.950.960.96tango642
1.051.051.06aes256ctr
1.081.081.09T:speck6496ctr
1.111.111.11T:speck64128ctr
1.221.231.23chacha20
1.311.311.31T:speck128128ctr
1.341.341.35T:speck128192ctr
1.381.391.39T:speck128256ctr
1.381.391.39T:aes192ctr
1.391.391.46salsa20
1.491.501.50xsalsa20
1.741.741.74T:simon6496ctr
1.931.931.93T:simon64128ctr
2.012.022.02T:trivium
2.582.582.59T:simon128128ctr
2.862.872.88T:sosemanuk
2.892.902.92T:nlsv2
2.952.962.96T:cryptmtv3
2.993.003.00T:simon128256ctr
3.173.193.20T:rabbit
3.413.443.49T:tpy6
3.433.453.47T:snow20
3.893.933.94T:tpy
4.044.054.06T:panama
4.614.624.63T:lexv2
5.245.355.39T:tpypy
5.405.435.43T:hc128
9.149.159.16T:aes128estream
11.1311.1311.15T:hc256
14.3214.3314.35T:aes256estream
20.0920.1420.19T:ocelot1
20.5920.6721.28T:ocelot2
33.6033.7233.75T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.610.620.62chacha8
0.670.680.68salsa208
0.830.840.85chacha12
0.870.880.88T:aes128ctr
0.930.930.94salsa2012
1.141.141.17aes256ctr
1.151.151.16T:speck6496ctr
1.181.181.18T:speck64128ctr
1.241.251.27tango642
1.251.261.27chacha20
1.391.391.39T:speck128128ctr
1.421.431.49salsa20
1.431.431.43T:speck128192ctr
1.471.471.48T:speck128256ctr
1.691.701.71xsalsa20
2.012.042.13T:aes192ctr
2.072.072.07T:simon6496ctr
2.192.192.19T:trivium
2.482.492.49T:simon64128ctr
3.053.063.06T:simon128128ctr
3.183.223.29T:nlsv2
3.333.363.37T:rabbit
3.383.403.42T:sosemanuk
3.603.613.64T:snow20
3.793.833.85T:simon128256ctr
4.274.284.29T:cryptmtv3
4.464.514.66T:tpy6
4.864.874.87T:lexv2
5.695.715.74T:panama
6.476.656.70T:tpy
7.767.917.96T:tpypy
9.239.249.25T:aes128estream
10.8710.8910.92T:hc128
14.4914.5014.54T:aes256estream
22.0722.1922.26T:ocelot1
22.5522.7023.22T:ocelot2
25.5525.5725.61T:hc256
35.1636.2636.35T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.860.870.88chacha8
0.960.981.04salsa208
1.161.171.17T:aes128ctr
1.171.181.19chacha12
1.301.311.32salsa2012
1.411.411.43T:speck6496ctr
1.441.451.45T:speck64128ctr
1.491.491.49aes256ctr
1.691.701.70T:speck128128ctr
1.741.751.76T:speck128192ctr
1.751.761.78chacha20
1.781.791.79T:speck128256ctr
1.971.992.01salsa20
2.062.072.10tango642
2.622.632.63T:trivium
2.692.712.73xsalsa20
3.633.643.66T:simon6496ctr
3.633.653.68T:simon64128ctr
3.713.763.81T:aes192ctr
3.793.813.83T:rabbit
3.883.903.94T:nlsv2
4.044.074.10T:snow20
4.774.804.82T:sosemanuk
4.814.814.83T:cryptmtv3
5.335.355.38T:simon128128ctr
5.515.535.55T:lexv2
5.795.805.82T:simon128256ctr
7.607.737.82T:tpy6
9.499.529.56T:aes128estream
10.1210.1610.24T:panama
13.4313.5613.67T:tpy
14.6914.7414.78T:tpypy
14.8814.9115.05T:aes256estream
25.3125.3625.43T:hc128
27.1027.2427.35T:ocelot1
27.4727.6728.25T:ocelot2
42.7242.9043.13T:amastrid
64.0064.0664.13T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.483.483.52chacha8
3.81?3.88?4.38?salsa208
4.364.384.44T:speck64128ctr
4.334.414.47T:speck6496ctr
4.484.504.52chacha12
4.484.524.56T:aes128ctr
4.834.884.95T:speck128192ctr
4.884.914.94salsa2012
4.924.985.02T:speck128256ctr
5.035.085.22T:speck128128ctr
5.485.485.50aes256ctr
6.256.276.41chacha20
6.977.007.03salsa20
8.278.288.34T:trivium
8.488.558.61T:simon6496ctr
9.279.479.55T:rabbit
9.899.979.97T:simon64128ctr
9.709.9810.11T:snow20
10.3410.3810.50T:cryptmtv3
12.4512.5012.55tango642
13.2313.2813.36T:aes128estream
13.2713.3013.39T:simon128128ctr
13.3413.3913.48xsalsa20
13.9514.0914.34T:lexv2
14.9515.1115.19T:nlsv2
15.2715.4215.42T:simon128256ctr
20.4520.5320.64T:aes256estream
20.4420.6120.72T:sosemanuk
25.67?25.91?28.86?T:aes192ctr
47.4848.3149.30T:tpy6
66.0666.4867.39T:panama
91.7092.2893.72T:ocelot2
92.1993.0594.20T:ocelot1
100.52102.31102.62T:tpypy
101.91102.88104.75T:tpy
121.58124.75125.44T:amastrid
205.33205.67206.97T:hc128
555.86556.25556.98T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
19.2519.6220.62T:speck6496ctr
20.0020.5021.00T:speck64128ctr
22.5022.5023.00T:speck128128ctr
25.5025.5027.00T:speck128192ctr
26.5027.3827.88T:speck128256ctr
35.1235.3835.62T:aes128ctr
41.0041.2541.50chacha8
43.2543.3843.88aes256ctr
45.2546.2548.00salsa208
51.2551.3851.50chacha12
51.5051.7553.38chacha20
52.6252.8853.12T:trivium
52.8853.2553.75T:simon6496ctr
55.7556.3857.12T:rabbit
59.3859.7560.62T:cryptmtv3
59.6259.8860.25T:aes128estream
61.5062.1262.75salsa20
62.3863.3863.38T:simon64128ctr
64.7565.0065.25salsa2012
76.6279.1280.12T:snow20
79.0079.5080.12T:aes256estream
79.6279.8880.25T:simon128128ctr
82.2582.7583.25T:nlsv2
84.5086.2589.12T:lexv2
89.8890.2592.25T:simon128256ctr
94.8895.2595.50tango642
112.50113.12114.12xsalsa20
163.75164.62165.25T:sosemanuk
208.38210.25211.88T:aes192ctr
365.75375.00385.00T:tpy6
523.38526.62531.50T:panama
597.62609.00619.38T:ocelot2
604.38613.25622.38T:ocelot1
771.88790.75801.12T:tpypy
818.75825.62832.62T:amastrid
821.00826.00830.00T:tpy
1646.251648.381657.38T:hc128
4446.124451.384458.62T:hc256