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 (806ea); 2018 Intel Core i3-8109U; 2 x 3000MHz; like, supercop-20250307

[Page version: 20250326 01:56:40]

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.530.540.54chacha8
0.590.600.60salsa208
0.620.620.63T:aes128ctr
0.670.690.69tango642
0.740.750.76chacha12
0.740.750.76T:aes192ctr
0.840.840.85salsa2012
0.880.880.88aes256ctr
1.001.001.01T:speck6496ctr
1.031.041.04T:speck64128ctr
1.191.201.21chacha20
1.211.221.23T:speck128128ctr
1.251.261.26T:speck128192ctr
1.281.291.30T:speck128256ctr
1.321.331.35salsa20
1.331.341.35xsalsa20
1.431.441.46T:simon6496ctr
1.511.521.53T:simon64128ctr
1.531.551.56T:hc128
1.931.931.94T:trivium
2.182.202.21T:simon128128ctr
2.342.352.36T:simon128256ctr
2.352.382.41T:hc256
2.472.492.50T:sosemanuk
2.492.552.57T:nlsv2
2.572.582.60T:cryptmtv3
2.652.692.74T:tpy
2.732.752.76T:rabbit
2.732.792.88T:tpy6
2.792.802.82T:snow20
2.892.912.95T:panama
4.084.094.11T:lexv2
4.134.284.37T:tpypy
8.348.368.38T:aes128estream
12.7812.8112.83T:aes256estream
17.5517.6517.71T:ocelot1
17.9318.2419.17T:ocelot2
31.3031.9532.20T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.560.560.56chacha8
0.620.620.62salsa208
0.680.680.68T:aes128ctr
0.770.770.78chacha12
0.840.850.86tango642
0.860.870.87salsa2012
0.900.900.90T:aes192ctr
0.940.940.94aes256ctr
1.041.041.04T:speck6496ctr
1.071.081.08T:speck64128ctr
1.221.221.22chacha20
1.281.281.28T:speck128128ctr
1.301.301.31T:speck128192ctr
1.341.341.34T:speck128256ctr
1.351.361.37salsa20
1.451.461.46xsalsa20
1.641.651.66T:simon6496ctr
1.791.801.80T:simon64128ctr
2.032.032.03T:trivium
2.472.472.48T:simon128128ctr
2.662.672.68T:nlsv2
2.742.742.75T:sosemanuk
2.792.792.80T:simon128256ctr
2.832.852.85T:rabbit
2.912.912.92T:snow20
3.083.093.10T:cryptmtv3
3.423.463.49T:tpy6
3.863.863.88T:panama
4.044.064.08T:tpy
4.224.234.24T:lexv2
4.594.604.60T:hc128
5.495.605.64T:tpypy
8.418.428.43T:aes128estream
9.789.799.80T:hc256
12.8812.8912.90T:aes256estream
18.9819.0419.07T:ocelot1
19.6319.6520.33T:ocelot2
32.8433.2933.34T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.590.600.60chacha8
0.650.660.66salsa208
0.770.770.78T:aes128ctr
0.800.810.81chacha12
0.900.900.91salsa2012
1.051.071.07aes256ctr
1.101.101.11T:speck6496ctr
1.121.131.15tango642
1.131.141.15T:speck64128ctr
1.141.151.15T:aes192ctr
1.241.261.27chacha20
1.361.361.37T:speck128128ctr
1.371.381.39T:speck128192ctr
1.391.401.41salsa20
1.401.411.41T:speck128256ctr
1.651.651.66xsalsa20
1.961.981.99T:simon6496ctr
2.202.202.21T:trivium
2.262.272.27T:simon64128ctr
2.882.892.92T:simon128128ctr
3.003.013.02T:rabbit
2.973.023.04T:nlsv2
3.083.093.10T:snow20
3.203.213.23T:sosemanuk
3.533.533.54T:simon128256ctr
4.424.444.45T:cryptmtv3
4.444.464.47T:lexv2
4.454.484.52T:tpy6
5.435.465.48T:panama
6.266.296.33T:tpy
7.817.998.04T:tpypy
8.508.518.53T:aes128estream
9.639.669.69T:hc128
13.0113.0313.04T:aes256estream
21.3821.4221.48T:ocelot1
21.9722.0722.72T:ocelot2
22.1122.1222.14T:hc256
34.7334.8535.43T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.840.840.85chacha8
0.930.940.96salsa208
1.081.091.09T:aes128ctr
1.121.121.13chacha12
1.261.271.29salsa2012
1.361.361.37T:speck6496ctr
1.391.401.41T:speck64128ctr
1.441.441.44aes256ctr
1.661.671.67T:speck128192ctr
1.681.681.72T:speck128128ctr
1.691.701.72T:speck128256ctr
1.721.731.75chacha20
1.791.801.82T:aes192ctr
1.871.891.95tango642
1.931.961.99salsa20
2.622.642.66xsalsa20
2.632.642.66T:trivium
3.393.403.42T:simon6496ctr
3.433.453.48T:simon64128ctr
3.443.453.47T:rabbit
3.533.553.58T:snow20
3.703.753.99T:nlsv2
4.534.554.59T:sosemanuk
4.984.985.00T:cryptmtv3
5.075.105.12T:lexv2
5.105.115.12T:simon128128ctr
5.475.495.53T:simon128256ctr
7.317.377.41T:tpy6
8.808.838.87T:aes128estream
9.609.699.82T:panama
12.3512.4112.48T:tpy
13.3913.4413.47T:aes256estream
13.6913.7313.81T:tpypy
23.1923.2423.28T:hc128
27.6027.6927.81T:ocelot1
27.8428.0628.99T:ocelot2
40.5140.9641.30T:amastrid
55.0255.0755.16T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.303.333.36chacha8
3.803.833.86salsa208
4.024.084.12T:speck6496ctr
4.204.234.25chacha12
4.164.274.38T:speck64128ctr
4.704.704.73T:aes128ctr
4.834.894.95T:speck128256ctr
4.884.914.95salsa2012
4.924.985.14T:speck128192ctr
5.335.365.52T:speck128128ctr
5.835.865.89chacha20
5.895.895.91aes256ctr
7.007.057.08salsa20
7.988.088.31T:simon6496ctr
8.198.238.33T:trivium
8.698.818.91T:rabbit
8.918.979.09T:simon64128ctr
9.199.289.36T:snow20
10.2010.3110.41T:aes192ctr
11.4411.5311.67tango642
11.5811.9512.06T:cryptmtv3
12.5612.6612.73T:aes128estream
12.8112.8913.03T:simon128128ctr
12.8112.9113.23T:lexv2
13.1713.2013.33xsalsa20
14.2314.3814.47T:simon128256ctr
15.9716.0916.20T:nlsv2
18.4118.5318.61T:aes256estream
19.8820.0020.16T:sosemanuk
43.9844.1244.23T:tpy6
62.5062.6163.28T:panama
89.4590.2591.03T:tpy
90.2090.7092.28T:tpypy
106.25107.02107.44T:ocelot1
107.05107.56110.62T:ocelot2
113.12116.92117.62T:amastrid
194.95195.31195.59T:hc128
476.02476.45477.31T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
22.3822.7524.12T:speck6496ctr
27.8828.5030.38T:speck128128ctr
28.8829.0030.00T:speck64128ctr
28.8829.5030.62T:speck128192ctr
36.6236.6237.00T:aes128ctr
37.1237.3837.62chacha8
38.5039.0039.62T:speck128256ctr
40.6241.0041.25salsa208
46.3846.6247.12aes256ctr
46.5046.7547.62chacha12
47.5047.8848.75chacha20
49.5050.0050.38salsa2012
51.0051.6252.25T:simon6496ctr
52.3852.6254.00T:trivium
54.6255.1255.62T:rabbit
57.3857.7558.25T:simon64128ctr
58.8859.2559.50T:aes128estream
67.6268.1268.50salsa20
71.0071.3871.88T:aes256estream
72.8873.3874.62T:snow20
71.8874.0075.12T:cryptmtv3
77.3877.8878.62T:lexv2
78.6279.0079.75T:simon128128ctr
78.8880.1280.75T:aes192ctr
79.6280.5081.12T:nlsv2
87.8888.5089.00tango642
90.1290.7591.62T:simon128256ctr
116.25117.12118.25xsalsa20
157.38158.62160.38T:sosemanuk
330.12331.50338.00T:tpy6
490.50491.88496.38T:panama
689.12691.88694.75T:tpypy
689.62697.38702.62T:tpy
718.25727.00734.50T:ocelot1
722.75730.38750.62T:ocelot2
778.12780.50783.12T:amastrid
1558.751560.501562.12T:hc128
3812.253814.503822.00T:hc256