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

[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.940.950.96T:aes128ctr
1.041.041.05chacha8
1.061.071.09tango642
1.221.231.24aes256ctr
1.291.331.37salsa208
1.461.471.48chacha12
1.431.481.53T:aes192ctr
1.841.851.87salsa2012
2.062.072.07T:speck6496ctr
2.162.182.19T:speck64128ctr
2.302.302.32chacha20
2.462.482.51T:hc128
2.642.652.66T:speck128128ctr
2.722.732.74T:speck128192ctr
2.812.822.82T:speck128256ctr
2.892.902.91xsalsa20
2.902.912.92salsa20
2.922.922.93T:cryptmtv3
2.942.962.98T:simon6496ctr
3.083.093.10T:simon64128ctr
3.273.283.30T:sosemanuk
3.463.483.53T:tpy
3.653.673.70T:hc256
3.623.683.77T:tpy6
3.763.763.76T:trivium
3.743.783.80T:nlsv2
3.863.883.90T:panama
4.014.024.04T:snow20
4.504.524.55T:simon128128ctr
4.574.594.61T:rabbit
4.634.815.03T:simon128256ctr
5.255.305.36T:tpypy
5.815.825.84T:lexv2
11.3811.4011.41T:aes128estream
18.2018.2418.28T:aes256estream
21.6021.7421.94T:ocelot1
23.2523.3923.50T:ocelot2
40.4041.5342.53T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.980.990.99T:aes128ctr
1.071.071.07chacha8
1.271.281.28aes256ctr
1.281.291.30tango642
1.341.361.38salsa208
1.491.501.50chacha12
1.871.881.89salsa2012
1.941.961.98T:aes192ctr
2.112.122.12T:speck6496ctr
2.212.222.23T:speck64128ctr
2.332.332.34chacha20
2.702.702.70T:speck128128ctr
2.782.782.79T:speck128192ctr
2.862.862.87T:speck128256ctr
2.932.942.95salsa20
3.073.073.08xsalsa20
3.153.163.16T:simon6496ctr
3.403.403.41T:cryptmtv3
3.413.413.41T:simon64128ctr
3.593.603.61T:sosemanuk
3.923.923.92T:trivium
3.994.014.02T:nlsv2
4.144.154.16T:snow20
4.474.514.53T:tpy6
4.744.764.76T:rabbit
4.804.814.81T:simon128128ctr
5.095.105.11T:panama
5.315.335.36T:tpy
5.785.825.96T:simon128256ctr
5.996.006.00T:lexv2
6.306.306.31T:hc128
7.117.147.17T:tpypy
11.4611.4711.47T:aes128estream
14.3314.3514.35T:hc256
18.3218.3418.37T:aes256estream
23.3523.4123.47T:ocelot1
24.7724.8124.87T:ocelot2
42.4643.2643.97T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
1.041.041.06T:aes128ctr
1.111.111.11chacha8
1.341.351.37aes256ctr
1.391.411.44salsa208
1.521.531.55chacha12
1.631.631.65tango642
1.921.931.93salsa2012
2.192.202.21T:speck6496ctr
2.292.292.30T:speck64128ctr
2.362.372.38chacha20
2.732.742.78T:aes192ctr
2.772.782.79T:speck128128ctr
2.852.862.87T:speck128192ctr
2.932.942.94T:speck128256ctr
2.982.992.99salsa20
3.353.363.39xsalsa20
3.473.473.49T:simon6496ctr
3.943.943.95T:simon64128ctr
4.194.204.21T:sosemanuk
4.204.214.21T:trivium
4.354.354.36T:snow20
4.464.514.56T:nlsv2
4.954.964.96T:cryptmtv3
5.015.035.04T:rabbit
5.265.285.32T:simon128128ctr
5.745.796.03T:tpy6
6.296.296.29T:lexv2
7.147.177.19T:panama
7.447.527.64T:simon128256ctr
8.388.468.64T:tpy
10.1410.1810.27T:tpypy
11.5811.6011.61T:aes128estream
12.6512.6612.68T:hc128
18.5018.5118.57T:aes256estream
25.9526.0826.31T:ocelot1
27.0727.1827.33T:ocelot2
32.1332.1632.18T:hc256
45.7046.1347.02T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
1.311.331.34chacha8
1.321.331.37T:aes128ctr
1.691.721.76salsa208
1.701.731.76aes256ctr
1.811.821.85chacha12
2.292.302.31salsa2012
2.422.442.45T:speck6496ctr
2.532.532.55T:speck64128ctr
2.622.632.65tango642
2.752.782.79chacha20
3.043.053.06T:speck128128ctr
3.123.133.15T:speck128192ctr
3.203.203.23T:speck128256ctr
3.493.513.53salsa20
4.504.524.55xsalsa20
4.594.765.08T:aes192ctr
4.914.914.93T:snow20
4.924.944.96T:trivium
5.135.145.16T:simon6496ctr
5.225.245.25T:cryptmtv3
5.675.715.74T:nlsv2
5.755.775.80T:rabbit
5.825.855.87T:sosemanuk
6.54?6.59?7.73?T:simon64128ctr
7.087.107.13T:lexv2
8.168.518.81T:simon128128ctr
9.629.659.80T:tpy6
10.7910.9511.28T:simon128256ctr
11.8811.9211.95T:aes128estream
12.5512.5612.60T:panama
16.6316.6916.82T:tpy
18.1918.3218.47T:tpypy
18.9719.0319.13T:aes256estream
29.5429.5929.69T:hc128
32.8533.3033.90T:ocelot1
33.2733.4833.64T:ocelot2
52.7653.4353.57T:amastrid
79.5279.5679.61T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.343.383.39chacha8
4.384.394.44salsa208
4.334.424.48chacha12
4.564.625.06T:aes128ctr
5.085.165.25T:speck64128ctr
5.235.315.39T:speck6496ctr
5.555.565.58salsa2012
5.59?6.16?6.31?aes256ctr
6.176.206.27T:speck128128ctr
6.196.256.39T:speck128192ctr
6.206.286.34T:speck128256ctr
6.416.416.41chacha20
7.837.887.92salsa20
11.0311.1611.31T:simon6496ctr
11.6111.6911.89T:snow20
12.7312.8012.86T:simon64128ctr
13.5813.6113.70T:cryptmtv3
14.2214.2714.30T:trivium
14.8614.9715.17T:rabbit
15.2015.3015.42tango642
16.2216.3016.41T:aes128estream
16.9217.0217.11T:lexv2
16.9817.1117.17xsalsa20
17.5617.6417.75T:simon128128ctr
20.7220.8120.95T:simon128256ctr
23.9224.1224.42T:nlsv2
24.2324.3824.58T:sosemanuk
25.0625.1925.28T:aes256estream
29.1929.8031.36T:aes192ctr
57.7758.1758.62T:tpy6
81.5381.6481.88T:panama
110.61112.92113.84T:ocelot2
121.00121.52122.28T:tpy
121.77123.12123.84T:tpypy
125.33127.72129.44T:ocelot1
147.39149.06151.77T:amastrid
246.33246.78247.36T:hc128
686.25686.67687.06T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
26.7527.1227.62T:speck6496ctr
27.7528.0028.25T:speck64128ctr
28.3829.1229.62chacha8
32.0032.3833.88T:speck128192ctr
32.6233.1234.75T:speck128128ctr
32.8833.1233.75T:speck128256ctr
36.6237.0037.38chacha12
37.6238.3841.12T:aes128ctr
46.88?49.62?52.25?aes256ctr
52.8853.1253.38chacha20
57.8858.7559.38salsa208
71.1271.2572.12salsa2012
72.5073.3874.38T:simon6496ctr
81.6281.8882.38T:aes128estream
85.2586.0087.75T:simon64128ctr
87.0087.7588.62T:cryptmtv3
87.7588.1288.62T:trivium
88.0088.2589.00salsa20
91.7592.5093.50T:snow20
92.6293.3894.12T:aes256estream
93.0094.1295.12T:rabbit
101.00101.62102.62T:lexv2
114.12115.00116.00tango642
115.25116.88117.38T:simon128128ctr
132.38134.12135.75T:nlsv2
139.75140.75142.12T:simon128256ctr
161.50162.50163.38xsalsa20
194.62195.88197.75T:sosemanuk
237.88251.50258.12T:aes192ctr
440.88444.25447.25T:tpy6
640.25643.25645.62T:panama
725.88736.00750.25T:ocelot2
798.62823.12863.12T:ocelot1
931.75939.50962.62T:tpypy
937.00955.25963.25T:tpy
983.75998.881022.50T:amastrid
1969.251972.881977.75T:hc128
5486.625489.625497.38T:hc256