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-20241022

[Page version: 20250111 18:45:51]

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.520.53chacha8
0.600.600.61salsa208
0.630.630.63T:aes128ctr
0.690.690.70tango642
0.720.730.73chacha12
0.750.780.80T:aes192ctr
0.850.870.88salsa2012
0.870.870.87aes256ctr
0.991.001.01T:speck6496ctr
1.031.041.04T:speck64128ctr
1.131.141.15chacha20
1.231.231.24T:speck128128ctr
1.261.271.28T:speck128192ctr
1.291.291.30T:speck128256ctr
1.361.371.38xsalsa20
1.361.371.39salsa20
1.671.741.77T:tpy
1.771.781.79T:hc128
1.791.821.85T:sosemanuk
1.871.911.92T:trivium
1.931.982.05T:tpy6
1.992.002.02T:nlsv2
2.152.182.22T:simon128128ctr
2.232.232.24T:simon6496ctr
2.302.322.34T:simon128256ctr
2.362.382.39T:simon64128ctr
2.412.442.48T:cryptmtv3
2.442.472.49T:hc256
2.732.752.77T:snow20
2.752.762.78T:rabbit
2.732.782.83T:tpypy
2.832.842.86T:panama
4.114.134.14T:lexv2
8.328.358.38T:aes128estream
13.0113.0513.10T:aes256estream
16.9317.0917.25T:ocelot1
18.2918.3318.39T:ocelot2
30.2831.7332.37T:amastrid
Cycles/byte for 4096 bytes
25%50%75%stream
0.540.550.55chacha8
0.630.630.63salsa208
0.680.680.68T:aes128ctr
0.750.750.75chacha12
0.850.850.85tango642
0.880.890.90salsa2012
0.940.940.94aes256ctr
1.041.041.04T:speck6496ctr
1.071.081.08T:speck64128ctr
1.141.141.15T:aes192ctr
1.161.161.17chacha20
1.281.281.28T:speck128128ctr
1.311.321.32T:speck128192ctr
1.341.341.34T:speck128256ctr
1.391.401.40salsa20
1.491.491.50xsalsa20
1.982.012.02T:trivium
2.142.142.15T:nlsv2
2.332.342.36T:sosemanuk
2.452.462.48T:simon128128ctr
2.492.492.50T:simon6496ctr
2.522.542.58T:tpy6
2.752.752.76T:simon128256ctr
2.792.792.80T:simon64128ctr
2.852.862.86T:rabbit
2.852.862.87T:snow20
2.932.952.95T:cryptmtv3
3.063.083.09T:tpy
3.793.803.81T:panama
4.074.094.11T:tpypy
4.254.264.27T:lexv2
4.584.584.59T:hc128
8.408.428.43T:aes128estream
9.689.699.69T:hc256
13.1313.1613.18T:aes256estream
18.4218.5118.61T:ocelot1
19.2419.2619.28T:ocelot2
31.9032.9533.22T:amastrid
Cycles/byte for 1536 bytes
25%50%75%stream
0.580.580.59chacha8
0.670.670.68salsa208
0.780.790.79T:aes128ctr
0.780.790.79chacha12
0.920.930.93salsa2012
1.061.071.07aes256ctr
1.101.111.11T:speck6496ctr
1.111.111.12tango642
1.141.141.14T:speck64128ctr
1.191.201.21chacha20
1.351.361.36T:speck128128ctr
1.381.381.39T:speck128192ctr
1.421.421.42T:speck128256ctr
1.411.441.44salsa20
1.691.701.71xsalsa20
1.771.791.80T:aes192ctr
2.182.182.19T:trivium
2.422.422.43T:nlsv2
2.912.912.92T:simon6496ctr
2.882.912.95T:simon128128ctr
3.003.013.02T:rabbit
3.023.033.05T:snow20
3.253.263.29T:sosemanuk
3.463.473.49T:simon128256ctr
3.513.583.66T:tpy6
3.743.743.75T:simon64128ctr
4.284.344.35T:cryptmtv3
4.484.494.51T:lexv2
5.265.275.37T:tpy
5.365.385.41T:panama
6.256.296.38T:tpypy
8.518.538.54T:aes128estream
9.239.239.25T:hc128
13.2613.3013.35T:aes256estream
20.7820.8720.95T:ocelot2
20.8020.9921.06T:ocelot1
21.7021.7221.74T:hc256
34.1135.1735.35T:amastrid
Cycles/byte for 576 bytes
25%50%75%stream
0.820.830.84chacha8
0.940.950.96salsa208
1.081.081.09T:aes128ctr
1.111.111.12chacha12
1.301.311.32salsa2012
1.351.361.38T:speck6496ctr
1.391.401.41T:speck64128ctr
1.441.451.45aes256ctr
1.641.651.65T:speck128128ctr
1.671.681.69chacha20
1.681.691.71T:speck128192ctr
1.731.731.74T:speck128256ctr
1.791.801.84tango642
1.992.002.02salsa20
2.622.642.65T:trivium
2.682.712.73xsalsa20
3.163.163.19T:nlsv2
3.393.403.42T:rabbit
3.393.403.42T:simon64128ctr
3.443.463.50T:snow20
3.433.493.52T:aes192ctr
4.534.544.56T:simon6496ctr
4.704.864.87T:cryptmtv3
4.954.954.97T:simon128128ctr
5.055.095.10T:lexv2
5.355.375.38T:simon128256ctr
5.675.705.80T:sosemanuk
6.076.146.22T:tpy6
8.828.868.90T:aes128estream
9.529.569.65T:panama
11.3911.4511.55T:tpy
12.1712.3312.38T:tpypy
13.7413.7813.88T:aes256estream
21.7221.7321.76T:hc128
24.9225.0825.26T:ocelot2
27.1427.2427.36T:ocelot1
39.9940.2741.08T:amastrid
53.7853.8353.91T:hc256
Cycles/byte for 64 bytes
25%50%75%stream
3.343.343.36chacha8
3.803.833.86salsa208
3.863.913.94T:speck6496ctr
3.914.004.03T:speck64128ctr
4.274.284.33chacha12
4.484.554.56T:speck128128ctr
4.734.734.77T:aes128ctr
4.804.914.94T:speck128192ctr
4.884.924.95salsa2012
4.884.975.05T:speck128256ctr
5.986.086.09aes256ctr
6.096.146.20chacha20
6.987.007.09salsa20
8.128.168.20T:rabbit
8.178.238.27T:trivium
8.228.278.30T:simon6496ctr
8.868.959.12T:snow20
9.839.9210.00T:simon64128ctr
10.6610.7511.06tango642
10.59?12.19?12.22?T:cryptmtv3
12.7212.8813.41T:aes128estream
12.6212.9113.08T:lexv2
13.1413.1913.25T:simon128128ctr
13.6413.7313.88xsalsa20
14.5014.5814.66T:nlsv2
14.8814.8815.00T:simon128256ctr
19.4719.6120.02T:aes256estream
23.7023.8324.11T:aes192ctr
33.4833.8434.86T:sosemanuk
38.2338.5939.31T:tpy6
62.3162.5262.98T:panama
77.3678.0378.78T:ocelot2
87.9588.7889.19T:tpy
88.8089.6990.00T:tpypy
103.22104.09104.69T:ocelot1
112.70113.42114.45T:amastrid
181.44181.55181.73T:hc128
464.73465.14465.66T:hc256
Cycles/byte for 8 bytes
25%50%75%stream
21.2521.6221.88T:speck64128ctr
21.25?21.62?24.12?T:speck6496ctr
25.3826.0027.12T:speck128128ctr
26.1226.5027.12T:speck128192ctr
26.1226.6228.75T:speck128256ctr
36.5036.6236.75T:aes128ctr
38.5038.8839.00chacha8
42.0042.5043.00salsa208
42.0042.6243.12salsa2012
47.0047.3847.62aes256ctr
48.0048.3848.75chacha12
49.7550.1250.50T:rabbit
51.7552.0052.62T:simon6496ctr
52.7553.0053.38T:trivium
58.5058.8859.38T:aes128estream
63.2563.8864.62chacha20
64.2564.7565.38T:simon64128ctr
70.7571.7572.62T:snow20
76.3876.7577.50T:lexv2
64.50?76.88?77.62?T:cryptmtv3
77.1277.1278.50T:simon128128ctr
79.1279.5080.00T:aes256estream
79.8880.6282.12T:nlsv2
80.8882.2585.38tango642
81.8882.5083.38salsa20
90.7590.8892.25T:simon128256ctr
134.88135.62137.00xsalsa20
189.50190.88192.50T:aes192ctr
268.50270.25278.12T:sosemanuk
296.50302.25305.62T:tpy6
489.50491.50494.50T:panama
496.25502.25507.12T:ocelot2
692.12697.38699.25T:tpypy
702.25707.00713.88T:tpy
708.25712.75716.00T:ocelot1
753.75759.12767.38T:amastrid
1451.001453.251455.00T:hc128
3716.883722.003725.62T:hc256