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; Tremont (906c0); 2021 Intel Celeron N4500; 2 x 1100MHz; jasper2, supercop-20240425

[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: (bytes,cycles)
Cycles/byte for long messages
25%50%75%stream
0.450.450.47T:aes192ctr
0.610.630.64T:aes128ctr
0.750.760.77aes256ctr
1.041.051.06tango642
1.301.301.33chacha8
1.851.861.87chacha12
2.002.012.02salsa208
2.172.202.22T:hc128
2.342.362.39T:sosemanuk
2.582.602.61T:cryptmtv3
2.902.912.92salsa2012
2.972.972.99chacha20
3.033.043.06T:speck6496ctr
3.093.143.16T:nlsv2
3.063.143.16T:tpy6
2.93?3.15?3.29?T:hc256
3.153.163.18T:speck64128ctr
3.123.163.22T:tpy
3.193.193.21T:snow20
3.493.513.53T:panama
3.823.863.90T:trivium
4.144.164.18T:rabbit
4.364.374.38T:simon6496ctr
4.534.564.56T:speck128128ctr
4.604.614.62T:simon64128ctr
4.654.684.68T:speck128192ctr
4.714.724.74xsalsa20
4.714.734.74salsa20
4.814.834.84T:speck128256ctr
4.924.944.96T:lexv2
5.245.305.33T:tpypy
6.656.666.67T:simon128128ctr
7.967.987.99T:simon128256ctr
9.599.629.64T:aes128estream
14.4814.5114.56T:aes256estream
20.0220.6521.21T:ocelot1
20.5221.2121.75T:ocelot2
35.5935.9037.76T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.610.620.62T:aes192ctr
0.640.650.65T:aes128ctr
0.780.780.79aes256ctr
1.281.291.29tango642
1.331.331.34chacha8
1.881.881.89chacha12
2.032.032.04salsa208
2.932.932.94salsa2012
2.972.972.99T:sosemanuk
3.003.003.01chacha20
3.073.073.09T:speck6496ctr
3.173.183.19T:cryptmtv3
3.193.203.21T:speck64128ctr
3.273.293.31T:nlsv2
3.303.313.32T:snow20
3.733.743.75T:tpy6
3.994.024.04T:trivium
4.294.304.30T:rabbit
4.544.564.58T:tpy
4.584.594.59T:speck128128ctr
4.594.594.60T:panama
4.624.624.62T:simon6496ctr
4.704.714.71T:speck128192ctr
4.734.754.75salsa20
4.864.864.87T:speck128256ctr
4.884.894.89xsalsa20
4.994.995.00T:simon64128ctr
5.075.085.09T:lexv2
6.586.616.62T:tpypy
6.816.836.83T:hc128
7.027.037.03T:simon128128ctr
8.548.558.55T:simon128256ctr
9.679.699.70T:aes128estream
14.5814.6014.62T:aes256estream
14.8514.9415.01T:hc256
21.8022.1622.44T:ocelot1
22.3122.8023.16T:ocelot2
37.7437.8138.99T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.670.700.71T:aes128ctr
0.830.840.84aes256ctr
0.880.890.90T:aes192ctr
1.361.371.38chacha8
1.671.681.68tango642
1.901.911.93chacha12
2.052.062.07salsa208
2.962.962.98salsa2012
3.043.053.05chacha20
3.123.123.17T:speck6496ctr
3.253.253.27T:speck64128ctr
3.493.503.51T:snow20
3.583.603.71T:nlsv2
4.054.074.08T:sosemanuk
4.264.324.32T:trivium
4.524.534.54T:rabbit
4.624.624.66T:speck128128ctr
4.614.654.65T:cryptmtv3
4.714.724.73T:tpy6
4.744.754.78T:speck128192ctr
4.754.764.80salsa20
4.904.914.93T:speck128256ctr
5.045.055.05T:simon6496ctr
5.145.155.17xsalsa20
5.335.345.35T:lexv2
5.635.645.64T:simon64128ctr
6.376.396.42T:panama
6.866.886.97T:tpy
7.637.647.65T:simon128128ctr
8.648.788.81T:tpypy
9.489.499.51T:simon128256ctr
9.789.839.86T:aes128estream
14.4914.5214.54T:hc128
14.7414.7514.76T:aes256estream
24.1424.2225.16T:ocelot1
25.3625.4125.54T:ocelot2
34.4534.5334.67T:hc256
40.0840.9941.88T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.830.840.86T:aes128ctr
0.991.001.05aes256ctr
1.501.511.52chacha8
1.631.651.66T:aes192ctr
2.102.122.15chacha12
2.282.302.32salsa208
2.732.742.76tango642
3.233.253.29salsa2012
3.253.253.25T:speck6496ctr
3.323.343.37chacha20
3.373.373.39T:speck64128ctr
4.004.014.03T:snow20
4.404.424.44T:nlsv2
4.814.834.84T:speck128128ctr
4.954.964.98T:trivium
4.944.964.99T:speck128192ctr
5.095.115.15T:rabbit
5.105.115.13T:speck128256ctr
5.125.155.18salsa20
5.385.385.39T:cryptmtv3
5.985.996.05T:lexv2
6.196.206.23xsalsa20
6.876.896.92T:sosemanuk
7.077.087.09T:simon6496ctr
7.407.447.58T:tpy6
9.579.589.59T:simon64128ctr
10.0810.1410.16T:aes128estream
11.1811.2211.28T:panama
11.8511.8611.91T:simon128128ctr
13.0213.1813.21T:tpy
14.4914.6214.67T:tpypy
15.0215.0515.12T:aes256estream
17.3517.4217.60T:simon128256ctr
30.4330.5531.30T:ocelot1
30.8731.1132.34T:ocelot2
35.0635.0935.28T:hc128
46.6949.4549.83T:amastrid
86.9487.4387.65T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.62?2.67?3.12?T:aes128ctr
2.702.722.73chacha8
3.02?3.11?3.72?aes256ctr
3.693.803.86chacha12
4.444.454.45salsa208
4.975.005.05T:speck6496ctr
5.035.085.19T:speck64128ctr
5.755.785.80chacha20
5.845.845.84salsa2012
7.177.257.47T:speck128128ctr
7.237.347.48T:speck128192ctr
7.507.557.69T:speck128256ctr
8.628.758.77salsa20
10.1910.2510.34T:snow20
11.1111.1611.28T:aes192ctr
12.6212.6612.80T:rabbit
13.2713.2813.39T:simon6496ctr
13.6613.7513.92T:trivium
13.4814.0014.00T:cryptmtv3
13.8314.0014.11T:aes128estream
14.0814.1714.34T:lexv2
14.7314.8015.00T:simon64128ctr
16.2016.3116.33tango642
16.7817.1217.27T:nlsv2
18.1918.2818.34xsalsa20
19.6119.8420.02T:aes256estream
21.5021.5521.69T:simon128128ctr
25.6926.0526.61T:simon128256ctr
39.1439.2539.48T:sosemanuk
41.4441.5341.80T:tpy6
72.2272.3873.17T:panama
89.3689.6790.23T:tpypy
91.5692.5392.75T:tpy
110.17110.36110.55T:ocelot1
110.44110.61111.33T:ocelot2
134.84135.30136.41T:amastrid
298.39298.80299.41T:hc128
753.86754.08758.78T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
20.5020.6220.75T:aes128ctr
23.50?23.75?26.50?chacha8
24.1224.3825.12aes256ctr
24.25?24.38?30.00?T:speck6496ctr
28.50?28.88?32.25?T:speck128192ctr
28.75?29.12?32.88?T:speck128128ctr
28.88?29.50?32.25?T:speck128256ctr
31.6231.6234.88chacha12
32.0033.3835.00T:speck64128ctr
43.0043.1243.12salsa208
48.0050.1251.12chacha20
57.3857.8858.75salsa2012
61.5062.1262.38T:simon6496ctr
64.2565.2565.50T:aes128estream
70.7571.6272.00T:simon64128ctr
70.7572.0073.25T:aes256estream
77.0077.7578.62T:rabbit
81.1282.1284.00T:snow20
81.7582.6283.75T:trivium
83.2584.5086.12T:lexv2
84.2584.6284.88T:cryptmtv3
86.1287.0090.62T:aes192ctr
85.7587.2588.62salsa20
93.7594.8895.00T:nlsv2
109.75115.75118.88T:simon128128ctr
122.12122.25125.88tango642
130.25131.62134.00T:simon128256ctr
163.50164.12164.62xsalsa20
306.88310.00311.88T:tpy6
311.88314.25315.12T:sosemanuk
564.12568.00572.25T:panama
676.88682.38684.75T:tpypy
712.00719.50720.38T:tpy
736.88738.75750.25T:ocelot2
740.88753.38756.25T:ocelot1
887.38892.38896.00T:amastrid
2381.882387.002393.50T:hc128
6058.386069.256121.62T:hc256