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; Coffee Lake (906ea); 2018 Intel Xeon E-2124; 4 x 3300MHz; r24000, supercop-20241011

[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: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.520.530.54chacha8
0.610.620.62salsa208
0.620.630.63T:aes128ctr
0.690.700.71tango642
0.740.740.75chacha12
0.770.790.80T:aes192ctr
0.840.850.85salsa2012
0.870.880.88aes256ctr
1.001.001.01T:speck6496ctr
1.041.041.04T:speck64128ctr
1.161.171.18chacha20
1.231.231.24T:speck128128ctr
1.251.251.26T:speck128192ctr
1.281.291.30T:speck128256ctr
1.331.341.35salsa20
1.341.351.35xsalsa20
1.781.791.80T:hc128
1.831.851.86T:sosemanuk
1.841.861.89T:tpy
1.901.921.94T:trivium
1.992.012.02T:nlsv2
2.142.142.15T:simon128128ctr
2.112.192.23T:tpy6
2.222.232.23T:simon6496ctr
2.242.252.27T:simon128256ctr
2.362.382.39T:simon64128ctr
2.442.472.49T:hc256
2.502.532.57T:cryptmtv3
2.772.792.81T:rabbit
2.792.822.84T:snow20
2.852.862.88T:panama
2.832.892.96T:tpypy
4.094.114.13T:lexv2
8.338.358.37T:aes128estream
13.0213.0513.07T:aes256estream
17.4017.4517.50T:ocelot1
18.3018.3318.38T:ocelot2
33.1434.1635.11T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.550.550.56chacha8
0.640.640.64salsa208
0.680.680.68T:aes128ctr
0.760.770.77chacha12
0.850.850.86tango642
0.870.870.87salsa2012
0.940.940.94aes256ctr
1.041.041.04T:speck6496ctr
1.081.081.08T:speck64128ctr
1.141.151.15T:aes192ctr
1.191.191.20chacha20
1.281.281.28T:speck128128ctr
1.301.311.31T:speck128192ctr
1.341.351.35T:speck128256ctr
1.371.371.38salsa20
1.471.481.48xsalsa20
2.012.012.02T:trivium
2.132.142.14T:nlsv2
2.352.362.36T:sosemanuk
2.392.402.40T:simon128128ctr
2.492.492.49T:simon6496ctr
2.702.702.71T:simon128256ctr
2.722.752.77T:tpy6
2.782.792.79T:simon64128ctr
2.882.892.90T:rabbit
2.892.912.92T:snow20
3.033.053.06T:cryptmtv3
3.243.253.26T:tpy
3.803.803.81T:panama
4.234.244.25T:lexv2
4.264.294.33T:tpypy
4.594.594.60T:hc128
8.418.428.43T:aes128estream
9.689.699.69T:hc256
13.1313.1513.16T:aes256estream
18.4118.4218.45T:ocelot1
19.2719.2719.29T:ocelot2
34.6635.3835.83T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.580.590.60chacha8
0.670.680.68salsa208
0.780.790.79T:aes128ctr
0.800.800.81chacha12
0.910.920.92salsa2012
1.061.061.07aes256ctr
1.101.101.11T:speck6496ctr
1.101.111.12tango642
1.141.141.14T:speck64128ctr
1.221.231.23chacha20
1.351.351.36T:speck128128ctr
1.371.381.39T:speck128192ctr
1.411.411.42T:speck128256ctr
1.411.421.43salsa20
1.691.701.71xsalsa20
1.711.751.78T:aes192ctr
2.182.192.20T:trivium
2.412.422.43T:nlsv2
2.812.822.82T:simon128128ctr
2.922.932.93T:simon6496ctr
3.043.053.07T:snow20
3.033.053.07T:rabbit
3.253.263.28T:sosemanuk
3.413.413.47T:simon64128ctr
3.423.443.45T:simon128256ctr
3.753.793.88T:tpy6
4.394.444.46T:cryptmtv3
4.464.484.50T:lexv2
5.355.365.39T:panama
5.485.555.59T:tpy
6.566.606.65T:tpypy
8.528.538.55T:aes128estream
9.239.249.24T:hc128
13.3113.3613.38T:aes256estream
19.9920.0420.11T:ocelot1
20.8020.8520.91T:ocelot2
21.6721.7021.73T:hc256
36.8637.3837.59T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.820.830.85chacha8
0.960.970.98salsa208
1.081.081.09T:aes128ctr
1.111.111.13chacha12
1.281.301.30salsa2012
1.351.351.36T:speck6496ctr
1.391.391.40T:speck64128ctr
1.441.451.45aes256ctr
1.641.641.65T:speck128128ctr
1.681.681.69T:speck128192ctr
1.691.701.73chacha20
1.721.721.74T:speck128256ctr
1.791.811.83tango642
1.961.971.99salsa20
2.612.632.66T:trivium
2.682.702.72xsalsa20
3.123.143.16T:nlsv2
3.303.343.40T:aes192ctr
3.403.403.41T:simon64128ctr
3.443.463.48T:rabbit
3.463.483.50T:snow20
4.544.544.55T:simon6496ctr
4.824.985.01T:cryptmtv3
4.984.995.00T:simon128128ctr
5.075.085.10T:lexv2
5.365.375.38T:simon128256ctr
5.655.675.70T:sosemanuk
6.416.506.83T:tpy6
8.808.828.85T:aes128estream
9.509.539.62T:panama
11.7111.7811.95T:tpy
12.7312.8612.98T:tpypy
13.7113.7413.78T:aes256estream
21.7221.7321.74T:hc128
24.1824.3024.43T:ocelot1
25.1225.2225.29T:ocelot2
43.1043.4943.68T:amastrid
53.7553.8153.87T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.273.283.38chacha8
3.833.863.94salsa208
3.913.923.97T:speck6496ctr
3.944.004.02T:speck64128ctr
4.234.234.25chacha12
4.484.554.55T:speck128128ctr
4.704.734.77T:aes128ctr
4.814.864.91T:speck128192ctr
4.834.884.92salsa2012
4.864.975.02T:speck128256ctr
6.026.086.09aes256ctr
6.066.096.12chacha20
6.956.986.98salsa20
8.128.178.25T:trivium
8.208.228.30T:rabbit
8.258.288.41T:simon6496ctr
8.698.738.84T:snow20
9.899.9410.09T:simon64128ctr
10.6610.7511.06tango642
10.69?12.27?12.45?T:cryptmtv3
12.6212.7512.81T:aes128estream
12.8913.1113.25T:lexv2
13.3113.5813.58T:simon128128ctr
13.5613.6913.80xsalsa20
14.4414.5314.64T:nlsv2
15.0215.1115.31T:simon128256ctr
19.4419.5919.84T:aes256estream
23.8323.9524.05T:aes192ctr
33.0633.2233.50T:sosemanuk
40.1640.8141.39T:tpy6
62.2262.4763.02T:panama
77.3477.9878.56T:ocelot1
77.3878.6279.41T:ocelot2
90.2790.7891.16T:tpy
92.9493.6293.94T:tpypy
115.53116.67118.00T:amastrid
181.41181.61181.72T:hc128
464.58464.91465.80T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.1221.5021.88T:speck6496ctr
21.2521.6221.88T:speck64128ctr
25.5026.0026.38T:speck128128ctr
26.5027.1228.25T:speck128192ctr
27.2528.0029.62T:speck128256ctr
29.0029.6230.00chacha8
32.3832.7533.38salsa208
36.6236.7537.12T:aes128ctr
38.5038.6238.75chacha12
47.0047.3847.62aes256ctr
49.7550.0050.38T:rabbit
51.7551.8852.38T:simon6496ctr
52.3852.6252.88T:trivium
52.3853.0054.00salsa2012
55.5055.7555.88chacha20
59.2559.6260.12T:aes128estream
63.1263.7564.12salsa20
64.1264.6265.75T:simon64128ctr
69.2570.1271.50T:snow20
65.38?77.38?79.50?T:cryptmtv3
77.1277.7580.12T:lexv2
79.6280.2581.00T:aes256estream
79.7580.5081.12T:nlsv2
80.6280.7581.00T:simon128128ctr
81.1282.0083.00tango642
92.7593.2594.12T:simon128256ctr
115.62116.50118.25xsalsa20
190.50191.50194.00T:aes192ctr
265.25266.62268.50T:sosemanuk
308.12314.75317.38T:tpy6
488.75490.25494.88T:panama
490.12494.88504.75T:ocelot2
493.88499.88510.75T:ocelot1
713.12718.50727.50T:tpy
719.88723.25726.12T:tpypy
747.25750.62753.75T:amastrid
1451.381453.381454.62T:hc128
3720.383722.623726.25T:hc256