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; Gracemont (906a4-20); 2022 Intel Core i3-1215U, E cores; 4 x 1600MHz; alder2,1f626960,3300000, supercop-20240909

[Page version: 20241006 02:11:59]

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.390.400.41T:aes192ctr
0.510.520.53T:aes128ctr
0.570.580.58aes256ctr
0.670.700.71tango642
0.930.940.95chacha8
1.131.151.15salsa208
1.281.301.31chacha12
1.311.331.36T:hc128
1.601.621.63salsa2012
1.871.901.93T:hc256
1.921.962.00T:nlsv2
1.971.982.00T:speck6496ctr
2.002.012.07T:sosemanuk
2.002.022.03chacha20
2.052.062.08T:cryptmtv3
2.062.062.08T:speck64128ctr
2.00?2.11?2.40?T:panama
2.05?2.13?2.29?T:snow20
2.272.332.37T:tpy
2.302.412.45T:tpy6
2.422.432.44T:speck128128ctr
2.442.452.45T:trivium
2.492.502.51T:speck128192ctr
2.552.562.57salsa20
2.562.572.59T:speck128256ctr
2.572.592.62xsalsa20
2.922.932.94T:simon6496ctr
2.742.962.98T:rabbit
3.063.083.09T:simon64128ctr
3.20?3.28?3.59?T:tpypy
3.683.703.71T:lexv2
4.464.474.49T:simon128128ctr
4.694.714.73T:simon128256ctr
7.457.477.49T:aes128estream
11.2611.3711.40T:aes256estream
16.4516.7617.67T:ocelot2
16.8717.3917.58T:ocelot1
27.3528.6129.63T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.530.530.54T:aes192ctr
0.540.540.54T:aes128ctr
0.600.600.60aes256ctr
0.850.880.88tango642
0.950.950.95chacha8
1.151.161.16salsa208
1.301.311.32chacha12
1.621.631.64salsa2012
2.002.012.02T:speck6496ctr
2.022.032.03chacha20
2.042.072.10T:nlsv2
2.092.092.10T:speck64128ctr
2.172.202.31T:snow20
2.272.272.31T:sosemanuk
2.462.472.48T:speck128128ctr
2.532.532.55T:speck128192ctr
2.542.542.54T:trivium
2.582.582.59salsa20
2.612.612.63T:speck128256ctr
2.622.622.63T:cryptmtv3
2.682.692.70xsalsa20
2.792.803.00T:panama
2.922.982.99T:tpy6
2.862.993.00T:rabbit
3.063.073.07T:simon6496ctr
3.263.263.27T:simon64128ctr
3.583.613.62T:tpy
3.793.803.80T:lexv2
4.094.104.11T:hc128
4.664.674.68T:simon128128ctr
4.834.855.07T:tpypy
5.005.015.02T:simon128256ctr
7.537.547.55T:aes128estream
8.558.568.58T:hc256
11.3411.3511.36T:aes256estream
17.7717.9618.61T:ocelot2
18.3018.6418.73T:ocelot1
29.1529.9630.66T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.570.580.58T:aes128ctr
0.620.620.63aes256ctr
0.730.740.75T:aes192ctr
0.950.960.98chacha8
1.161.161.17salsa208
1.161.171.18tango642
1.311.321.32chacha12
1.641.651.66salsa2012
2.032.042.05chacha20
2.052.052.07T:speck6496ctr
2.132.132.13T:speck64128ctr
2.302.312.37T:nlsv2
2.252.322.38T:snow20
2.532.532.54T:speck128128ctr
2.592.602.60T:speck128192ctr
2.602.632.64salsa20
2.682.682.69T:speck128256ctr
2.712.712.71T:trivium
2.752.762.77T:sosemanuk
2.842.852.87xsalsa20
2.952.963.14T:rabbit
3.283.293.30T:simon6496ctr
3.573.583.59T:simon64128ctr
3.913.924.21T:panama
3.923.933.94T:cryptmtv3
3.963.963.98T:lexv2
3.964.004.05T:tpy6
5.005.015.01T:simon128128ctr
5.505.515.53T:simon128256ctr
5.725.765.79T:tpy
7.007.457.50T:tpypy
7.627.637.65T:aes128estream
8.678.718.73T:hc128
11.1611.1811.43T:aes256estream
19.6819.7019.73T:hc256
19.5119.8920.01T:ocelot2
20.1820.2920.33T:ocelot1
31.0031.5532.10T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.890.920.93T:aes128ctr
1.041.051.12aes256ctr
1.071.081.10chacha8
1.311.341.39T:aes192ctr
1.321.341.36salsa208
1.491.511.53chacha12
1.851.891.91salsa2012
1.961.961.99tango642
2.212.222.23T:speck6496ctr
2.292.312.33T:speck64128ctr
2.362.372.38chacha20
2.602.652.72T:snow20
2.752.762.77T:speck128128ctr
2.842.852.88T:speck128192ctr
2.932.942.95T:speck128256ctr
2.982.993.02salsa20
3.023.063.08T:nlsv2
3.133.143.17T:trivium
3.313.333.48T:rabbit
3.583.613.64xsalsa20
4.034.054.06T:sosemanuk
4.364.374.44T:lexv2
4.504.524.56T:simon6496ctr
4.684.694.70T:cryptmtv3
5.045.055.07T:simon64128ctr
6.496.526.59T:tpy6
6.786.836.88T:simon128128ctr
6.836.867.46T:panama
7.887.907.93T:aes128estream
9.669.699.72T:simon128256ctr
11.2211.3311.51T:tpy
11.4911.5711.75T:aes256estream
12.8913.7514.21T:tpypy
20.9721.0021.06T:hc128
25.1625.4425.81T:ocelot2
25.7625.8826.51T:ocelot1
37.3637.5337.97T:amastrid
49.2449.2849.35T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
2.382.442.47chacha8
2.972.982.98salsa208
3.303.333.38chacha12
3.974.084.17T:aes128ctr
4.064.084.09salsa2012
4.024.114.20T:speck6496ctr
4.174.334.47T:speck64128ctr
4.81?4.84?5.55?aes256ctr
5.125.195.23chacha20
5.475.505.52T:speck128128ctr
5.585.615.66T:speck128192ctr
5.865.896.00T:speck128256ctr
6.316.316.31salsa20
7.197.257.31T:snow20
7.457.597.78T:rabbit
8.708.728.75T:trivium
8.848.959.30T:simon6496ctr
9.059.209.45T:simon64128ctr
8.959.229.48T:aes192ctr
9.779.9110.30T:lexv2
10.7510.8811.02T:aes128estream
11.7311.8111.91xsalsa20
11.9211.9812.69tango642
11.9212.0212.12T:cryptmtv3
13.3313.4713.62T:simon128128ctr
14.5514.8114.98T:nlsv2
15.0515.1115.23T:simon128256ctr
15.0515.6616.14T:aes256estream
18.9119.0919.17T:sosemanuk
39.3941.8342.25T:tpy6
44.8144.9745.91T:panama
83.7284.9585.83T:tpypy
86.1488.5889.27T:tpy
95.5397.6698.69T:ocelot2
97.6298.5299.69T:ocelot1
105.77106.61107.25T:amastrid
178.12178.48178.97T:hc128
427.44428.16428.84T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
15.75?16.25?22.50?T:speck6496ctr
15.00?18.50?20.38?T:aes128ctr
18.88?19.62?23.38?T:speck128256ctr
20.00?20.38?24.25?T:speck128128ctr
19.38?20.62?26.25?T:speck128192ctr
21.25?23.12?24.38?chacha8
26.75?27.00?31.88?aes256ctr
27.8828.2529.62T:speck64128ctr
28.3828.6229.25chacha12
35.0035.7536.75salsa208
36.1236.6237.00T:simon6496ctr
42.6242.8844.25chacha20
43.2543.7544.25T:simon64128ctr
44.0044.5045.38salsa2012
44.6244.8845.25T:aes128estream
44.1245.5048.38T:rabbit
51.7552.0052.25T:trivium
53.6254.1255.50T:lexv2
53.8854.2554.88salsa20
57.25?59.38?63.88?T:aes256estream
56.50?61.25?63.25?T:snow20
73.1274.6277.00T:aes192ctr
74.7575.6276.75T:nlsv2
73.7576.0080.62T:simon128128ctr
77.1277.2577.75T:cryptmtv3
76.8880.7584.00T:simon128256ctr
90.2590.7594.50tango642
100.00100.75102.88xsalsa20
151.12152.38152.75T:sosemanuk
289.88313.62314.25T:tpy6
348.50351.38356.12T:panama
553.00?573.00?664.88?T:tpy
647.88650.38652.25T:tpypy
649.75659.88666.38T:ocelot2
647.12664.88666.38T:ocelot1
692.00696.38701.38T:amastrid
1427.881429.751434.12T:hc128
3419.003422.383429.50T:hc256