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-1275 V3; 4 x 3500MHz; titan0, supercop-20241022

[Page version: 20241120 00:41:23]

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.550.560.56chacha8
0.620.620.62salsa208
0.740.750.75T:aes128ctr
0.70?0.77?0.93?chacha12
0.76?0.78?0.85?tango642
0.870.870.88salsa2012
0.89?0.96?1.00?T:aes192ctr
0.990.991.00aes256ctr
1.041.041.04T:speck6496ctr
1.071.081.08T:speck64128ctr
1.201.211.22chacha20
1.251.261.28T:speck128128ctr
1.291.301.31T:speck128192ctr
1.331.341.34T:speck128256ctr
1.17?1.37?2.17?xsalsa20
1.381.381.39salsa20
1.531.541.54T:simon6496ctr
1.591.591.60T:simon64128ctr
1.911.921.92T:trivium
2.092.112.16T:hc128
2.272.302.31T:simon128128ctr
2.412.452.50T:tpy
2.432.502.57T:simon128256ctr
2.502.522.55T:hc256
2.522.552.60T:cryptmtv3
2.582.592.61T:sosemanuk
2.612.672.72T:tpy6
2.722.762.79T:nlsv2
3.063.093.10T:rabbit
3.153.203.25T:panama
3.323.353.37T:snow20
3.663.783.81T:tpypy
4.484.494.50T:lexv2
9.089.109.12T:aes128estream
14.3414.3714.40T:aes256estream
17.8918.2319.35T:ocelot1
19.1319.4220.31T:ocelot2
30.8931.1132.27T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.570.580.58chacha8
0.640.640.64salsa208
0.790.790.80T:aes128ctr
0.79?0.80?0.91?chacha12
0.890.890.90salsa2012
0.960.971.01tango642
1.051.051.05aes256ctr
1.081.081.08T:speck6496ctr
1.121.121.12T:speck64128ctr
1.231.231.24chacha20
1.311.311.32T:speck128128ctr
1.331.331.36T:aes192ctr
1.341.351.35T:speck128192ctr
1.381.381.39T:speck128256ctr
1.401.401.40salsa20
1.50?1.50?2.10?xsalsa20
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.902.902.91T:nlsv2
2.952.963.01T:simon128256ctr
3.043.063.06T:cryptmtv3
3.183.193.19T:rabbit
3.363.393.41T:tpy6
3.443.463.46T:snow20
3.963.974.00T:tpy
4.154.174.19T:panama
4.614.624.63T:lexv2
5.315.355.37T:tpypy
5.415.415.43T:hc128
9.159.159.17T:aes128estream
11.1611.1711.18T:hc256
14.4614.4714.49T:aes256estream
19.3819.4420.23T:ocelot1
20.5520.6321.26T:ocelot2
32.8632.9733.81T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.610.610.62chacha8
0.670.670.68salsa208
0.83?0.84?1.00?chacha12
0.870.870.88T:aes128ctr
0.920.930.93salsa2012
1.141.141.15aes256ctr
1.151.151.15T:speck6496ctr
1.181.191.19T:speck64128ctr
1.261.271.28chacha20
1.251.291.31tango642
1.381.391.40T:speck128128ctr
1.421.431.43T:speck128192ctr
1.431.441.44salsa20
1.461.471.47T:speck128256ctr
1.70?1.70?2.30?xsalsa20
1.941.951.98T:aes192ctr
2.072.072.08T:simon6496ctr
2.192.192.20T:trivium
2.482.482.49T:simon64128ctr
3.053.053.06T:simon128128ctr
3.163.203.23T:nlsv2
3.353.363.37T:rabbit
3.383.393.41T:sosemanuk
3.623.633.65T:snow20
3.713.733.82T:simon128256ctr
4.364.464.47T:cryptmtv3
4.374.564.57T:tpy6
4.834.844.85T:lexv2
5.705.785.82T:panama
6.636.656.69T:tpy
7.787.827.89T:tpypy
9.239.259.25T:aes128estream
10.8510.8710.95T:hc128
14.6314.6414.69T:aes256estream
21.4421.5222.21T:ocelot1
22.6622.7223.27T:ocelot2
25.5525.5925.61T:hc256
36.1336.2436.42T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.850.860.88chacha8
0.950.960.97salsa208
1.161.161.17T:aes128ctr
1.17?1.19?1.32?chacha12
1.301.311.31salsa2012
1.401.401.41T:speck6496ctr
1.441.451.46T:speck64128ctr
1.501.511.51aes256ctr
1.691.701.71T:speck128128ctr
1.731.741.75T:speck128192ctr
1.771.781.79chacha20
1.781.791.79T:speck128256ctr
1.981.992.06salsa20
2.082.122.14tango642
2.622.632.64T:trivium
2.70?2.72?3.23?xsalsa20
3.593.613.63T:aes192ctr
3.643.643.64T:simon64128ctr
3.643.643.66T:simon6496ctr
3.813.833.84T:rabbit
3.893.914.13T:nlsv2
4.084.114.13T:snow20
4.774.804.84T:sosemanuk
4.785.015.03T:cryptmtv3
5.345.355.36T:simon128128ctr
5.475.485.50T:lexv2
5.795.805.84T:simon128256ctr
7.737.888.00T:tpy6
9.509.539.54T:aes128estream
10.0810.1410.19T:panama
13.4913.6613.76T:tpy
14.6014.6514.75T:tpypy
15.0215.0515.06T:aes256estream
25.3025.3625.42T:hc128
26.4926.6627.38T:ocelot1
27.6727.8828.23T:ocelot2
42.6442.9743.23T:amastrid
63.8963.9764.03T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.453.473.48chacha8
3.813.843.92salsa208
4.224.224.22T:speck64128ctr
4.234.274.36T:speck6496ctr
4.474.504.52chacha12
4.504.524.55T:aes128ctr
4.864.894.98T:speck128192ctr
4.864.914.91salsa2012
4.915.025.16T:speck128128ctr
5.175.225.39T:speck128256ctr
5.485.525.66aes256ctr
6.256.306.38chacha20
6.987.097.42salsa20
8.258.288.36T:trivium
8.478.528.53T:simon6496ctr
9.429.559.62T:rabbit
9.849.929.97T:simon64128ctr
9.8410.0610.36T:snow20
10.44?12.42?12.53?T:cryptmtv3
12.4712.5212.66tango642
13.2513.2813.34T:simon128128ctr
13.2313.3113.38T:aes128estream
13.4413.5213.56xsalsa20
13.5213.5913.66T:lexv2
14.9815.0815.20T:nlsv2
15.3815.4715.53T:simon128256ctr
20.4520.5220.67T:sosemanuk
20.5620.6920.77T:aes256estream
24.4824.6724.81T:aes192ctr
48.0048.2749.48T:tpy6
65.4465.7066.02T:panama
90.5992.8394.22T:ocelot1
92.0693.0694.14T:ocelot2
101.61102.19102.67T:tpypy
103.22103.73104.30T:tpy
122.83123.98124.97T:amastrid
205.42205.84206.78T:hc128
553.62554.45555.16T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
19.1219.5019.88T:speck6496ctr
22.5022.5022.62T:speck128128ctr
23.2523.3824.12T:speck128256ctr
23.2523.7524.12T:speck64128ctr
25.5025.5027.12T:speck128192ctr
35.1235.3835.62T:aes128ctr
40.8841.0041.25chacha8
43.2543.6244.88aes256ctr
45.3845.7545.88salsa208
51.1251.2551.50chacha12
51.6252.5055.00chacha20
52.5052.8853.50T:trivium
52.5053.1253.62T:simon6496ctr
55.0055.8856.25salsa2012
58.1258.6259.38T:rabbit
59.7560.0060.25T:aes128estream
61.3862.1263.12salsa20
62.8862.8863.38T:simon64128ctr
61.38?79.00?81.50?T:cryptmtv3
79.2579.5080.62T:simon128128ctr
78.5080.2581.75T:snow20
79.7580.5081.25T:lexv2
80.3880.5081.12T:aes256estream
81.3882.2583.25T:nlsv2
90.0090.6292.62T:simon128256ctr
96.0096.5097.00tango642
113.62115.12117.62xsalsa20
164.00164.88169.50T:sosemanuk
198.12199.25201.75T:aes192ctr
370.75375.00378.75T:tpy6
515.50517.12522.62T:panama
596.62609.38616.50T:ocelot2
604.88614.12619.00T:ocelot1
791.38804.75808.12T:tpypy
798.75808.38817.88T:tpy
812.00816.62826.12T:amastrid
1646.251651.121657.38T:hc128
4440.624445.884456.25T:hc256