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; Kaby Lake (806e9); 2017 Intel Core i3-7100; 2 x 2400MHz; whosthere, supercop-20221122

[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.540.54chacha8
0.590.600.61salsa208
0.620.620.63T:aes128ctr
0.740.750.75T:aes192ctr
0.67?0.76?1.07?chacha12
0.840.850.86salsa2012
0.870.870.88aes256ctr
0.880.890.90tango642
1.001.001.01T:speck6496ctr
1.021.031.04T:speck64128ctr
1.161.171.18chacha20
1.221.231.23T:speck128128ctr
1.251.251.26T:speck128192ctr
1.291.301.30T:speck128256ctr
1.331.331.35xsalsa20
1.331.341.34salsa20
1.501.501.52T:simon6496ctr
1.531.561.57T:simon64128ctr
1.781.891.94T:hc128
1.931.941.94T:trivium
2.282.292.31T:simon128128ctr
2.352.372.39T:simon128256ctr
2.462.492.51T:cryptmtv3
2.452.522.54T:nlsv2
2.39?2.61?2.82?T:hc256
2.552.632.70T:tpy
2.562.662.68T:sosemanuk
2.792.822.84T:snow20
2.862.922.99T:tpy6
3.703.733.79T:panama
3.753.753.85T:rabbit
4.064.094.12T:lexv2
4.154.274.35T:tpypy
8.328.358.37T:aes128estream
12.7612.7812.80T:aes256estream
38.3638.4438.46T:ocelot1
39.6039.6441.02T:ocelot2
46.36?46.49?52.03?T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.550.560.56chacha8
0.620.630.63salsa208
0.680.680.68T:aes128ctr
0.77?0.78?1.01?chacha12
0.870.870.88salsa2012
0.940.940.94aes256ctr
1.031.041.04T:speck6496ctr
1.031.041.04tango642
1.071.071.08T:speck64128ctr
1.191.201.20chacha20
1.241.241.24T:aes192ctr
1.271.281.28T:speck128128ctr
1.291.301.30T:speck128192ctr
1.341.341.34T:speck128256ctr
1.351.361.36salsa20
1.451.451.46xsalsa20
1.681.691.69T:simon6496ctr
1.811.831.84T:simon64128ctr
2.032.042.04T:trivium
2.532.532.55T:simon128128ctr
2.632.672.68T:nlsv2
2.812.812.83T:simon128256ctr
2.902.912.92T:snow20
2.882.942.97T:sosemanuk
3.003.003.01T:cryptmtv3
3.513.543.59T:tpy6
3.853.853.85T:rabbit
3.984.004.04T:tpy
4.224.244.25T:lexv2
4.954.965.00T:panama
4.975.055.07T:hc128
5.555.615.65T:tpypy
8.408.428.43T:aes128estream
10.1410.1610.28T:hc256
12.8612.8712.88T:aes256estream
40.8240.8740.88T:ocelot1
42.0342.0543.05T:ocelot2
50.6650.7254.86T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.590.600.60chacha8
0.660.670.67salsa208
0.770.770.77T:aes128ctr
0.82?0.82?1.05?chacha12
0.910.910.93salsa2012
1.051.051.06aes256ctr
1.091.101.10T:speck6496ctr
1.131.131.14T:speck64128ctr
1.221.231.23chacha20
1.281.281.29tango642
1.351.351.36T:speck128128ctr
1.361.371.37T:speck128192ctr
1.391.401.41salsa20
1.401.411.41T:speck128256ctr
1.651.661.67xsalsa20
1.971.981.99T:simon6496ctr
2.062.062.07T:aes192ctr
2.212.212.22T:trivium
2.272.292.29T:simon64128ctr
2.922.932.94T:simon128128ctr
2.983.023.04T:nlsv2
3.043.063.08T:snow20
3.473.513.52T:sosemanuk
3.543.553.57T:simon128256ctr
4.024.024.02T:rabbit
4.344.374.39T:cryptmtv3
4.454.474.49T:lexv2
4.544.574.62T:tpy6
6.316.336.36T:tpy
6.997.007.07T:panama
7.817.897.93T:tpypy
8.508.528.54T:aes128estream
10.2510.2710.34T:hc128
12.9913.0113.02T:aes256estream
22.7022.7423.11T:hc256
44.8844.9245.07T:ocelot1
45.9846.0547.16T:ocelot2
59.5159.6360.16T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.850.860.86chacha8
0.970.980.98salsa208
1.081.081.08T:aes128ctr
1.14?1.16?1.34?chacha12
1.311.321.35salsa2012
1.351.351.36T:speck6496ctr
1.391.401.41T:speck64128ctr
1.431.431.43aes256ctr
1.641.651.67T:speck128192ctr
1.661.671.68T:speck128128ctr
1.691.691.70T:speck128256ctr
1.701.721.73chacha20
1.941.951.97tango642
1.961.971.99salsa20
2.632.642.67T:trivium
2.632.642.66xsalsa20
3.433.443.46T:simon6496ctr
3.443.453.48T:simon64128ctr
3.493.523.55T:snow20
3.893.914.01T:nlsv2
4.244.254.26T:aes192ctr
4.114.464.47T:rabbit
4.864.884.90T:sosemanuk
4.874.984.99T:cryptmtv3
5.105.115.13T:simon128128ctr
5.105.135.16T:lexv2
5.505.505.53T:simon128256ctr
7.217.287.59T:tpy6
8.818.838.88T:aes128estream
12.4012.4512.55T:tpy
12.4712.5012.57T:panama
13.3813.4013.45T:aes256estream
13.6913.8113.96T:tpypy
24.3924.4524.53T:hc128
55.6355.7156.13T:ocelot1
56.0856.4557.39T:hc256
56.5656.7757.05T:ocelot2
71.4971.7372.31T:amastrid
Cycles/byte for 64 bytes
25%50%75%stream
3.363.383.38chacha8
3.843.863.88salsa208
4.054.194.19T:speck6496ctr
4.174.234.31T:speck64128ctr
4.224.274.28chacha12
4.694.704.70T:aes128ctr
4.734.774.86T:speck128192ctr
4.814.884.91T:speck128256ctr
4.884.894.89salsa2012
5.305.425.42T:speck128128ctr
5.785.815.89chacha20
5.895.915.91aes256ctr
7.007.057.08salsa20
7.978.058.12T:simon6496ctr
8.238.318.48T:trivium
8.868.919.03T:simon64128ctr
9.009.149.19T:snow20
9.489.669.75T:rabbit
10.0610.1110.19tango642
11.4212.3312.39T:cryptmtv3
12.6412.7512.86T:aes128estream
12.5612.7712.78T:simon128128ctr
12.9413.0913.48T:lexv2
13.0613.1213.28xsalsa20
14.5314.5914.70T:simon128256ctr
18.3118.3418.42T:nlsv2
18.3418.4518.55T:aes256estream
20.6620.7020.81T:sosemanuk
32.5532.5632.61T:aes192ctr
41.7842.3442.61T:tpy6
81.5581.6181.77T:panama
90.8091.4292.19T:tpy
91.7292.1992.44T:tpypy
191.41191.80192.23T:ocelot1
192.09193.98197.47T:ocelot2
203.66204.52205.78T:hc128
229.48230.28231.08T:amastrid
486.86491.92498.80T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.1222.6223.38T:speck6496ctr
25.8826.3827.25T:speck128192ctr
27.7527.8828.62T:speck128128ctr
29.3829.3829.50T:speck64128ctr
33.6233.7533.88chacha8
35.6236.3837.88T:aes128ctr
36.0036.3836.50salsa208
39.2539.3840.00T:speck128256ctr
44.6245.2545.62salsa2012
45.3845.5046.12aes256ctr
47.1247.5047.88chacha20
50.6251.3851.88chacha12
51.1251.5051.88T:simon6496ctr
53.2553.7555.00T:trivium
56.5057.0057.62T:rabbit
57.3857.7558.00T:simon64128ctr
58.7559.2559.62T:aes128estream
68.5068.7569.38salsa20
71.6272.1273.00T:aes256estream
73.6273.8874.12T:snow20
75.5076.1277.00tango642
69.50?77.12?77.50?T:cryptmtv3
78.1278.1278.62T:simon128128ctr
77.8879.3881.38T:lexv2
89.5090.6292.25T:simon128256ctr
92.1292.2594.62T:nlsv2
117.88118.38119.00xsalsa20
164.25164.62166.25T:sosemanuk
259.25259.75260.25T:aes192ctr
316.75320.25323.00T:tpy6
646.62647.88649.50T:panama
694.00696.88701.38T:tpy
701.25704.25717.75T:tpypy
1266.621269.381273.00T:ocelot2
1275.381283.121308.50T:ocelot1
1561.381563.881568.88T:amastrid
1630.381635.621646.38T:hc128
3882.753905.003965.75T:hc256